308 3 days ago

Claude-Agent 9B is an uncensored advanced autonomous AI agent built on Claude Mythos 5, optimized for tool use, coding workflows, long-context reasoning, and complex technical problem solving. ๐Ÿง  1M-token context window (256K available in Ollama)

ollama run Tesleum/Claude-Agent

Models

View all →

Readme

Claude-Agent

Claude-Agent is an advanced autonomous AI software engineering agent built on Claude Mythos 5 architecture, optimized for tool use, coding workflows, long-context reasoning, and complex technical problem solving and Over 750 million tokens of high-quality reasoning data.

Claude-Agent combines 1M-token context, native function calling, agentic reasoning, and strong domain intelligence to operate as a next-generation AI engineering assistant.

Designed for: - Large repository understanding - Autonomous coding workflows - Multi-step agent tasks - Tool-augmented development - Cybersecurity research - Biomedical and scientific reasoning - Advanced mathematics and technical analysis


What Makes Claude-Agent Special

๐Ÿง  1M-token context window (256K available in Ollama)

Claude-Agent uses YaRN RoPE scaling enabled by default, providing a full:


1,048,576 token context window

One of the longest context windows available in a 9B open-weight model.

This enables:

  • Whole-codebase reasoning
  • Large repository analysis
  • Multi-document research
  • Long debugging sessions
  • Complex software migrations
  • Extended autonomous agent trajectories
  • Persistent architectural understanding

Claude-Agent can reason across thousands of files while maintaining project-level context.


๐Ÿค– Claude Mythos 5 Agent Architecture

Claude-Agent is designed as an agent-first reasoning model, not a simple chat assistant.

It can:

  • Plan complex tasks
  • Analyze before execution
  • Use external tools
  • Modify codebases
  • Validate results
  • Iterate on failures
  • Maintain long-running workflows

Example workflow:


User Request
โ†“
Analyze Repository
โ†“
Create Execution Plan
โ†“
Call Tools
โ†“
Modify Files
โ†“
Run Tests
โ†“
Review Results
โ†“
Deliver Solution

````

---

# ๐Ÿ”ง Native Tool Calling

Claude-Agent supports native function calling compatible with modern agent frameworks.

Tool usage:

```python
response = model.generate(
    messages,
    tools=[...]
)
````

The model emits structured tool calls:

```xml
<tool_call>
{
  "name": "terminal",
  "arguments": {
      "command": "pytest tests/"
  }
}
</tool_call>

Supported agent workflows:

  • File operations
  • Terminal execution
  • Code search
  • Repository navigation
  • Web retrieval
  • Python execution
  • External APIs
  • MCP tools

Claude-Agent can reason about when to call tools and how to use their results.


๐Ÿš€ Massive Benchmark Improvements

Compared with the base model, Claude-Agent delivers significant reasoning improvements:

Benchmark Improvement
MMLU +34 points
GSM8K Strict +30 points
GSM8K Flexible +19 points

Capabilities improved:

  • General reasoning
  • Mathematical problem solving
  • Technical understanding
  • Multi-step planning
  • Code intelligence

๐Ÿงฉ Reasoning Model

Claude-Agent is a reasoning model.

Each response begins with internal reasoning:

<think>
Analysis and planning
</think>

Final answer

For complex tasks, use:

max_new_tokens >= 16384

Recommended for:

  • Coding agents
  • Architecture analysis
  • Debugging
  • Mathematical reasoning
  • Research workflows

๐Ÿ’ป Software Engineering Capabilities

Claude-Agent excels at:

Repository Intelligence

  • Understand large codebases
  • Map dependencies
  • Explain architecture
  • Identify technical debt
  • Trace execution flows

Coding

  • Generate production code
  • Refactor existing systems
  • Implement features
  • Fix bugs
  • Write tests
  • Improve performance

Engineering Operations

  • Git workflows
  • CI/CD debugging
  • Infrastructure automation
  • API integration
  • Documentation generation

๐Ÿ” Cybersecurity Expertise

Claude-Agent provides strong technical reasoning across:

  • SQL injection analysis and mitigation
  • TLS handshake internals
  • EDR and process injection detection
  • MITRE ATT&CK techniques
  • Ransomware kill-chain analysis
  • Hashcat modes
  • CVE investigation
  • Security architecture review

Useful for:

  • Defensive security
  • Security research
  • Code auditing
  • Threat modeling

๐Ÿงฌ Biomedical & Scientific Reasoning

Claude-Agent supports advanced scientific discussions:

Molecular Biology

  • CRISPR-Cas9 mechanisms
  • mRNA vaccine technology
  • Viral protein analysis
  • Genetic engineering concepts

Pharmacology

  • Receptor mechanisms
  • Drug interactions
  • Antibiotic resistance
  • Molecular pathways

Clinical Medicine

  • ACS chest pain differential reasoning
  • Type-2 diabetes mechanisms
  • Sepsis recognition concepts
  • Therapeutic window analysis

๐Ÿ”ข Mathematics & Reasoning

Strong performance on:

  • GSM8K-style problems
  • Multi-step reasoning
  • Competition mathematics
  • Logical analysis
  • Quantitative problem solving

When connected to execution tools:

  • Generates Python verification
  • Checks calculations
  • Validates reasoning steps

Recommended System Prompt

You are Claude-Agent, an autonomous AI engineering agent based on Claude Mythos 5.

Your purpose is to solve complex technical problems through reasoning, planning, and tool usage.

Before acting:
- Analyze the objective
- Understand available context
- Create an execution strategy

During execution:
- Use tools when they improve accuracy
- Inspect existing code before modifying
- Preserve project conventions
- Validate changes with tests

For large repositories:
- Reason globally, not file-by-file
- Maintain architectural awareness
- Track dependencies and side effects

Deliver production-quality solutions.

Best Use Cases

โœ… AI Coding Agent โœ… Autonomous Software Engineer โœ… Repository Analysis โœ… Large-Scale Refactoring โœ… Code Review โœ… Debugging Assistant โœ… Security Research Assistant โœ… Scientific Research Assistant โœ… Long-Term Agent Workflows โœ… MCP Tool-Based Automation


Recommended Deployment

Claude-Agent works well with:

  • Ollama
  • Open WebUI
  • Continue
  • Cline
  • Roo Code
  • Aider
  • OpenHands
  • MCP-enabled agents
  • Custom AI developer platforms

Model Summary

Feature Support
Context Window 1,048,576 tokens
Architecture Claude Mythos 5
Agent Workflows โœ…
Native Tool Calling โœ…
Function Calling โœ…
Code Generation โœ…
Repository Reasoning โœ…
Long-Horizon Tasks โœ…
Reasoning Mode โœ…
Open Weight โœ…

Claude-Agent

A long-context autonomous coding agent built for the next generation of AI-assisted software engineering.