Apache Casbin Gateway
1. 开始使用

1.3 界面导览

所有东西都在**http://localhost:17000**,桌面窗口和浏览器里是同一套界面。左边的侧边栏就是整个产品,顺序就是你配置它的顺序:先是Agent,再是它们背后的模型,然后是它们要过的那道关卡,接着是它们跑了什么、花了多少,设置放最后。

Casbin Gateway

侧边栏

页面是什么章节
Agent客户端本机上的每个Agent,一行四张卡片2.1
聊天让Agent做事,并看着它做2.6
聊天渠道在Telegram或微信里跟Agent对话2.7
版本管理每个Agent的本机版本对上游发布版本2.2
供应商模型供应商前面的统一入口3.1
导入配置从ccswitch://链接,或从一份CC Switch安装里搬过来3.5
模型路由每个请求真正被发往哪个模型,以及它降级到什么3.6
技能、MCP与提示词所有Agent的技能、MCP服务器和指令文件,汇成一张表2.4
连接连一次应用,写进你勾选的每个Agent2.5
真伪检测那个Key背后的API是不是卖给你的那个——每个供应商一个分数和等级3.4
权限每个Agent能做什么,转发的每个请求都按它执行4.1
会话这些Agent的所有会话,读自它们自己的会话记录2.3
活动记录被监控的Agent正在做什么2.3
LLM记录Gateway转发过的每一个请求,完整内容4.2
用量每个Agent花了多少,包括没走Gateway的那部分4.3
模型定价一百万token多少钱——用量页上每个数字都是从这儿算出来的4.3
设置所有可配置项,存在数据库里5.1

带标签页或分节的页面,会把这些标签和小节也挂进侧边栏,所以侧栏可以直接落到测试用例、MCP服务器或安全设置上,而不是只能落到那一页的顶部。

导航

  • ⌘K或Ctrl+K在当前页面上打开搜索框:所有页面按名字搜,本机的每个Agent和每个供应商也在里面。三十个供应商里找一个,不用翻列表。
  • 面包屑会说明当前页面和页内小节,用的是和侧边栏同一棵树。
  • 顶栏可以切换亮色/暗色、三套配色(Amber & Ink、Terminal、Indigo),以及中英文。

右上角的版本

右上角是当前运行的版本和构建日期;当已发布的版本更新时,会显示新。点开再按立即升级就能原地升级,见5.5 升级、停止与卸载。

Agent是从哪来的

Agent是通过读Gateway所在这台机器的用户账户、主目录和安装路径发现的。所以要把它跑在你想观察的那台机器上;容器里只能看到容器自己的文件系统(5.4)。

下一节:1.4 快速上手。

在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.

本页内容