Barbacane
Barbacane API and Bidirectional AI Gateway
Barbacane compiles OpenAPI and AsyncAPI into a signed artifact that enforces routing, validation, authentication, rate limiting, a WAF, and observability. The same middleware chain routes LLM calls and exposes APIs to agents as typed MCP tools. Enabling MCP at the spec root makes existing APIs agent-callable, applying authentication, rate limits, validation, and audit logging to tool calls.
The AI dispatcher routes outbound LLM requests through OpenAI, Anthropic, or Ollama with provider fallback and policy-driven targets. Barbacane features autonomous data planes that run independently. Barbacane is open source under the AGPLv3.
Summary drafted from the project's own website. Every sentence is backed by text on that page and was reviewed before publishing.