Skip to content
Apothem
Usage

Using delegated workers

Define and invoke persistent delegated workers for specialized tasks.

Apothem delegated workers are persistent, reusable worker definitions stored under the src/apothem/ tree (canonical directory shown below — name preserved for compatibility with the runtime loader):

src/apothem/agents/

Each delegated worker encodes a specialized role, detection signals, and an allowed-tools set.

Delegated-worker file structure

---
name: "my-agent"
description: "..."
tools: "Read, Grep, Glob"
---

# My assistant

## Role
...

## Detection signals
Matched when: ...

## Workflow
...

Built-in delegated workers

Delegated workerPurpose
codebase-explorerDeep codebase exploration
convention-auditorNaming and formatting verification
memory-auditorMemory accuracy verification
quality-gateLint, test, type-check, security scan

Invoking delegated workers

Delegated workers are dispatched by the orchestrator via the delegation tool exposed by the harness runtime. The orchestrator selects the matching worker based on the task description and detection signals.

On this page