Skip to content

[Epic] Agent UI v2: thin host over sidecar agents #2014

Open

Description

@kovtcharov

Every agent becomes an out-of-process sidecar under a headless custodian daemon; the Agent UI, CLI, and gaia api become thin clients of one agent contract, with the UI synced to the Agent Hub for one-click install/uninstall/run (npm + frozen binaries).

Authoritative plans:

Sign-off decisions:

  1. D1 — §0.4 confirmation model: ✅ RESOLVED — stateless stop-and-hand-off (the recommended option). Phase 0/1 shipped against it: V2-2/V2-10 emit needs_confirmation and end the stream (no server-side resume). Interacts with per-agent confirmation tool-sets (refactor(agents): let agents declare their own confirmation-required tool sets (#1440) #1963).
  2. D2 — §0.9 memory/RAG custody home: ✅ RESOLVED — daemon custody for the Agent UI deployment, pluggable CustodyProvider on the sidecar side. Adopted for this build; realized by V2-12 (feat(daemon): /host/v1 custody API v1 with per-agent scoping (V2-12) #2153).
  3. D3 — §0.24 third-party trust root + containment 🔒 — STILL OPEN. Signing ownership, egress enforcement, tier-gated OAuth forwarding. Gates third-party agents (V2-16) and the distribution track's signing issues; specifics best discussed privately. The one live gate remaining.

Phases (details + acceptance criteria in the breakdown doc):

Milestone: Agent UI v2: Thin Host + Sidecar Agents [OSS].


Implementation tracking (V2-N → issue)

Issues are filed just-in-time per chunk from agent-ui-v2-implementation-breakdown.md. Each carries Part of #2014 + milestone 55.

Phase 0 — contract first

Phase 1 — daemon + vertical slice

Phase 1 hardening (fast-follows on shipped v2 code)

Phase 2 — custody / broker / clock

Phase 3 — fleet

Decision status (breakdown §4): D1 confirmation model ✅ resolved (stateless — shipped in V2-2/V2-10); D2 memory/RAG custody home ✅ resolved (daemon custody + pluggable CustodyProvider — realized by V2-12/#2153); D3 third-party trust root 🔒 still open — the one live gate (blocks V2-16 + the distribution track's signing).

Deferred / fast-follow — now FILED (parents have landed):

Activity

  1. added
    agent-ui
    epic
    on Jul 10, 2026
  2. github-actions commented on Jul 10, 2026

    @github-actions
    Contributor

    Solid epic — the contract-first phasing (Phase 0 pins the /query SSE spec before any daemon work) is the right sequencing, and the three plan docs it points to all exist and line up: the design plan, the v2 section of agent-ui.mdx, and the 19-proposal implementation breakdown. Milestone 55 currently tracks 25 open / 0 closed, so the decomposition is fully filed.

    One flag on the open decisions: D3 (third-party trust root, signing, egress enforcement, tier-gated OAuth forwarding) 🔒 is security-sensitive — as the epic already notes, its specifics are best hashed out privately rather than in this public thread. Tagging @kovtcharov-amd to own that sign-off (and D1/D2, which are architecture calls above my pay grade).

    Two things worth making explicit as Phase 2 gets scheduled, since the epic calls them out as reconciliation risks:

    🔍 Technical details

    Verified against the checkout:

  3. kovtcharov commented on Jul 10, 2026

    @kovtcharov
    ContributorAuthor

    Cross-milestone impact note from the second-pass audit — four open items in milestone 40 (v0.22.0) get reshaped or absorbed by this epic; owners there should know before investing:

    Also noted on the respective issues: #1721/#1722's install/run lifecycle re-targets the daemon (already stated in #2018), and #1723 freezes the backend v2 retires.

  4. kovtcharov commented on Jul 16, 2026

    @kovtcharov
    ContributorAuthor

    Phase-1 build issues are now filed from the live E2E round: #2108 (V2-9 render→component map) and #2109 (V2-10 email chat via /query) — the two remaining prerequisites for the UI to reach the sidecar's full agent loop. The E2E round also produced the quality/UX batch #2110–#2120 (all in this milestone); of those, #2118 (agent discovery/launch on consumer installs) and #2117 (connect-flow grants) are the demo-polish items that pair with Phase 1.

  5. itomek commented on Jul 16, 2026

    @itomek
    Collaborator

    Milestone-55 housekeeping from a planning pass today: six issues moved in from milestone 49, plus two things worth acting on.

    This epic is the milestone tracker. #1731 (multi-component Hub + Agent UI distribution — absorbed from milestone 52, children #1716–#1729) and #1896 (email in Agent UI via the frozen sidecar) are sub-tracks beneath it, not competing plans. Worth stating because it's easy to land on the wrong one.

    Phase 0 is complete — all three named deliverables are closed: #2015 (/query SSE contract), #2016 (email /query), #2017 (superseded-doc banners). Phase 1 is underway: #2018 (daemon skeleton) landed, and the two remaining prerequisites plus the E2E quality batch are already filed — see the comment above.

    Moved in from milestone 49 on 2026-07-16

    Necessary for this milestone, not for v0.23:

    Issue Why it belongs here
    #1779 · #1780 archive/quarantine and calendar on the email REST contract. #1896 names both as its own blockers — the UI can't surface either capability until they land.
    #2127 Agent UI pre-scan dead-ends when two mailboxes are connected (draft PR #2129) — an Agent UI defect.
    #2053 Model-load failures are swallowed in _ensure_model_loaded. #2109 routes UI email chat through the agent-loop /query surface this fixes; without it that surface fails generically.
    #732 · #733 SignPath OSS + Apple Developer ID — the only prerequisites for #1710 (p0).

    Two things worth acting on

    1. [Epic] Email in Agent UI via the frozen sidecar (user/dev modes) — supersedes #1767 #1896's "Blocked by" list is factually wrong. It marks feat(email): expose archive/quarantine on the email REST contract for the Agent UI #1779 and feat(email): expose calendar (create/respond/view events) on the email REST contract for the Agent UI #1780 [x], but both are still open (feat(email): restore inbox pre-scan in the Agent UI via the email REST surface #1778 and feat(email): expose inbox search on the email REST contract for the Agent UI #1781 are genuinely closed). Anyone reading that epic would conclude the REST capability build-out is finished. Worth an unchecking pass.
    2. Apply for SignPath OSS to enable Windows code signing #732 / Provision AMD Apple Developer ID for macOS notarization #733 are this milestone's critical path. They're AMD org actions — ~1 week for SignPath approval, plus Apple enrollment against AMD's D-U-N-S — nothing blocks them, and they gate Code-sign & notarize all Agent Hub artifacts (installers + agent binaries) #1710 (p0). They're the only work here whose latency engineering cannot compress, so they want starting before anything else.

    Overlap to resolve: #1710 (here — sign/notarize all Hub artifacts, installers + agent binaries) is a superset of #1650 (still in milestone 49 — sign/notarize email agent binaries). One should absorb the other.

    Milestone 49's own route is tracked in #2126; the C++ track (#1118 / #1517 / #1543) is parked there — not on target right now.

  6. kovtcharov commented on Jul 17, 2026

    @kovtcharov
    ContributorAuthor

    Milestone-55 audit sweep (2026-07-17, against head of main) — dependency spine for the remaining V2 items:

  7. 24 remaining items

  8. kovtcharov commented on Jul 18, 2026

    @kovtcharov
    ContributorAuthor

    Epic status update — Phases 0–2 complete, Phase 3 all but D3

    Sweeping the V2-N tracker against merged state, Phases 0, 1, and 2 are fully landed, and Phase 3 has only the D3-gated item left.

    Phase 0 — contract first ✅ V2-1 (#2015), V2-2 (#2016), V2-4 (#2017), V2-3 (#2149) now merged.
    Phase 1 — daemon + vertical slice ✅ V2-5 (#2018), V2-6 (#2142), V2-9 (#2108), V2-10 (#2109), V2-7 (#2150) merged, V2-8 (#2152) merged. Plus hardening #2157/#2158.
    Phase 2 — custody/broker/clock ✅ V2-11 (#2151), V2-12 (#2153), V2-13 (#2155), V2-14 (#2154), V2-15 (#2156) all merged (#2176 in-process email mount removal also merged).
    Phase 3 — fleet: V2-17 (#2178) ✅, V2-18 (#2179) ✅, V2-19 (#2180) ✅ merged. V2-16 (#2177) is the only open V2-N — gated on D3.

    The remaining gates to full completion

    1. D3 — third-party trust root 🔒 (still open) — the one live sign-off decision; blocks V2-16 (feat(hub): agent manifest schema + install-time model provisioning (V2-16) #2177) and the distribution/signing track.
    2. feat(hub): agent manifest schema + install-time model provisioning (V2-16) #2177 (V2-16) — agent manifest + install-time model provisioning (unblocks once D3 lands).
    3. In-flight PRs closing the last milestone-55 issues: feat(email): quality + robustness batch (#2110/#2113/#2114/#2115/#2116) #2192 (email quality → feat(email): register briefing + task tools in the agent loop — NL requests silently degrade to prescan #2110–feat(email): map Google's API-not-enabled 403 to an actionable error naming the enable URL #2116), refactor(hub): agent-first layout — hub/agents/<id>/<lang> #2060 (hub agent-first layout → refactor(hub): agent-first layout — hub/agents/<id>/<lang> instead of hub/agents/<lang>/<id> #2019).
    4. [Bug] Unable to install chat agent: gaia-agent-chat missing from registry and amd-gaia[agents] extra triggers downgrade #2240 — chat-agent install/registry bug (fix in progress).

    New fast-follow issues filed (parents have landed)

    The breakdown's deferred fast-follows are now unblocked and filed: # (broker-wire remaining model-load surfaces), # (file-aware frozen email binary for V2-3), # (Windows DACL for the V2-3 secret file).

    Bottom line: Agent UI v2 core is done. Full completion = land #2192/#2060/#2240, resolve D3, then ship V2-16 (#2177) and the three fast-follows above.

  9. kovtcharov commented on Jul 18, 2026

    @kovtcharov
    ContributorAuthor

    Correction — the fast-follow issues referenced above are: #2248 (broker-wire remaining model-load surfaces), #2249 (file-aware frozen email binary for V2-3), #2250 (Windows DACL for the V2-3 secret file).

  10. kovtcharov commented on Jul 19, 2026

    @kovtcharov
    ContributorAuthor

    Status update — Phase 1/2 fast-follows all landed; V2-16 + D3 remain the only open work.

    Closed tonight:

    That clears every deferred/fast-follow item in this epic except #2249 (file-aware frozen email binary, needs a release cut).

    Milestone 55 now reads 62 closed / 1 open, where the 1 is this epic.

    Why this epic stays open: V2-16 (#2177, agent manifest + install-time model provisioning) is still open and unchecked. It does not show in milestone 55's count because it sits in Multi-Component Agent Hub + Agent UI Distribution [OSS], but it is a Phase 3 item of this epic and remains gated on D3 — third-party trust root + containment (signing ownership, egress enforcement, tier-gated OAuth forwarding). D3 is the one live decision gate; it also blocks the distribution track's signing issues.

    Follow-up worth tracking on #2250: the DACL fix merged without ever executing on Windows in CI — test_unit.yml runs ubuntu-latest + macos-latest only, and the tests live in tests/unit/test_agent_sidecar_manager.py, so the pywin32 lockdown path is unexercised on the platform it exists for. A change is in flight to add that coverage and to fix the readback loop, which verifies vacuously when GetAceCount() returns 0.

  11. added
    enhancement
    daemon
    sidecar
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-uidaemonenhancementepicp2sidecar

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions