Note
Experimental! AgentForge WebUI is the front-end I tinker with to see how AgentForge feels as a full chat app: every mode, the tools, connectors, and the live think-act-observe stream in one place. It is early, lightly tested, and rough in the corners I haven't needed yet.
AgentForge WebUI is a React SPA for AgentForge.
It's a pure frontend: it streams the agent's think > act > observe loop over the backend's /ws/chat WebSocket and calls its REST API for sessions, uploads, memory, and configs. It does nothing on its own — a running AgentForge backend is required!
Important
Backend version: WebUI 0.3.0+ needs AgentForge v0.13.0 or newer.
The Command Permissions modal (overrides + profiles) depends on APIs and schema from that release (/api/permissions/commands/*, /api/permissions/profiles/*, session source filtering, etc.). Older backends will fail those endpoints (e.g. 404).
- Streaming chat over the
/ws/chatWebSocket, with the full think > act > observe event stream rendered live - Mode picker for the
@modeprefixes (chat, docs, search, agent, sql, logs, discover, pipeline, review, research, coding, scheduler, monitor, connectors, and custom agents), each with its own colour - Per-event message cards: routing, config, tool calls, confirm + secret dialogs, results, summaries, errors, search metadata, discovery, research, scheduler/monitor jobs, file diffs, agent warning/recovery/retry/escalation, model fallback, and session compaction
- Command Permissions modal: manage shell/SSH allowlist, denylist, and confirm policy (runtime overrides on the AgentForge backend), plus named profiles (YAML baseline, blank slate, builtins
tight/open, save-as / delete user profiles) - Connectors UI: connect and manage multi-account Google (Gmail, Drive, BigQuery, YouTube), GitLab, and GitHub connections, with per-connection product/permission display and an in-place read/write toggle
- Canvas workspace for pinned snippets, results, and queries
- Bookmarks: save tool-call sets and agent answers from any run, fuzzy-searchable in a modal
- Botty side panel for passive, in-context suggestions and full semantic-searchable chat session history
- Session sidebar, status bar, knowledge bar, memory settings, profile and provider selectors, and a help modal
- Context-usage bar with one-click session compaction at the critical threshold
- Eager file uploads: paperclip, clipboard paste, or drag-and-drop with inline thumbnails. Unset attachments persist across reloads
- GitHub-flavoured Markdown rendering and a Monaco-based inline prompt editor
Prerequisites:
- Node 20.19+ (
enginesinpackage.json) - A running AgentForge backend v0.13.0 or newer (
scripts/deploy-local.shbrings the stack up with the web service on:8200)
npm install
npm run dev # Vite dev server on http://localhost:5173The dev server proxies /ws, /api, and /uploads to the backend. The target defaults to http://localhost:8200; override it with VITE_BACKEND_URL:
VITE_BACKEND_URL=https://agent.remote npm run devnpm run build # production build to dist/
npm run preview # serve the build locallyscripts/deploy-web-local.sh builds the SPA and runs it on this host as a standalone nginx container (Dockerfile + docker-compose.web.local.yml). It serves the static bundle and reverse-proxies /ws, /api, and /uploads to your AgentForge backend — nothing leaves the machine.
scripts/deploy-web-local.sh # build + run, detached, on http://localhost:8400
scripts/teardown-web-local.sh # stop and remove itIt expects an AgentForge backend reachable at http://host.docker.internal:8200 (the default from the backend's scripts/deploy-local.sh).
Flags:
--dev(alias--hot): skip the container and run the Vite dev server with hot reload on the same port, proxying/ws/api/uploadsto the backend. The fast inner loop: no image, no rebuilds, instant reloads on save--no-build: recreate the container without rebuilding the image--no-cache: force a clean image build (no Docker layer cache)--foreground: run attached and stream logs instead of detaching
Defaults come from deploy-web.local.env (optional: copy deploy-web.local.env.example): WEB_PORT (default 8400) and AGENT_BACKEND (default http://host.docker.internal:8200).
|
|
| Web search: routing, a tool call, and a sourced answer with a summary table | A date-range run: ranked, sourced results plus a note on what it excluded as out of range |
More demo screenshots: mode picker · provider selector · skills · connectors · bookmarks · memory · profile overrides · attachments · private session · help · command permissions
MIT, see LICENSE.