aixia-agent is a small Go program that wraps opencode, the open-source coding agent. It does three things you'd otherwise do by hand: sign you in with your Aixia account, point the agent at Aixia's own LLM gateway with a key that belongs to you, and keep the configuration up to date. Everything the agent sends (your prompts, your code, its responses) stays inside Aixia-operated infrastructure. Nothing is sent to a third-party AI provider.
The agent itself is opencode, bundled into the binary and kept current. aixia-agent only supplies the parts that make it “Aixia”: the provider wiring, model, theme, and org rules ship inside the wrapper and are re-applied on every run, so a new release updates everyone at once. Your own additions (such as MCP servers) live in a separate config that is never overwritten.
On first run the CLI starts an OAuth device flow against Aixia's authentik, which is backed by Entra and LDAP. You approve it in a browser on any device; MFA and conditional access apply automatically. The CLI never sees your password, only a short-lived session token. The session is valid for 24 hours, after which you sign in again.
After sign-in, a small key broker running in the cluster validates your token and mints a personal key for the LLM gateway. The broker is the only thing that holds the gateway's master key, it never leaves Aixia infrastructure and is never baked into the download. Because each person gets their own key, usage is attributable and a single user can be revoked without affecting anyone else.
opencode talks to Aixia's LLM gateway (a LiteLLM proxy on Aixia infrastructure) and nowhere else. There is no path to a public AI provider, and opencode's own session-sharing feature is disabled in the shipped configuration. What you type and the code in your repository are processed within Aixia and are not handed to OpenAI, Anthropic, Google, or any other outside service.
You can work straight from the terminal, or install OpenWork,
an optional desktop app (an open-source Electron front-end). Either way it
launches the same opencode on your machine, with the same per-user
key and managed config, OpenWork is just a window onto the local
agent, not a separate service, so the sign-in and the data path above are
identical. The native Windows (.msi) and macOS
(.pkg) installers bundle it; the
aixia-agent wrapper launches it with the right
environment so it inherits your Aixia configuration.
0600), and the session expires after 24 hours.
One honest caveat: the native installers (Windows .msi,
macOS .pkg) aren't code-signed with an OS vendor
certificate yet, so Windows SmartScreen and macOS Gatekeeper warn on first
open. The minisign signature and checksums still prove the download is
genuine; OS-level signing is a planned addition.