Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
loadgen
command
loadgen is runkite's internal load generator, for backend-comparison runs and any future "did this change regress latency/memory" check.
|
loadgen is runkite's internal load generator, for backend-comparison runs and any future "did this change regress latency/memory" check. |
|
Runkite control plane CLI entrypoint.
|
Runkite control plane CLI entrypoint. |
|
internal
|
|
|
adminui
Package adminui embeds the built Admin UI (admin-ui/, a Vite + React + TypeScript SPA) into the runkite binary, so `runkite serve` ships one executable with a working dashboard -- no separate deploy step, no Node.js runtime dependency for end users.
|
Package adminui embeds the built Admin UI (admin-ui/, a Vite + React + TypeScript SPA) into the runkite binary, so `runkite serve` ships one executable with a working dashboard -- no separate deploy step, no Node.js runtime dependency for end users. |
|
api
Package api: Agent-to-Agent (A2A) delegation -- native sub-agent delegation where an agent calls another agent via the same Agent Protocol API, with real semantics for auth context propagation between agents, recursion limits, and cost attribution.
|
Package api: Agent-to-Agent (A2A) delegation -- native sub-agent delegation where an agent calls another agent via the same Agent Protocol API, with real semantics for auth context propagation between agents, recursion limits, and cost attribution. |
|
auth
Package auth implements authentication middleware for the Agent Protocol API.
|
Package auth implements authentication middleware for the Agent Protocol API. |
|
bridge
Package bridge implements the gRPC server that runners connect to.
|
Package bridge implements the gRPC server that runners connect to. |
|
config
Package config handles loading and parsing langgraph.json.
|
Package config handles loading and parsing langgraph.json. |
|
connector
Package connector implements the Connector/MCP Registry — pre-authenticated OAuth/MCP sessions for runners without implementing auth flows themselves.
|
Package connector implements the Connector/MCP Registry — pre-authenticated OAuth/MCP sessions for runners without implementing auth flows themselves. |
|
cors
Package cors implements CORS header handling for the Agent Protocol HTTP surface: a browser-based frontend on a different origin -- the common case, e.g.
|
Package cors implements CORS header handling for the Agent Protocol HTTP surface: a browser-based frontend on a different origin -- the common case, e.g. |
|
customroutes
Package customroutes builds the control-plane reverse proxy that mounts a product-owned HTTP app (in-runner ASGI/Node or sidecar) alongside the Agent Protocol API.
|
Package customroutes builds the control-plane reverse proxy that mounts a product-owned HTTP app (in-runner ASGI/Node or sidecar) alongside the Agent Protocol API. |
|
finops
Package finops provides optional model pricebooks and budget caps for run admission (F0) and usage_events USD estimates (F1 foundation).
|
Package finops provides optional model pricebooks and budget caps for run admission (F0) and usage_events USD estimates (F1 foundation). |
|
hooks
Package hooks implements platform event hooks:
|
Package hooks implements platform event hooks: |
|
jsonvalue
Package jsonvalue preserves numbers in scoped application and policy JSON without changing unrelated control metadata or typed counters.
|
Package jsonvalue preserves numbers in scoped application and policy JSON without changing unrelated control metadata or typed counters. |
|
metrics
Package metrics defines Prometheus metrics for the Runkite control plane.
|
Package metrics defines Prometheus metrics for the Runkite control plane. |
|
models
Package models defines the data types for the Agent Protocol spec.
|
Package models defines the data types for the Agent Protocol spec. |
|
pagecursor
Package pagecursor encodes opaque keyset pagination tokens for Admin list endpoints.
|
Package pagecursor encodes opaque keyset pagination tokens for Admin list endpoints. |
|
policy
Package policy is the control-plane PolicyProvider: static grants, optional argument predicates on MCP tools/call, and an optional sync webhook gate for connector session mint and MCP tools/call.
|
Package policy is the control-plane PolicyProvider: static grants, optional argument predicates on MCP tools/call, and an optional sync webhook gate for connector session mint and MCP tools/call. |
|
ratelimit
Package ratelimit implements per-user, per-agent, and per-tenant rate limiting, configurable via langgraph.json's "rate_limit" section.
|
Package ratelimit implements per-user, per-agent, and per-tenant rate limiting, configurable via langgraph.json's "rate_limit" section. |
|
secureheaders
Package secureheaders adds a small, always-on set of HTTP security headers to every response.
|
Package secureheaders adds a small, always-on set of HTTP security headers to every response. |
|
state
Package state defines the StateStore interface for persistent storage of agents, threads, runs, and store items.
|
Package state defines the StateStore interface for persistent storage of agents, threads, runs, and store items. |
|
state/conformance
Package conformance provides backend-agnostic test suites for the state.Store interface.
|
Package conformance provides backend-agnostic test suites for the state.Store interface. |
|
state/migrate
Package migrate is a small numbered up/down schema migration runner for control-plane state stores and (separately) the pgvector vector store.
|
Package migrate is a small numbered up/down schema migration runner for control-plane state stores and (separately) the pgvector vector store. |
|
state/mongo
Package mongo implements the state.Store interface using MongoDB.
|
Package mongo implements the state.Store interface using MongoDB. |
|
state/mysql
Package mysql implements the state.Store interface using MySQL -- the second SQL exemplar alongside Postgres/SQLite, using the same conformance suite (internal/state/conformance) as every other backend.
|
Package mysql implements the state.Store interface using MySQL -- the second SQL exemplar alongside Postgres/SQLite, using the same conformance suite (internal/state/conformance) as every other backend. |
|
state/postgres
Package postgres implements the state.Store interface using PostgreSQL via pgx.
|
Package postgres implements the state.Store interface using PostgreSQL via pgx. |
|
state/sqlcompletion
Package sqlcompletion shares the transactional completion invariant between SQL backends.
|
Package sqlcompletion shares the transactional completion invariant between SQL backends. |
|
state/sqlite
Package sqlite implements the state.Store interface using embedded SQLite.
|
Package sqlite implements the state.Store interface using embedded SQLite. |
|
tenant
Package tenant implements multi-tenancy -- a flat tenant_id scope (not a full workspace/org/team hierarchy), threaded through context.Context rather than as an explicit parameter on every state.Store method.
|
Package tenant implements multi-tenancy -- a flat tenant_id scope (not a full workspace/org/team hierarchy), threaded through context.Context rather than as an explicit parameter on every state.Store method. |
|
tracing
Package tracing wires the control plane into OpenTelemetry, giving an OTel observability fan-out (Langfuse, Phoenix, Jaeger, Datadog, any OTLP backend) for free: this package contains almost no custom exporter logic because otlptracegrpc/otlptracehttp already read every standard OTEL_EXPORTER_OTLP_* env var (endpoint, headers for hosted backends' auth tokens, TLS, compression, timeout) per the OTel spec.
|
Package tracing wires the control plane into OpenTelemetry, giving an OTel observability fan-out (Langfuse, Phoenix, Jaeger, Datadog, any OTLP backend) for free: this package contains almost no custom exporter logic because otlptracegrpc/otlptracehttp already read every standard OTEL_EXPORTER_OTLP_* env var (endpoint, headers for hosted backends' auth tokens, TLS, compression, timeout) per the OTel spec. |
|
transport
Package transport defines the interfaces for job dispatch and event delivery between the control plane and runners.
|
Package transport defines the interfaces for job dispatch and event delivery between the control plane and runners. |
|
transport/conformance
Package conformance provides transport-agnostic test suites that every JobQueue, EventBroker, and CancelBroker implementation must pass.
|
Package conformance provides transport-agnostic test suites that every JobQueue, EventBroker, and CancelBroker implementation must pass. |
|
transport/inprocess
Package inprocess provides in-memory implementations of JobQueue, EventBroker, and CancelBroker for conformance testing and local zero-dependency mode.
|
Package inprocess provides in-memory implementations of JobQueue, EventBroker, and CancelBroker for conformance testing and local zero-dependency mode. |
|
transport/kafka
Package kafkatransport implements transport.JobQueue using Kafka -- JobQueue only, deliberately, unlike NATS's full JobQueue+EventBroker+ CancelBroker triad (see internal/transport/nats's own package doc for why NATS earns the full triad and this doesn't): Kafka has no native pub/sub primitive suited to EventBroker's fan-out-plus-replay shape or CancelBroker's fire-and-forget signal, and bolting one on top of Kafka's own log model would be reinventing a second, unrelated technology rather than using Kafka for what it's actually good at.
|
Package kafkatransport implements transport.JobQueue using Kafka -- JobQueue only, deliberately, unlike NATS's full JobQueue+EventBroker+ CancelBroker triad (see internal/transport/nats's own package doc for why NATS earns the full triad and this doesn't): Kafka has no native pub/sub primitive suited to EventBroker's fan-out-plus-replay shape or CancelBroker's fire-and-forget signal, and bolting one on top of Kafka's own log model would be reinventing a second, unrelated technology rather than using Kafka for what it's actually good at. |
|
transport/nats
Package natstransport implements the full transport.JobQueue, transport.EventBroker, and transport.CancelBroker triad using NATS JetStream (queue and events) and NATS core pub/sub (cancel signals) -- the same three-interface completeness Redis's own transport package provides.
|
Package natstransport implements the full transport.JobQueue, transport.EventBroker, and transport.CancelBroker triad using NATS JetStream (queue and events) and NATS core pub/sub (cancel signals) -- the same three-interface completeness Redis's own transport package provides. |
|
transport/redis
Package redistransport implements the transport.JobQueue, transport.EventBroker, and transport.CancelBroker interfaces using Redis.
|
Package redistransport implements the transport.JobQueue, transport.EventBroker, and transport.CancelBroker interfaces using Redis. |
|
vectorstore
Package vectorstore defines the VectorStore interface for semantic search over embeddings -- None (disabled) by default, pgvector/Qdrant/Weaviate/Pinecone in production.
|
Package vectorstore defines the VectorStore interface for semantic search over embeddings -- None (disabled) by default, pgvector/Qdrant/Weaviate/Pinecone in production. |
|
vectorstore/conformance
Package conformance provides a backend-agnostic test suite for the vectorstore.VectorStore interface -- every backend (pgvector, Qdrant) runs the exact same tests, so a behavioral difference between them shows up as a test failure, not a surprise in production.
|
Package conformance provides a backend-agnostic test suite for the vectorstore.VectorStore interface -- every backend (pgvector, Qdrant) runs the exact same tests, so a behavioral difference between them shows up as a test failure, not a surprise in production. |
|
vectorstore/pgvector
Package pgvector implements vectorstore.VectorStore using PostgreSQL's pgvector extension -- the vector/semantic store's Tier 1, stable backend.
|
Package pgvector implements vectorstore.VectorStore using PostgreSQL's pgvector extension -- the vector/semantic store's Tier 1, stable backend. |
|
vectorstore/pinecone
Package pinecone implements vectorstore.VectorStore using Pinecone's REST API.
|
Package pinecone implements vectorstore.VectorStore using Pinecone's REST API. |
|
vectorstore/qdrant
Package qdrant implements vectorstore.VectorStore using Qdrant's REST API -- the project's non-SQL exemplar for vector backends, same role Mongo plays for state.Store -- proof the vectorstore.VectorStore interface is implementable against a real standalone vector database, not just pgvector's SQL extension).
|
Package qdrant implements vectorstore.VectorStore using Qdrant's REST API -- the project's non-SQL exemplar for vector backends, same role Mongo plays for state.Store -- proof the vectorstore.VectorStore interface is implementable against a real standalone vector database, not just pgvector's SQL extension). |
|
vectorstore/weaviate
Package weaviate implements vectorstore.VectorStore using Weaviate's REST + GraphQL APIs -- see internal/vectorstore/qdrant's package doc for the shared design principles (one shared class for every tenant/namespace, deterministic UUID v5 object IDs, plain HTTP rather than a generated client) this package follows too.
|
Package weaviate implements vectorstore.VectorStore using Weaviate's REST + GraphQL APIs -- see internal/vectorstore/qdrant's package doc for the shared design principles (one shared class for every tenant/namespace, deterministic UUID v5 object IDs, plain HTTP rather than a generated client) this package follows too. |
|
python
|
|
|
adapters/agent_framework_adapter/e2e_seed
command
Test fixture registration for tenant-scoped managed runner integration tests.
|
Test fixture registration for tenant-scoped managed runner integration tests. |
|
adapters/google_adk_adapter/e2e_seed
command
Test fixture registration for tenant-scoped managed runner integration tests.
|
Test fixture registration for tenant-scoped managed runner integration tests. |
|
adapters/openai_agents_adapter/e2e_seed
command
Test fixture registration for tenant-scoped managed runner integration tests.
|
Test fixture registration for tenant-scoped managed runner integration tests. |
|
adapters/pydantic_ai_adapter/e2e_seed
command
Test fixture registration for tenant-scoped managed runner integration tests.
|
Test fixture registration for tenant-scoped managed runner integration tests. |
|
test
|
|
|
e2e/ai_sdk_seed
command
Test fixture registration for tenant-scoped managed runner integration tests.
|
Test fixture registration for tenant-scoped managed runner integration tests. |
|
e2e/matrix
Package matrix runs the real runkite binary against every meaningful (state backend x transport x framework runner) combination, each exercising the scenarios that framework's example agents actually support, and diffs the resulting event sequence against a recorded golden fixture (see golden.go).
|
Package matrix runs the real runkite binary against every meaningful (state backend x transport x framework runner) combination, each exercising the scenarios that framework's example agents actually support, and diffs the resulting event sequence against a recorded golden fixture (see golden.go). |
Click to show internal directories.
Click to hide internal directories.