Apache Casbin Gateway
1. Getting started

1.3 The interface

Everything is at http://localhost:17000, in the desktop window or in a browser. The sidebar is the whole product, in the order you would set it up: the agents, the models behind them, the gates they pass through, then what they ran and what it cost, with settings last.

Casbin Gateway

The sidebar

PageWhat it isChapter
AgentsEvery agent on this machine, four cards to a row2.1
ChatHand an agent a message and watch it work2.6
Chat channelsTalk to an agent from Telegram or WeChat2.7
Agent versionsInstalled build against published release, for every agent Gateway knows2.2
ProvidersOne endpoint in front of your model vendors3.1
Import settingsBring a ccswitch:// link, or a CC Switch installation, over3.5
Model routingWhich model each request is really sent, and what it degrades to3.6
Skills, MCP & PromptsEvery skill, MCP server and instruction file of every agent, in one table2.4
ConnectionsConnect an application once and write it into whichever agents you pick2.5
AuthenticityIs the API behind that key what it was sold as — a score and a grade per provider3.4
PermissionsWhat each agent may do, enforced on every relayed request4.1
Agent SessionsEvery session those agents have had, read from their own transcripts2.3
Agent RecordsWhat a monitored agent is doing as it does it2.3
LLM RecordsEvery request Gateway relayed, in full4.2
UsageWhat every agent spent, including what never went through Gateway4.3
Model pricingWhat a million tokens costs, which every figure on Usage is worked out from4.3
SettingsEverything configurable, stored in the database5.1

A page with tabs or sections contributes them to the sidebar under its own name, so the rail lands on the test cases, the MCP servers or the security settings rather than only on the top of the page they are on.

Getting around

  • ⌘K, or Ctrl+K, opens a search box over whichever page you are on: every page by name, and every agent and provider on this machine. It is how you reach one of thirty providers without paging through the list.
  • The breadcrumb names the page and the section within it, from the same tree the sidebar is built from.
  • The header switches the UI between light and dark, between three palettes — Amber & Ink, Terminal and Indigo — and between English and Chinese.

The version in the corner

The top-right corner carries the version Gateway is running and the date it was built, and says New when the published build is a later one. Opening it and pressing Update now updates Gateway in place — see 5.5 Updating, stopping and removing.

Where agents come from

Agents are found by reading the user accounts, home directories and install paths of the machine Gateway runs on. Run it on the machine whose agents you want to watch; a container sees only its own filesystem (5.4).

Next: 1.4 Quick start.

Edit on GitHub
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.

On this page