ollie/agents
Levi Neely e7cca59089 remove MCP support, add execute_code tests
- Update submodules: core (remove MCP, add tests), 9p (remove mcp file)
- Add doc/NO_MCP.md: justification for removing MCP
- Add observation to doc/OBSERVATIONS.md
- Update ARCHITECTURE.md, help.md, SYSTEM_PROMPT.md, agents/README.md
2026-04-21 13:26:00 +02:00
..
README.md remove MCP support, add execute_code tests 2026-04-21 13:26:00 +02:00
coding.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00
default.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00
devops.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00
greybeard.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00
qa.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00
reviewer.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00
writer.json prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks 2026-04-21 09:14:14 +02:00

README.md

Agents

Each .json file defines an agent configuration. Agent configs are installed to ~/.config/ollie/agents/ and selected at runtime via /agent <name>.

default

Base agent with no specializations. Provides the standard ollie toolset and hook wiring. Use this as the starting point when creating a new agent — copy default.json and add a prompt and any additional configuration.

coding

Coding-focused agent. Extends default with agent instructions covering code modification discipline, security practices, and exploratory reading habits. Also enables the execute_elevated_bash trusted tool for operations requiring elevated privileges.

System prompt

There is no built-in system prompt. The system prompt is assembled entirely from agentSpawn hook output. Both agents use $OLLIE/x/prime <name> to inject prompt template files from p/. coding additionally injects tools-elevate (relevant only with execute_elevated_bash) and omits it from default.

bd prime is appended last in both agents — it injects the active beads context if a database is found, and silently does nothing otherwise.

The fully assembled system prompt is visible at s/<id>/systemprompt.

Adding a new agent

Copy default.json, rename it, and adjust the agentSpawn hook array to include the prime calls you want. Add a prompt field for agent-specific instructions appended after the hook-injected context. Hooks, trusted tools, and generation parameters can all be customized per agent.