Apache Casbin Gateway
2. Agents

2.2 Agent versions

Agent versions is every agent Gateway knows in one table: the build on this machine, the release its package manager publishes, and whether the two differ.

Agent versions

From the row an agent is on:

ActionWhat happens
InstallInstalls it through the package manager this machine already has
UpgradeMoves it to the release its manager publishes
RollbackPuts it back on any older version that manager still publishes — for when an update broke something
UninstallRemoves it, leaving the agent's own sign-in and history where they are

One click, whichever way the agent was installed.

How each agent is installed

Gateway uses whatever that agent is actually distributed through:

RouteExamples
npmClaude Code, Codex CLI, Gemini CLI, Cline, Qwen Code, opencode
brewCursor, Windsurf, Zed, goose, Trae
wingetClaude Desktop, Kimi Code CLI, Crush, opencode Desktop
Microsoft StoreChatGPT Desktop
self — the agent's own updaterCodex CLI, Cursor Agent, Hermes Agent
script — the vendor's own install commandCursor Agent, Claude Code

An app that arrived as a setup program is removed with the uninstaller it registered with Windows. Everything else is a download from its vendor's page, which Gateway names rather than automating.

What you see while it runs

  • The command is shown before it runs, so nothing happens on this machine that you did not read first.
  • The row carries its progress while it runs.
  • Everything it printed is a click away on the row, which is where a failed install explains itself.

Which installations have an update waiting

The table is also the answer to "what is out of date here": Gateway compares each installed build against the release its manager publishes and marks the rows that differ. The Agents page carries the same mark on the card.

Next: 2.3 Monitoring, sessions and activity.

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