Recommended path
- Go to OpenRouter Spawn.
- Choose the agent runtime or template.
- In Fortress, create a separate agent identity for that runtime.
- Use the matching provider page:
| Spawned runtime | Use this Fortress setup |
|---|---|
| Claude Code | Claude Code |
| Codex | Codex |
| Cursor-compatible environment | Cursor |
| Windsurf-compatible environment | Windsurf |
| OpenClaw | OpenClaw |
| Custom code | Generic MCP |
Generated values
If you choose OpenRouter Spawn in Fortress, the setup page gives environment variables for a custom harness:@openrouter/agent, use an MCP client library to connect to Fortress and expose Fortress tools to your agent loop, or convert MCP tool definitions into the tool format your harness expects.
Verify
From inside the spawned agent environment, ask the agent to readfortress://workspace/overview.
See OpenRouter’s Agent SDK documentation and MCP server guide.