{"repo":"barbacane-dev/barbacane","free":true,"listed":false,"github":"https://github.com/barbacane-dev/barbacane","clone":"git clone https://github.com/barbacane-dev/barbacane.git","description":"Barbacane API and Bidirectional AI Gateway","language":"Rust","stars":28,"topics":["api","asyncapi","gateway","openapi3","rust","wasm","ai-gateway","mcp-server","ai","ai-gateways"],"license":"AGPL-3.0","category":"mcp-servers","readme_excerpt":"Barbacane Your spec is your gateway. --- Barbacane is a spec-driven API gateway built in Rust. Point it at an OpenAPI or AsyncAPI spec and it becomes your gateway — routing, validation, authentication, AI traffic, MCP, and all. No proprietary config language, no drift between your spec and your infrastructure. - Spec as config — Your OpenAPI 3.x or AsyncAPI 3.x specification is the single source of truth. The compiler turns it into a sealed .bca artifact; no separate gateway DSL to maintain. - Fast and predictable — Built on Rust, Tokio, and Hyper. No garbage collector, no latency surprises. Route lookup in 83 ns, full request validation in 1.2 µs. - Secure by default — Memory-safe runtime, TLS via Rustls (FIPS-ready via aws-lc-rs), sandboxed WASM plugins, secrets resolved at runtime via env:// , file:// , and similar references — never baked into artifacts. - AI gateway built-in — ai-proxy unifies OpenAI / Anthropic / Ollama behind one OpenAI-compatible surface: Chat Completions, the stateless Responses API ( POST /v1/responses ), and an aggregated model catalog ( GET /v1/models ). Glob-based routes pick the upstream from the client's model , per-target allow / deny lists gate the catalog, and provider fallback handles 5xx/timeout. Four dedicated middlewares add prompt guarding, response redaction, token-based rate limiting, and per-call cost tracking (ADR-0024, ADR-0030). - MCP from your spec — Every operation in your OpenAPI spec is automatically exposed as a Model Context","default_branch":null,"files":null,"tree":[],"storefront":"/r/barbacane-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/barbacane-dev/barbacane/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}