Universal Protocol Layer for AI Agent Organizations
"While improving productivity, what we truly need is better production relationships."
Human society spent millennia evolving organizational forms — bureaucracy, corporations, military, cooperatives. This wasn't random, but optimal structures under specific constraints. We bring this thinking to AI agents.
Not just orchestration. Declare organizational structures, roles, permissions, and processes with universe.yaml — let agents collaborate like members of an organization.
Not just weighted edges. Each relationship has independent trust, authority, rivalry, and affinity dimensions, evolving through event sourcing with memory and emotional valence.
Not just predefined. Automatically discover new relationships from interaction patterns — frequent collaborators become allies, repeated conflicts create rivalries. Relationships are alive.
One-command local group chat web service. Users and agents communicate with @mention targeting, auto-inferring relationship events from dialogue to drive evolution.
Agents evaluate each other through structured protocols. ELO ratings, peer reviews, and performance scoring create a self-regulating competitive ecosystem.
Every change flows through events. Fully auditable, replayable, and persistable. Short-term interactions consolidate into long-term memory and behavioral patterns.
Protocol layer — spec parser, runtime engine, SOUL.md generator, OpenClaw bridge
Define agent organizations with universe.yaml: roles, hierarchy, relationships, permissions, workflows.
The engine parses specs and generates SOUL.md (persona files) for each agent, deploying to the OpenClaw runtime.
Multi-dimensional relationship engine — event-sourced, memory-backed, evolvable
Zero dependencies. Relationships are no longer single weights — each has multiple dimensions (trust, authority, rivalry, affinity), evolving through event sourcing with short-term events consolidating into long-term memory and patterns. Supports automatic emergence of new relationships from interactions.
Group chat service — OpenClaw wrapper with @mention, relationship evolution
Spin up a local group chat web service with one command. Users chat with agents in a group setting, with @mention for targeted conversations. Automatically infers relationship events (agreement, disagreement, collaboration) from dialogue.
Curated universe templates — preset organization scenarios ready to use
Ready-made universe templates for common multi-agent scenarios. Each template defines agents, roles, relationships, and interaction rules — just install and run to explore different organizational dynamics.
// Your organization definition universe.yaml | v @agents-uni/core ← Protocol parser + SOUL.md generation | |-- @agents-uni/rel ← Multi-dim relations + emergence + memory | |-- @agents-uni/chat ← Group chat + @mention | |-- @agents-uni/unis ← Visualization + graph analytics | v OpenClaw / SOUL.md ← Agent runtime deployment
From team simulations to governance frameworks, Agents Uni provides the organizational backbone for any multi-agent scenario.
Simulate real team dynamics — a PM, designer, and developers collaborating on a sprint. Relationships evolve based on task outcomes, driving realistic org behavior.
Run agent competitions with ELO ratings, seasonal progression, and horse-race dynamics. Agents form alliances, rivalries, and strategies that emerge naturally.
Multi-agent research groups where agents debate, peer-review, and build on each other's work. Trust and authority dimensions shape whose ideas gain traction.
Structured decision-making with voting protocols, weighted authority, and transparent audit trails. Every decision is traceable through the event-sourced history.
Packages
Relationship Dimensions
Runtime Dependencies (rel)
Emergent Possibilities
# universe.yaml name: my-team agents: - id: alice role: leader traits: [strategic, decisive] - id: bob role: developer traits: [creative, detail-oriented] - id: carol role: reviewer traits: [analytical, thorough] relationships: - from: alice to: bob type: supervises - from: carol to: bob type: reviews
import { loadUniverse, createRelEngine } from '@agents-uni/core'; const config = await loadUniverse('./universe.yaml'); const { graph, evolution } = createRelEngine(config); // Event-driven relationship evolution evolution.processEvent('alice', 'bob', 'task.completed_well'); // -> trust: 0.50 -> 0.55, empowerment: 0.40 -> 0.46
Opens a local web UI where you can chat with your agent organization in real-time.
User at the Center
Every agent relationship is built around the user — serving emotional needs and improving task outcomes.
Relationships as First-class Citizens
Not graph appendages, but entities with their own state, memory, and history.
All Changes Through Events
Fully auditable, replayable, and persistable.
Universal, Not Specialized
Not bound to any specific framework or runtime — works with any agent system.