feat(agent): /api/agent/ask - agent-to-agent bridge endpoint for Bry

↗ view on GitHub · emileriksenkeev · 2026-07-15 · 0da8c20b

Bry (the finance AI in Finance OS) asks Syd legal questions; Syd runs its
normal agentic loop headless (documents, wiki, PH law tools) scoped to the
Corporate Structure V2 project and answers with extracted citations.
Auth: shared AGENT_ASK_KEY via x-agent-key (env; 503 when unset). Machine
path runs thinkingEffort low. Instructions in the caller's question are
treated as data.

Requires on the droplet .env: AGENT_ASK_KEY=<shared secret>
Optional: AGENT_ASK_PROJECT (defaults to 'Corporate Structure V2')

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository emileriksenkeev/sydOS
Author emileriksenkeev <emil@keev.co>
Authored
Parents 8a48e84f
Stats 2 files changed , +105
Part of Agent-to-agent bridge to Bry (Finance OS)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-0da8c20b.md from inside the repo you want the change in.

⬇ Download capture-commit-0da8c20b.md