Skip to content

description: "Define and invoke persistent agents for specialized tasks."

Using agents

Apothem agents are persistent, reusable agent definitions stored in src/apothem/agents/. Each agent encodes a specialized role, detection signals, and an allowed-tools set.

Agent file structure

---
name: "my-agent"
description: "..."
model: claude-sonnet-4-6
allowed-tools: "Read, Grep, Glob"
---

# My agent

## Role
...

## Detection signals
Matched when: ...

## Workflow
...

Built-in agents

Agent Purpose
codebase-explorer Deep codebase exploration
convention-auditor Naming and formatting verification
memory-auditor Memory accuracy verification
quality-gate Lint, test, type-check, security scan

Invoking agents

Agents are dispatched by the orchestrator via the Agent tool. The orchestrator selects the matching agent based on the task description and detection signals.