Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

docs: make the console and client first-class in the pitch and diagrams

Jose Ramirez0d6f3bc2d898
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index bf288e3b2..5a31dbd33 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -97,6 +97,9 @@ every read and write is an authorized, audited API call rather than a raw mount.
| [desktop-app](desktop-app/) | Electron + React client; authenticates via `external-rest-api`, calls `rpc-proxy` |
| [packages/](packages/) | Shared libraries: `image-policy`, `workflow-recipe-capability-policy`, `workflow-runtime-core`, `workflow-sdk` |
+Product-level treatment of `control-ui`, `desktop-app`, and `profile-ui` as the
+platform's three human surfaces: [docs/surfaces/README.md](docs/surfaces/README.md).
+
## CRDs
`Host`, `Context`, `McpServer`, `CommunicationChannel`, `WorkflowRecipe`,
@@ -108,6 +111,8 @@ page each under [docs/crds/](docs/crds/), shipped in
flowchart TB
user[Telegram / Email / Slack] --> cr[channel-reader]
desktop[Desktop App] --> rpc[rpc-proxy]
+ cui[control-ui] --> capi
+ pui[profile-ui] --> era[external-rest-api]
hook[Provider webhooks] --> wp[webhook-proxy] --> wg[webhook-gateway]
cr --> mh[mcp-host]
@@ -119,6 +124,7 @@ flowchart TB
capi[control-api] -->|workspace writes| wfc[workspace-files-controller]
capi --> crd[(CRDs)]
+ era -.mints scoped RPC tokens via.-> capi
hcc[host-context-controller] -.creates.-> mh
hcc -.creates.-> mcp
diff --git a/README.md b/README.md
index ab58a9950..babef8de3 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ One command (`make minikube-setup`) brings the whole platform up locally.
## The platform
-evenfire is not just an agent runtime — it is eight first-class capabilities,
+evenfire is not just an agent runtime — it is nine first-class capabilities,
each backed by code in this repo and declared as configuration. Start anywhere;
each pillar links to its depth.
@@ -45,6 +45,13 @@ each pillar links to its depth.
desktop, and workspace files, plus artifact generation, persistent memory, and
human-in-the-loop approvals on the risky calls. →
[mcp-host/README.md](mcp-host/README.md)
+- **Console & client** — the two human surfaces. A **Control UI** console where
+ admins govern the fleet: token usage by team, model, agent, and desktop user;
+ budgets and model prices; per-tool approval overrides; connector egress
+ policy; a trust-rated connector registry. And an Electron **Desktop App**
+ where people actually use the agents: chat, a live tool-call timeline, in-chat
+ approvals, and artifacts — no Telegram bot and no curl required. →
+ [docs/surfaces/README.md](docs/surfaces/README.md)
- **Connectors (MCP)** — governed MCP servers with per-`Context` allowlists
enforced by NetworkPolicy (not convention); any stdio tool plugs in through
the bridge; remote SaaS connectors sit behind a pinned egress proxy. →
@@ -163,7 +170,9 @@ npm run ui # Control UI + Profile UI + Desktop App
Log in as `[email protected]` / `changeme123!`, message the `chatllm` agent, and
ask it to run a command or generate a PDF — then approve the tool call from the
-chat.
+chat. The Desktop App is the client you just used; Control UI is the admin
+console for the same fleet — both are toured in
+[docs/surfaces/](docs/surfaces/README.md).
Prefer the API path? The full curl walkthrough exercises the real session →
scoped-RPC → rpc-proxy JWT chain, with troubleshooting notes:
@@ -179,11 +188,14 @@ scoped-RPC → rpc-proxy JWT chain, with troubleshooting notes:
flowchart LR
TG([Telegram / Email / Slack]) --> CR[channel-reader]
DA([Desktop app]) --> RP["rpc-proxy<br/>(scoped JWTs)"]
+ ADM([Admin]) --> CU["control-ui<br/>(console)"] --> CAPI["control-api"]
+ CAPI --> CRDS[("clerum.io CRDs")]
CR --> MH["mcp-host<br/>agent runtime · approval gate"]
RP --> MH
MH <--> LLM[("OpenAI · Claude<br/>Z.AI · Bailian")]
MH --> HCC["host-context-controller<br/>connector discovery"]
MH --> MP[mcp-proxy] --> MCP["MCP servers<br/>(HTTP · stdio via bridge)"]
+ CRDS -.watched by.-> HCC
HCC -. "reconciles CRDs,<br/>generates NetworkPolicies" .-> MCP
```
@@ -192,7 +204,10 @@ Messages arrive through `channel-reader` or the desktop app (via `rpc-proxy`).
MCP tools — pausing for human approval when policy requires it.
`host-context-controller` reconciles `Host`, `Context`, and `McpServer` CRDs
into Deployments, Services, and NetworkPolicies; the `workflow-recipes` operator
-does the same for multi-step workflow workloads. Ports, token flows, and the
+does the same for multi-step workflow workloads. Admins drive the same CRDs
+from the Control UI console through `control-api`, so the declarative substrate
+is what the UI writes, not something it bypasses — see
+[docs/surfaces/README.md](docs/surfaces/README.md). Ports, token flows, and the
four-layer network model live in the architecture docs:
[ARCHITECTURE.md](ARCHITECTURE.md) ·
[docs/architecture/overview.md](docs/architecture/overview.md) ·