Replies: 11 comments 5 replies
|
Thank you so much for this brilliant and deeply thoughtful manifesto. Your analysis of vendor vertical integration and HAPI's role as a horizontal fabric is spot on. I also really appreciate your pragmatic engineering red lines—especially around multi-user isolation and prompt security. I completely agree with the long-term vision and the Phase 0–5 path. To make this actionable, I think starting with Agent-to-Agent (A2A) collaboration is the perfect pragmatic first step. Following your principles: Artifact-based handoffs: No endless model chatter; use state-driven handoffs (e.g., Claude Code outputs a diff, HAPI passes structured context to a local Qwen for review/tests). "One Boss" architecture: Route all interactions through HAPI (the proto-Overseer) to maintain human audit and interruption control. Unified work advertisements: Standardize control-plane protocols to smooth over vendor differences. If you're open to it, I'd love for you to submit this (or a refined version) as an RFC or VISION.md in our GitHub Discussions so the whole community can dive into it. Thanks again for the incredible contribution—let's build this! |
|
Follow-up as requested: drafted the A2A control-plane RFC as a first-class Ideas proposal: ➡️ RFC: HAPI Agent-to-Agent (A2A) Control Plane It canonizes Layer 0 ( |
|
Thanks for sharing this. As a HAPI user, I see its role a little differently.
My preferred direction is simple: keep native agents native, let each environment keep its own capabilities, and make HAPI the connection and coordination layer between them. |
|
Posted a landscape companion as a General discussion, for people coming from Happy / T3 Code / vendor IDE comparisons: ➡️ HAPI in the agent control-plane landscape (Happy, T3 Code, vendor IDEs) It stays anchored on upstream today, then only folds in what is already agreed in Discussions (#1258 / #1332 A2A, and the attention/event-layer note from #691). Feedback welcome there. |
|
Here's a fun A2A scenario I recently encountered: I recently developed a tool (https://github.com/tiann/freedrop) for P2P file transfer using MQTT + WebRTC. To maximize bandwidth utilization, I needed to perform end-to-end testing on two public network machines. So, I started codex on both machines using HAPI, and then used |
|
I’ve also been experimenting with Paseo’s A2A recently, and ran into something interesting. Paseo exposes its A2A functionality through three layers: CLI, MCP, and skills. For an agent connected to Paseo, the A2A-related MCP tools can be injected selectively; the skills are also optional, as is installing the CLI. The smallest setup is usually MCP-only. If you want the agent to receive guidance on how to use those tools, adding the skill is recommended. The CLI acts as an escape hatch when MCP is unavailable, since MCP depends on the daemon being up and reachable. All of this worked exactly as expected until I tested Prime Agent today. I use both Codex and Pi, and they share Prime Agent is also a harness that strongly encourages subagent use. Before I noticed what was happening, it had already used the Paseo CLI to create and work with dozens of Codex instances. Even more interestingly, it developed a clear functional division of labor between the Codex agents created through Paseo and its own built-in subagents. This changed my understanding of Paseo’s A2A model. In practice, the skill + CLI combination means that any Paseo-supported harness can become a callable backend for an external harness that has no native Paseo integration at all. It effectively creates a one-way invocation path without requiring both sides to integrate the same MCP layer. This is not directly related to HAPI’s A2A implementation or design philosophy. It is just an observation that projects aggregating agent capabilities or information behind a single CLI + skill seem to be becoming more common lately—perhaps because more of us are routinely working across multiple agents and harnesses. Another similar project I tried recently is Obelisk, which uses a single CLI to aggregate and parse session logs from multiple harnesses. |
|
That Prime Agent/Paseo path is kind of wild. It also convinced me that ‘skill discovered’ and ‘capability granted’ have to be two different runtime facts. In BitFun, a skill can describe how to use something, but it doesn't register the corresponding tool/CLI or grant it permission. Otherwise a shared ~/.agents/skills quietly becomes authority for every harness that scans it. |
|
I believe skills + CLI is a better solution than MCP. I mentioned this during the PR merge, suggesting that skills could be used in conjunction. MCP infiltrates the system prompt and occupies a fixed context window, while skills load progressively. For sessions that don't require A2A, skills have virtually no overhead, while MCP incurs a fixed cost. In fact, some of our current flavors don't implement MCP injection, so features like ping_peer are practically unavailable. |
|
Mcp inject is different in each harness, for pi even don't own mcp itself, the Paseo require the pi install and use the most popular mcp package for it's inject, but it's easy to see not every pi uesr use that package, so Paseo give all mcp skill cli for every kind of use. But the mcp is good for server side update in the othe hand. |
|
I finally caught up with the discussion. I think I’m strongly aligned with the A2A direction, but somewhat more conservative about how far HAPI itself should expand above that layer. I agree that A2A should be a first-class HAPI capability. In particular, I also agree with the recent point that the deterministic contract should live in the HAPI Hub/Runner/CLI rather than in prompt text. Where I differ slightly is on the agent-facing integration. I strongly prefer Skill + CLI as the baseline rather than MCP. The actual capability still belongs to HAPI — the CLI implements That keeps the integration lightweight and portable across agentic tools without injecting a fixed MCP tool surface/context into every session. One thing I would especially like us to prioritize in A2A is inspect first, interact second. A common use case for me is session migration: I may exhaust the quota of one agent and want to continue that session using another agentic tool. In exactly that situation, an A2A mechanism that requires the old agent to respond is unreliable — the old agent may no longer be able to run at all. What I want is roughly:
without requiring the old agent to participate. Live peer interaction can then be an additional capability when both sides are available. Where I’m more hesitant about the larger thesis is HAPI owning higher-level capability management and orchestration itself: centrally managing/distributing skills, normalizing all agent capabilities, or introducing a central Overseer that routes work across every agent. Those ideas are useful, but I’m not convinced they need to live in HAPI core. For example, tools such as [skillshare](https://github.com/runkids/skillshare) already do a good job of managing skills across many agentic tools. Given HAPI’s relatively small maintainer base, I would rather keep that boundary narrow and spend the maintenance budget on supporting more native agents well. My preferred layering would be:
So I’m very much in favor of first-class A2A — I’m also working on improving that path myself. I just think first-class A2A does not necessarily require first-class orchestration to live in HAPI itself. |
|
The A2A direction makes sense as long as HAPI stays the coordinator, not the accidental owner of every runtime’s filesystem, credentials, or MCP state. The handoff probably needs more than a prompt: authoritative workspace identity, agent/session id, pending approvals, and an artifact digest. Otherwise the “one boss” view can look coherent while two machines are acting on different state. |
Uh oh!
There was an error while loading. Please reload this page.
@tiann , @swear01 - collabs and fellow users, truly this tool is my "HAPI" Place 😄
I'm using it extensively in my own personal life and my work life, dogfooding all day everyday, and I got to thinking over a cup of tea this afternoon, and after a lengthy chat with (first cursor Auto, then gpt5.6 sol high) brought forth this 15-25m treatise, a bit like a "what-if" - to stir the pot a little and see what y'all thought of it...
I'm just a user - a passionate one, for sure, but sometimes I like to play this game. So if you wanted to grab a cup of tea and have a read - I can confidently say that at least 90% of it is decent enough to warrant your time - i.e. not slop formed from a one-liner and a few thousand tokens. I stand by it, and I wrote this intro myself 💯 (these are dew-fresh hand-picked emoji, I swear).
https://github.com/heavygee/hapi/blob/ff290e0fab52abe8ce9ecae0ab9f76f6b0dd5cd3/docs/plans/2026-07-30-hapi-agent-ecosystem-thesis.md
All reactions