Synapse
A containerized agent harness built on Claude Code that enforces skill-scoped execution over WebSocket. It is finished, and it was the center of my recent work.
- Hierarchical orchestration
- Restructured a monolithic agent into layers: an orchestrator delegates to a workflow builder, which coordinates specialist agents for ambiguity resolution, node construction, graph validation, and output formatting.
- Auth, designed end to end
- Designed the onboarding auth flow with session binding and per-turn authorization checks in Redis, documented as sequence diagrams.
- Cost-aware model routing
- Routed subagents by workload after comparing Sonnet, Gemini Flash, and Haiku pricing against what the agents actually do.
- A hardened runtime
- Fixed gunicorn permission errors, Docker Compose networking issues, and ambient configuration leaking into agent subprocesses.