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.
npx agentmods add agents/vibeeval/vibecosystem/agentica-agentgit clone --depth 1 https://github.com/vibeeval/vibecosystemWrote 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.
[](https://agentmods.dev/agents/vibeeval/vibecosystem/agentica-agent)<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/agentica-agent"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/agentica-agent.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00024 | $0.01345 |
| Opus 5 | $0.00012 | $0.00673 |
| Sonnet 5 | $0.00005 | $0.00269 |
| Haiku 4.5 | $0.00002 | $0.00135 |
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 4d 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( This is a copy
100% identical to agentica-agent — 472 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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"
)
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.
- 4d ago First seen · 237 lines · 24 tokens per session scan A 0a258957212d
agentica-agent is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 26d ago), licensed MIT. It adds 24 tokens to every session and 1,345 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to agentica-agent, differing in 472 lines, and is treated as a copy.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.