Skip to content

🧩 Agents

Fourteen specialists. Scoped packs. No β€œhold the monorepo in your head” cosplay. 🎭

🧬

Mix brains: cheap local explorer + sharper cloud reviewer in one run β€” see Providers. Budget diplomacy is a feature.


Roster πŸ“‹

ID Tools Output When
coordinator β€” JSON actions Pre-exec + each wave 🧭
orchestrator β€” decisions Reserved
context β€” CONTEXT body Run start πŸ“
explorer βœ… file map Deep explore πŸ”Ž
docs βœ… docs map Docs/API queries πŸ“š
architect β€” design JSON Large/refactor πŸ›οΈ
planner β€” plan JSON Always πŸ“‹
splitter β€” tasks JSON Always βœ‚οΈ
worker βœ… status Execute πŸ› οΈ
deep βœ… status Multi-step πŸ§ͺ
reviewer β€” approve JSON Critic πŸ”
corrector βœ… status On reject πŸ”§
tester βœ… passed + commands Real shell verify (pytest/go/smoke) βœ…
placeholder βœ… status + gaps Fill stubs / flag precise gaps 🩹
escalate β€” action JSON HITL timeout arbitrator (retry/re-scope/…) βš–οΈ
memory β€” bullets Learn πŸ’Ύ

βš– @escalate

Fired only when a task hits max review retries and the human does not answer the escalate modal / /escalate within escalate_ask_timeout (default 30s). Override the specialist with escalate_timeout_agent (auto: escalate β†’ reviewer β†’ coordinator).

curl -s localhost:7420/api/agents | jq '.[].id'
# TUI: /agents

Custom agents ✨

.slmcode/agents/<id>.yaml or ~/.slmcode/agents/.

/agent new id=night-auditor title=Night provider=ollama model=qwen2.5-coder:14b
/agent edit worker model=qwen2.5-coder:14b
/agent show night-auditor

Fields: skills, model, provider, endpoint, tools, temperature, max_tokens, max_iter, system_prompt.

Different endpoints β†’ unique backend keys (no accidental shared gateway).

Use anywhere in the pipeline

Custom agents are first-class:

  • Specialist mode β€” select them in Studio / mode: specialist
  • Board tasks β€” set role: night-auditor (dropdown lists all /api/agents)
  • Pipeline slots β€” insert before/after/replace any phase in .slmcode/pipeline.yaml
# .slmcode/pipeline.yaml
slots:
  - id: audit-explore
    agent: night-auditor
    after: explore
    input: |
      Review exploration for risks.
      {{exploration}}

β†’ Pipeline


Coordinator actions 🧭

{
  "summary": "Auth clear; tests missing",
  "actions": [
    {"type": "promote", "task_id": "T2", "text": "deps met"},
    {"type": "reassign", "task_id": "T3", "role": "deep"},
    {"type": "add_task", "text": "Add regression test", "role": "tester"},
    {"type": "note", "task_id": "T1", "text": "edge case"}
  ],
  "focus_files": ["pkg/foo.go"]
}

Air-traffic control, not pilot. Let workers fly the plane.


Delegating πŸ“¬

slmcode task add "Deep refactor auth" --role deep --column ready_to_dev
slmcode task delegate T1 docs

Project instructions πŸ“œ

Auto-loaded from:

  • AGENTS.md / AGENT.md
  • CLAUDE.md
  • .cursorrules
  • .slmcode/PROJECT.md

✨ Tiny AGENTS.md

# Agents
- Tiny, reviewable diffs
- No drive-by refactors
- Match existing style

β†’ πŸ¦‹ Skills Β· 🧠 Concepts

β˜€οΈ Made with β™₯ by UnicoLab