# Pantheon for Continue.dev

> **Status:** Preview — rules are generated by `npm run sync` and reference the 14 Pantheon agents as system-prompt rules.

Continue.dev does not have a formal agent system. Instead, it uses **rules** (`.md` files in `.continue/rules/`) that are concatenated into the system message on every interaction. This adapter converts each Pantheon agent definition into a markdown rule file.

## How It Works

1. Canonical `.agent.md` files in `agents/` are the single source of truth
2. `npm run sync` generates `.md` rule files in `platform/continue/rules/`
3. Each rule file contains the agent's body (stripped of VS Code-specific sections)
4. A sample `config.yaml` references all rule files

## Key Differences from VS Code

| VS Code Copilot | Continue.dev |
|---|---|
| Native agent system (`@name`) | Rules injected into system prompt (no `@name` invocation) |
| Tool permissions per agent | No tool restrictions — all tools available |
| Handoff buttons | No handoff mechanism |
| Frontmatter fields | No frontmatter — just markdown content |
| Subagent delegation | Not supported |

## Installation

```bash
# 1. Sync Canonical Agents → Continue Rules
npm run sync continue

# 2. Copy rules and config to project
cp -r platform/continue/rules/. .continue/rules/
cp platform/continue/config.yaml .continue/config.yaml

# 3. Edit config.yaml to set your API keys and model preferences
```

See `docs/platforms/continue.md` for full setup instructions.
