Apache Casbin Gateway是Apache Casbin (Incubating)的子项目

看清你机器上每个AI编程Agent在做什么

以及它背后的API是不是你花钱买的那个。

一个本地网关,管住Claude Code、Codex、Cursor、Gemini CLI等所有Agent:它们连哪个供应商、能做什么、花了多少。

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

一条命令。不需要数据库,不需要Go,不需要Node,不需要配置。

Apache Casbin Gateway

这个API Key,真是卖给你的那个吗?

中转商可以拿便宜模型冒充、伪造缓存命中,或者悄悄丢掉它声称支持的参数。真伪检测会主动探测每个供应商,给出A–F评级。

了解更多

每个Agent做了什么、花了多少、发到了哪里

每条提示词和工具调用,从Agent自己的会话记录里读出的花费;在Windows上还能看到每个Agent自己的进程把数据上传到了哪里。

了解更多

所有Agent,一个地方管

把每个Agent接到44个模型厂商中的任意一个,规定它能做什么,并直接安装、升级或回滚这些Agent本身。

了解更多

直接接管你机器上已有的Agent

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.