Skip to content

apachecasbin-gateway

See what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records.

Repository stars
654 Star
All-time
#54,211 all time
Fork
76 Fork
Repository created
since 2017
Language
Go
License
Apache-2.0
Commercial use OKApache-2.0; keep the license notice
Actively maintainedLast push 6 days ago

About

README

Casbin Gateway connects multiple coding agents to model vendors and centrally records agent activity and spending.

What it does

  • When a model vendor runs out of capacity or goes down, requests can switch to another vendor.
  • Monitoring records prompts, tool calls, and permission prompts without making agent actions wait for Gateway.
  • Users can access it in a local window or browser, or run the server alone on a machine without a desktop.

Limitations

Gateway stores its data in a SQLite file inside its own directory.

Summarized by AI from the README · As of 2026-12-02, apache/casbin-gateway had 654 stars. According to the 2026-12-02 record, apache/casbin-gateway is catalogued under AI Development Platforms. A permissive license allows commercial use under its terms. The last push was on 2026-11-25. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data

Raw observations · 27
Historical observations
Measured atRepository starsSource
2026-12-02 00:21 UTC654Source
2026-12-01 00:22 UTC653Source
2026-11-30 00:19 UTC653Source
2026-11-29 00:19 UTC653Source
2026-11-28 00:19 UTC653Source
2026-11-27 00:19 UTC653Source
2026-11-26 00:20 UTC653Source
2026-11-25 00:24 UTC653Source
2026-11-24 00:23 UTC652Source
2026-11-23 00:25 UTC650Source
2026-11-22 00:23 UTC650Source
2026-11-21 00:33 UTC650Source
2026-11-20 00:23 UTC650Source
2026-11-19 00:24 UTC650Source
2026-11-18 00:24 UTC649Source
2026-11-17 00:25 UTC649Source
2026-11-16 00:22 UTC650Source
2026-11-15 00:24 UTC649Source
2026-11-14 00:29 UTC649Source
2026-11-13 00:23 UTC649Source
2026-11-12 00:21 UTC649Source
2026-11-11 00:22 UTC649Source
2026-11-10 00:22 UTC649Source
2026-11-09 00:19 UTC648Source
2026-11-08 00:19 UTC647Source
2026-11-07 11:05 UTC647Source
2026-11-06 07:47 UTC647Source

Add a badge to your README

For project authors: paste it into the README. It updates daily and links back here.

Badge preview
[![github.day](https://github.day/badge/casbin-gateway.svg)](https://github.day/resources/casbin-gateway?ref=badge)

Share this project

Share on X

First collected 2026-11-06Measured at 2026-12-02 00:21 UTCSourceLicense source

Compiled from public project information; not independently tested. · Repository Stars, not unique users · License tiers are derived from metadata. Check obligations for your use; unknown does not mean prohibited.