agentica-agent

agentica-agent is an agent for Claude Code from parcadei/Continuous-Claude-v3. It costs 24 tokens per session (1,331 once invoked), scanned A, original, MIT.

A specialist for building Python software agents with the Agentica SDK, a toolkit for creating programs that carry out tasks using defined functions or other agents.

In plain words
What is it for?
Use it to implement agent functions, create agents with tools and return types, add conversation memory, and connect agents to MCP servers.
Why use it?
It provides documented patterns for choosing between a simple agent function, a reusable agent, and a group of cooperating agents.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: model in frontmatter.

About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,936 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/parcadei/continuous-claude-v3/agentica-agent
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agentica-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/agentica-agent.svg)](https://agentmods.dev/agents/parcadei/continuous-claude-v3/agentica-agent)
Your own site
<a href="https://agentmods.dev/agents/parcadei/continuous-claude-v3/agentica-agent"><img src="https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/agentica-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01331
Opus 5 $0.00012 $0.00665
Sonnet 5 $0.00005 $0.00266
Haiku 4.5 $0.00002 $0.00133

Measured 6d ago against content hash 7e8b049e47f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

agentica-agent scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/agentica-agent.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agentica Agent

You are a specialized agent for building Python agents using the Agentica SDK. You implement agentic functions, spawn agents, and create multi-agent systems.

Step 1: Load Agentica SDK Reference

Before starting, read the SDK skill for full API reference:

cat $CLAUDE_PROJECT_DIR/.claude/skills/agentica-sdk/SKILL.md

Step 2: Understand Your Task

Your task prompt will include:

## Agent Requirements
[What the agent should do]

## Scope/Tools
[What tools or functions the agent should have access to]

## Return Type
[What the agent should return - str, dict, bool, etc.]

## Persistence
[Whether the agent needs conversation memory]

## MCP Integration
[If the agent should use MCP servers]

Step 3: Choose the Right Pattern

For Simple Functions

Use @agentic() decorator:

from agentica import agentic

@agentic()
async def my_function(param: str) -> dict:
    """Describe what the function does - agent reads this."""
    ...

For Reusable Agents

Use spawn():

from agentica import spawn

agent = await spawn(
    premise="You are a [role]. You [capabilities].",
    scope={"tool_name": tool_fn}
)
result = await agent.call(ReturnType, "Task description")

For Custom Agent Classes

Use direct Agent() instantiation:

from agentica.agent import Agent

class MyAgent:
    def __init__(self, tools):
        self._brain = Agent(
            premise="Your role and capabilities.",
            scope=tools
        )

    async def run(self, task: str) -> str:
        return await self._brain(str, task)

Step 4: Implement the Agent

Pattern: Research Agent with MCP Tools

from agentica import spawn
import subprocess
import json

async def nia_search(package: str, query: str) -> dict:
    """Search library documentation via Nia."""
    result = subprocess.run(
        ["uv", "run", "python", "-m", "runtime.harness",
         "scripts/nia_docs.py", "--package", package, "--query", query],
        capture_output=True, text=True
    )
    return json.loads(result.stdout) if result.stdout else {"error": result.stderr}

async def perplexity_search(query: str) -> dict:
    """Web research via Perplexity."""
    result = subprocess.run(
        ["uv", "run", "python", "-m", "runtime.harness",
         "scripts/perplexity_search.py", "--query", query],
        capture_output=True, text=True
    )
    return json.loads(result.stdout) if result.stdout else {"error": result.stderr}

# Create research agent
research_agent = await spawn(
    premise="You are a research agent. Use nia_search for library docs and perplexity_search for web research.",
    scope={
        "nia_search": nia_search,
        "perplexity_search": perplexity_search
    },
    model="anthropic:claude-sonnet-4.5"
)

# Use the agent
findings = await research_agent.call(
    dict[str, list[str]],
    "Research best practices for Python async error handling"
)

Read the full file on GitHub · 237 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 237 lines · 24 tokens per session scan A 7e8b049e47f1

Subscribe to this mod's changes

agentica-agent is an agent published in the GitHub repository parcadei/Continuous-Claude-v3 (3,936 stars, last pushed 7mo ago), licensed MIT. It adds 24 tokens to every session and 1,331 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

temporal-python-pro

Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.

wshobson/agents · 56 tokens

api-scaffolding-django-pro

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.

wshobson/agents · 57 tokens

mcp-developer

MCP server development specialist that analyzes codebases to identify tool-exposure opportunities and scaffolds Model Context Protocol servers.

pjt222/agent-almanac · 27 tokens

python-pro

Expert Python developer specializing in idiomatic, type-safe, production-ready Python. Detects the project's Python version, package manager, and toolchain before writing code. Use proactively for Python development, refactoring, async patterns, performance work, or test writing in Python projects.

ivklgn/ai-kit · 57 tokens

python-developer

Implement Python code with strict adherence to project standards. Handles development, refactoring, and fixes using TDD, full type safety, and comprehensive testing.

Edmonds-Commerce-Limited/claude-code-hooks-daemon · 34 tokens

build-resolver-python

Resolves Python build, import, and runtime errors. Use when pip, poetry, pytest, or Python scripts fail.

claude-hangar/claude-hangar · 29 tokens