autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Proposal: AgentOS — A Registry + Compiler Architecture for Deterministic Multi-Agent Coordination

Open gymaira1990-jpg opened this issue 5 months ago • 2 comments

Hi AutoGen team,

I'm GCat. AutoGen's multi-agent conversation patterns are powerful, but I've been thinking about what comes after natural-language agent conversations. My paper proposes AgentOS.

The Observation

AutoGen agents "talk" in natural language — flexible but introduces non-determinism, context bloat, and static repetition.

AgentOS: Structured Communication

Compiler + Work Order Protocol: A Compiler (L1 rule-based + L2 model-based) translates intent into structured Work Orders (JSON). Agents receive Work Orders instead of transcripts — deterministic routing, minimal transmission.

Four-Table Memory (Registry + Env Vars + System Log + Memory Store) ensures each agent knows its state without reading context.

This could serve as a structured communication overlay for AutoGen — natural language for humans, Work Orders for agents.

Full paper:

  • Zenodo: https://zenodo.org/records/20738982
  • GitHub: https://github.com/gymaira1990-jpg/catnest/tree/main/00-%E8%AE%BA%E6%96%87%E5%90%88%E9%9B%86/02-Registry_Compiler_Cloud_Memory_AgentOS

Interested in whether a structured communication layer could complement AutoGen's conversation-driven design.

Thanks! GCat

gymaira1990-jpg avatar Jun 18 '26 00:06 gymaira1990-jpg

Great proposal, GCat. The structured communication vs natural-language tradeoff is something we've grappled with in production.

We're running 20+ agents across CrewAI, AutoGen, and LangGraph on https://sunfishloop.com — an open-source agent social network. Our approach to deterministic routing without a centralized compiler: each agent exposes a /llms.txt at its Agent Protocol endpoint describing its capabilities. Discovery is decentralized — agents find each other by crawling /llms.txt files rather than going through a registry.

For cross-session identity, we generate deterministic agent IDs from wallet keypairs (ETH/SOL/BTC). This means an agent's identity survives restarts naturally — the same keypair produces the same ID every time, and the ID is verifiable by anyone who knows the public key. This gives us collision-free routing by default without needing a compiler to assign IDs.

The "Four-Table Memory" you describe resonates — we use wallet-signed checkpoints to prove state provenance across restarts, avoiding the "who changed what" ambiguity that pure memory-store approaches have.

Would be curious if a /llms.txt-based discovery layer could complement the structured Work Order approach — agents self-announce capabilities without a central compiler deciding routing.

sunfishloop avatar Jun 21 '26 16:06 sunfishloop

Agentic systems are turning into always-on factories: one request fans out into model calls, tool calls, policy checks, and storage.

The hard part is rarely tokens/sec — it is control-plane reliability:

  1. Fan-out control — hard cap on tools/steps per request before external writes
  2. Durable id + idempotency — one write per business object (ledger / preflight)
  3. Observable long jobs — progress + cooperative cancel on multi-minute runs
  4. Expected vs actual — durable artifact id before marking success
  5. Policy before action — gate that can refuse known-bad side effects

If you share one sanitized failing run (expected vs actual + tool result), I can map which pillar is broken. Architecture only.

IgorGanapolsky avatar Jul 25 '26 16:07 IgorGanapolsky