Apache Casbin Gateway, a subproject of Apache Casbin (Incubating)

See what every AI coding agent on your machine is doing

and whether the API behind it is the one you paid for.

One local gateway for Claude Code, Codex, Cursor, Gemini CLI and the rest: the providers they talk to, what they may do and what they spend.

$ curl -fsSL https://raw.githubusercontent.com/apache/casbin-gateway/master/scripts/install.sh | bash

One command. No database, no Go, no Node, no configuration.

Apache Casbin Gateway

Is that API key what it was sold as?

A reseller can serve a cheaper model, fake a cache hit, or quietly drop a parameter it claims to support. Authenticity probes every provider on its own and grades it A–F.

Read more

What every agent did, spent and sent

Every prompt and tool call, the spend read from the agents' own transcripts, and on Windows, where each agent's own processes upload data.

Read more

One place for all of them

Point every agent at any of 44 model vendors, say what each may do, and install, upgrade or roll back the agents themselves.

Read more

Works with the agents already on your machine

Claude CodeCodexCursorGemini CLIWindsurfClineQwen CodeKimi Code CLIopencodeTraeZedAiderOpenClawDroid
Apache Incubator

Apache Casbin (Incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright © 2026 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.

Apache, Apache Casbin, the names of Apache projects, and the feather logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries. All other marks mentioned may be trademarks or registered trademarks of their respective owners.