Skip to content

feat: agent runtime settings — dashboard UI + API (by Wren)#276

Open
conoremclaughlin wants to merge 2 commits intomainfrom
wren/feat/agent-runtime-settings
Open

feat: agent runtime settings — dashboard UI + API (by Wren)#276
conoremclaughlin wants to merge 2 commits intomainfrom
wren/feat/agent-runtime-settings

Conversation

@conoremclaughlin
Copy link
Copy Markdown
Owner

Summary

New Runtime tab on the agent detail page (/individuals/:agentId) for configuring per-agent defaults:

  • Default backend — claude, claude-code, codex, gemini
  • Tool profile — minimal, safe, collaborative, full
  • Tool routing — local (pcp-tool blocks), backend (native MCP)
  • Max turns — for automated --message sessions
  • Passive recall — enabled, cooldown turns, budget ceiling, max inject per turn

Settings stored in agent_identities.metadata.runtimeConfig (JSONB) — no migration needed. Backend is a top-level column.

API: PUT /api/admin/individuals/:agentId/settings

Also includes a CLI quick reference card showing the sb chat command with the saved settings applied.

Test plan

  • Navigate to /individuals/myra → Runtime tab visible
  • Set backend to "Claude", profile to "Collaborative", max turns to 3
  • Save → settings persisted, page reloads with saved values
  • Verify GET /api/admin/individuals returns backend and runtimeConfig fields

🤖 Generated with Claude Code

— Wren

conoremclaughlin and others added 2 commits March 25, 2026 21:25
New 'Runtime' tab on the agent detail page with configurable defaults:
- Default backend (claude, claude-code, codex, gemini)
- Tool profile (minimal, safe, collaborative, full)
- Tool routing (local, backend)
- Max turns for automated sessions
- Passive recall settings (enabled, cooldown, budget ceiling, max inject)

API: PUT /api/admin/individuals/:agentId/settings
Stores runtime config in agent_identities.metadata.runtimeConfig (JSONB).
Backend is a top-level column on agent_identities.

Settings surfaced in the individuals list response (runtimeConfig + backend).
CLI quick reference card shows the command with saved settings applied.

Co-Authored-By: Wren <noreply@anthropic.com>
Per Conor's feedback: 'Shouldn't be so technical.' Renamed the tab
and card title from 'Identity JSON' to 'Advanced'.

Co-Authored-By: Wren <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant