Feature flags
The umbrella crate agentkit re-exports subcrates behind feature flags.
Default flags
core—agentkit-corecapabilities—agentkit-capabilitiestools—agentkit-tools-coretask-manager—agentkit-task-managerloop—agentkit-loopreporting—agentkit-reporting
Optional flags
compaction—agentkit-compactioncontext—agentkit-contextmcp—agentkit-mcpadapter-completions—agentkit-adapter-completionsprovider-anthropic—agentkit-provider-anthropicprovider-cerebras—agentkit-provider-cerebrasprovider-groq—agentkit-provider-groqprovider-mistral—agentkit-provider-mistralprovider-ollama—agentkit-provider-ollamaprovider-openai—agentkit-provider-openaiprovider-openrouter—agentkit-provider-openrouterprovider-vllm—agentkit-provider-vllmtool-fs—agentkit-tool-fstool-shell—agentkit-tool-shelltool-skills—agentkit-tool-skillstool-compose—agentkit-tool-compose
Typical combinations
Minimal orchestration:
agentkit = { version = "0.9.0", features = ["core", "capabilities", "tools", "loop"] }
Coding agent:
agentkit = { version = "0.9.0", features = [
"core", "capabilities", "context", "tools",
"loop", "tool-fs", "tool-shell", "reporting",
] }
MCP-enabled agent:
agentkit = { version = "0.9.0", features = [
"core", "capabilities", "context", "tools",
"loop", "tool-fs", "tool-shell", "reporting", "mcp",
] }
OpenRouter-backed example host (streaming, prompt caching):
agentkit = { version = "0.9.0", features = [
"core", "capabilities", "tools", "loop",
"reporting", "provider-openrouter",
] }
OpenAI-compatible provider host (streaming):
agentkit = { version = "0.9.0", features = [
"core", "capabilities", "tools", "loop",
"reporting", "provider-groq",
] }
Swap provider-groq for provider-mistral, provider-vllm, provider-ollama,
or provider-openai as needed.
Anthropic Messages API host (streaming, extended thinking, server tools):
agentkit = { version = "0.9.0", features = [
"core", "capabilities", "tools", "loop",
"reporting", "provider-anthropic",
] }
Cerebras Inference host (streaming, reasoning, rate-limit snapshot):
agentkit = { version = "0.9.0", features = [
"core", "capabilities", "tools", "loop",
"reporting", "provider-cerebras",
] }
The agentkit-provider-cerebras crate itself carries granular Cargo features for preview surfaces: compression (msgpack + gzip request bodies), predicted-outputs, service-tiers, batch (Files + Batch API), and an experimental umbrella that pulls in all three preview flags. Enable them on the provider crate directly when you need them — the umbrella provider-cerebras flag wires in the default build.