Beyond the defaults
Beyond the defaults
Everything under Fundamentals works with the defaults. These pages are for when you go past them: connecting harnesses, production identity, agents that wait for a person, and extending the platform itself.
Connecting harnesses
Reach the team harness from your laptop with a remote, and promote safely.
Calling an MCP
Call external MCP servers from your capabilities, or re-expose their tools.
Securing capabilities
JWT, JWKS, OAuth, identity enrichment, RFC 9728 and CORS.
Durable agents
Agents that defer to a person and resume hours or days later.
Judging agent results
Screen what an agent produces before it reaches a person or a system.
Composing capabilities
Build modular systems with direct() and reusable capability chains.
Error handling
Catch pipeline errors and recover with .error().
Filter chain
The fixed order every call passes before your pipeline runs.
Events
Subscribe to the event bus every capability reports into.
Plugins
Extend the runtime with cross-cutting behaviour.
Creating adapters
Implement your own source, destination, or processor adapters.
Merged options
How static and dynamic adapter options combine.
Type registries
Compile-time safety for string-based adapter APIs via declaration merging.
Programmatic invocation
Invoke capabilities directly from your own code.
Terminal UI
Inspect routes, agents, tools, exchanges and live events from the terminal.
Linting
Enforce Routecraft best practices with ESLint.
Formatting
Keep DSL chains compact with the Prettier plugin.