Advanced
Deeper patterns, integrations, and operational topics.
Plugins
Extend the runtime with cross-cutting behaviour.
Composing Capabilities
Build modular systems with direct() and reusable capability chains.
Error Handling
Catch pipeline errors and recover with .error().
Merged Options
How static and dynamic adapter options combine.
Creating Adapters
Implement your own source, destination, or processor adapters.
Programmatic Invocation
Invoke capabilities directly from your own code.
Running an MCP server
Expose capabilities as tools for AI agents via MCP.
Calling an MCP
Call external MCP servers from your capabilities.
Securing capabilities
Authenticate HTTP endpoints, enrich identity, RFC 9728, CORS.
Linting
Enforce Routecraft best practices with ESLint.