Agent WebUI
Overview
Agent WebUI is the browser interface for Graph OS. It combines streaming agent chat, governed tool use, live graph activity, knowledge exploration, and operational views in one responsive React application. A FastAPI serving layer hosts the built application, adapts browser protocols, and composes the authoritative Graph OS gateway surface. Current package Version: 2.6.0.
Read the documentation · Explore the architecture · View the feature reference
Key capabilities
- Streaming agent workspace — text, reasoning, sources, tool calls, attachments, elicitation forms, and human approval in a single conversation timeline.
- Live orchestration visibility — specialist routing, parallel work, tool binding, verification, and completion events rendered as they happen.
- Atlas knowledge workspace — guided and expert paths for documents, memories, graph data, code intelligence, object sets, and tables.
- Ontology operator tools — search, pivot, aggregate, edit, and inspect typed objects while preserving authorization, provenance, and history.
- Governed MCP Apps — same-origin tool delegation and sandboxed
ui://resources; credentials and service authority never enter the browser. - Operational surfaces — agents, skills, workflows, schedules, services, files, configuration, observability, and deployment state.
- Multiple client protocols — AG-UI streaming by default and optional ACP sessions, both using the same orchestration path.
The full view and endpoint inventories live in the feature reference, not in this entry page.
Architecture
flowchart LR
Browser[React browser app]
Web[Agent WebUI FastAPI host]
OS[Graph OS gateway]
Engine[epistemic-graph]
Fleet[Agents, skills, MCP and A2A]
Browser -->|AG-UI, ACP, REST, WebSocket| Web
Web -->|authenticated gateway contract| OS
OS -->|typed engine client| Engine
OS -->|governed execution| Fleet
The boundaries are intentional:
- Agent WebUI owns presentation and browser-safe protocol adaptation.
- Graph OS owns authentication, composition, routing, and public gateway contracts.
- epistemic-graph owns durable graph state, queries, reasoning, and evidence.
- Agent Utilities owns agent and workflow control-plane behavior.
The WebUI does not create a second graph authority, connector runtime, or scheduler. Browser requests reuse the gateway's canonical routes, and privileged MCP operations are performed only through host-injected, audited delegation ports. See the architecture guide for the protocol and component maps.
Quick start
Agent WebUI is published as a Python package and in its own container image for Graph OS deployments. Python 3.12–3.14 is supported.
python -m venv .venv
source .venv/bin/activate
python -m pip install agent-webui
The wheel is a composable frontend/serving component. A complete deployment also needs compatible Graph OS, Agent Utilities, and epistemic-graph services. Follow the deployment guide rather than assembling those services from unpinned packages.
Development
Prerequisites: Python 3.12+, Node.js (the version in .node-version), pnpm,
and uv.
git clone https://github.com/Knuckles-Team/agent-webui.git
cd agent-webui
pnpm install --frozen-lockfile
uv venv --python 3.12
source .venv/bin/activate
uv pip install -e '.[test]'
cp .env.example .env
Start the backend and frontend in separate terminals:
pnpm run dev:server
pnpm run dev
The example environment file documents provider and development settings. Never
commit .env or raw credentials. Remote serving is fail-closed: it requires an
explicit host allowlist and a verified JWT/OIDC configuration. Run the security
doctor before exposing the service:
python -m agent_webui.server --security-doctor --host 0.0.0.0
See Deployment and operations for the complete security boundary, image workflow, Kubernetes contract, and rollback procedure.
Test and build
pnpm run typecheck # TypeScript
pnpm run lint # ESLint
pnpm run test # Vitest
pnpm run test:e2e # Playwright
pnpm run build # production frontend + packaged assets
uv run --all-extras pytest agent/agent_webui/__tests__
pre-commit run --all-files
Deploy
Use the repository-owned deployment script:
docker/deploy.sh
Useful non-deploying modes are:
docker/deploy.sh --build-only
docker/deploy.sh --skip-deploy
Do not substitute an ad hoc image build or a rollout restart. Production is deployed by immutable image digest, and the live-mounted frontend bundle must be updated alongside the backend. The script performs both checks and prints a rollback digest before making changes. The deployment guide contains the full operator contract.
Documentation
- Documentation home
- Architecture and protocols
- Agents and graph events
- Atlas knowledge workspace
- Capability Workbench
- Ecosystem integration
- Deployment and operations
Contributing
Issues and pull requests are welcome. Before submitting a change, run the
relevant frontend or backend tests followed by pre-commit run --all-files.
Keep public examples free of credentials, private endpoints, machine-specific
paths, and operational data.
License
Agent WebUI is available under the MIT License.
Metadata
Release files for agent-webui 2.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agent_webui-2.6.0.tar.gz | 5.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agent_webui-2.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 MB
Release files / agent_webui-2.6.0.tar.gz
| Download URL | agent_webui-2.6.0.tar.gz |
|---|---|
| Size | 5.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2ed7dade7ee8b8d153d17bed9f60920f29dfab965a0efe606eeebc7c4bf8cfd
|
|
BLAKE2b-256 checksum How to use checksums |
403a56aad03f3bcdbc3be51b82c6fc8588eed6b05858a11826a0d7e518006e93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / agent_webui-2.6.0-py3-none-any.whl
| Download URL | agent_webui-2.6.0-py3-none-any.whl |
|---|---|
| Size | 5.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecfaf21c38461c2f1e262ae637b0c92168d0aacc76b97a53a25a8ad810a974f2
|
|
BLAKE2b-256 checksum How to use checksums |
f3f3b6c50f978f701f72b49feed18f03699729fc3dbd020a25c1288e5a7447b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|