mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[GH-ISSUE #6] Add a Web UI for the AgentENV control plane #1
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LSX-s-Software on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/kvcache-ai/AgentENV/issues/6
Summary
Add a standalone Web UI for the AENV control plane so operators and developers can inspect cluster state and manage sandboxes, snapshots, and templates without calling the HTTP API or CLI directly.
The first version should be a control-plane management console built on top of the existing Gateway and AENV HTTP APIs. Interactive terminals, file management, and other sandbox data-plane features can be considered separately.
Motivation
AENV already exposes most lifecycle and observability capabilities through its E2B-compatible HTTP API and distributed Gateway, but using them currently requires API knowledge or command-line tooling. A Web UI would:
Proposed scope
1. Control-plane connection and authentication
X-API-Keyfor sandbox, snapshot, and template APIs.X-Admin-Tokenfor node APIs.2. Cluster dashboard
Provide an overview page showing, where permitted:
ready,draining,connecting, andunhealthystate.When the admin token is absent, node and cluster-resource panels should show a permission notice without breaking the rest of the dashboard.
3. Node views
Node list
Node detail
The first version should expose the read-only capabilities of the current node API. Node drain, delete, or scheduling configuration is out of scope unless separate control-plane APIs are added.
4. Sandbox management
Sandbox list
Create sandbox
Support both existing creation paths.
From a template or snapshot:
pauseorkill).Cold start from an OCI image:
The form should provide basic and advanced sections, validate required fields and documented ranges, and show a request summary before submission.
Sandbox detail
Lifecycle operations
Destructive or high-impact actions such as kill, multi-fork, template deletion, and network-policy replacement should require confirmation. Duplicate submissions should be disabled while an operation is in progress.
5. Snapshot management
Snapshot list
Snapshot detail
Snapshot deletion is not part of the initial UI because the current public control-plane API does not expose a snapshot delete operation.
6. Template and build management
Template list
building,waiting,ready, anderrorstates.Create and build templates
Provide a guided flow to:
Template detail
7. General UX and reliability
401,403,404,409, and5xxresponses.Deployment expectations
Non-goals for the initial version
These can be separate follow-up features, especially because terminal and file access belong to the sandbox data plane rather than the control-plane management surface.
Acceptance criteria
Future API opportunities
The UI can initially use the existing API, but the following capabilities may justify separate control-plane issues:
@immanuel-peter commented on GitHub (Jul 27, 2026):
I can work on this 🙋♂️
@immanuel-peter commented on GitHub (Jul 29, 2026):
Status update (Web UI stack)
Implementation is up as a 4-PR stack against
main:Done
X-API-Key, optionalX-Admin-Token, connectivity probe, httpOnly session cookies, logout clear, masked secrets in UIweb/service, Compose + Kubernetes, Gateway-only, getting-started + deploy docsNot done / partial
/connect; running sandboxes have Set timeout but no Connect action to extend TTL via/connectnextTokenis fetched but Next/Prev isn’t wired (snapshots pagination is)@immanuel-peter commented on GitHub (Jul 31, 2026):
As per #76, I will make a separate repo to hold the web UI for AgentENV to be managed independently of the main repo.