ResolveKit is split into four service roles:
dash(dashboard/, Next.js)api(dashboard/, Next.js Route Handlers under/v1/*)agent(main.py->agent/main.py, FastAPI)knowledge_bases(knowledge_bases/main.py, FastAPI)
Runtime ownership for SDK clients:
/v1/functions/v1/sessions/v1/sdk/*GET /v1/sessions/{session_id}/eventsPOST /v1/sessions/{session_id}/messagesPOST /v1/sessions/{session_id}/tool-results
- SDK calls
agentwith an app API key. - Backend creates or reuses a session and returns
events_urlpluschat_capability_token. - SDK opens one persistent session event stream.
- User messages and tool results are submitted with HTTP POST requests.
- Responses, tool calls, completion, and recoverable errors are replayed over the event stream.
See Orchestrator Flow for turn details.