UAIX / AI Memory / Handoff

Executive Summary

Report summary

UAIX.org today provides standardized AI memory files and UAI-1 messaging rules, but leaves actual agent orchestration to external tooling. Vercel’s new Eve framework offers a fully managed multi-agent platform: filesystem-defined agents, durable workflows, sandboxes, telemetry, scheduling, approvals

Status
Research archive item
Category
UAIX / AI Memory / Handoff
Length
2,847 words
Reading time
13 minutes
Report type
guidance

Key topics

  • UAIX / AI Memory / Handoff
  • UAIX
  • AI Memory
  • Handoff
  • AI
  • UAI
  • Project Handoff
  • WordPress
  • .NET

Research provenance

Archive status
Research archive item
Content identity
sha256:b0958108aad139d305d603b909b87c50775ac1b68b8de0b31da8573a37270484

For citation, use the report title and canonical URL. Archival presence does not establish authorship or promote report statements into portfolio evidence.

This page renders the archived Markdown as safe, formatted HTML. It is background research and does not become a portfolio claim without evidence review.

Full report

On this page

UAIX.org today provides standardized AI memory files and UAI-1 messaging rules, but leaves actual agent orchestration to external tooling. Vercel’s new Eve framework offers a fully managed multi-agent platform: filesystem-defined agents, durable workflows, sandboxes, telemetry, scheduling, approvals, and multi-channel connectors, all built into a CLI-driven developer experience. Key gaps in UAIX’s “hive” support include lack of a runtime orchestrator, limited developer tooling, and no built-in observability. We recommend UAIX adopt a similar filesystem-first agent structure (with Markdown instructions and TS tools), add a CLI/SDK for scaffolding and running agents, integrate durable execution and sandboxing, and improve memory handling (e.g. local DBs instead of just YAML files). Concretely, UAIX should develop a reference multi-agent harness (or collaborate with one like OpenHive/Carcinus), provide a CLI (e.g. uaix init), and enable OpenTelemetry tracing of UAIX sessions. A phased roadmap (Short: CLI/wizard improvements; Mid: durable workflows, sandbox, channels; Long: plug‑in ecosystem, cloud hosting) and migration plan (e.g. converting .uai to DB entries) is provided. Tables compare UAIX vs Eve on key attributes; Mermaid diagrams illustrate setup flows and agent orchestration.

Architecture & Components

  • UAIX (Current): A WordPress-hosted platform publishing the UAI-1 spec, schemas, and tools like the AI Memory Package Wizard. Agents and memories live as filesystem YAML/Markdown (.uai) files. The “hive” setup is essentially static: UAIX provides protocols and file templates, but does not implement any workflow or runtime.
  • Vercel Eve: A full framework on Node/TypeScript, where each agent is a directory (with agent.ts, instructions.md, tools/, skills/, etc.). The framework compiles this filesystem into a running service: it wires up durable workflows, sandboxes, channels, and connectors automatically. Agents can include tools/ (TS files), skills/ (Markdown), subagents/, channels/, and schedules/ subfolders.
  • Recommendation: UAIX should adopt a similar file-system-first structure. For example, define an AGENT.md or AGENTS.md file for identity, a directory of .uai context and memory files, and code directories for tools. A CLI (uaix init) could scaffold a workspace with these folders (much like npx eve init my-agent). This makes projects self-describing: each file’s purpose is clear, improving UX (see Table below).
AspectUAIX (Today)Vercel EveRecommendationEffort (est)
Project LayoutFree-form with .uai files & AGENTS.md templatesStrict FS conventions: agent.ts, Markdown instructions, tools/, skills/, etc.Define UAIX “agent project” conventions: e.g. instructions.md, tools/, .uai/ with standard files; provide CLI scaffolding.Short (1–2 mo)
Metadata & ConfigYAML front-matter in AGENTS.md, .uai filesTypeScript configs (e.g. defineAgent({ model: ... })) and front-matter in Markdown for skills/tools.Continue YAML for memory, but allow C# or JSON config classes (with e.g. [Display] attributes) to generate .uai.Short
Runtime EnvironmentNone (clients run locally or via custom orchestrators)Built-in sandbox per agent (Docker/Vercel Sandbox), durable execution (Workflow SDK)Build a UAIX agent runner or adopt an open orchestrator. Enforce sandbox for any code tools; e.g.: uaix run command could spawn Node/C# agents in isolation.Mid (3–6 mo)
Memory Storage“Hot” .uai files + external long-term (Wikis, DBs)In-memory session + optional external DB (via connections)Support a local-first DB (e.g. SQLite) for .uai data to speed reads, as per local-memory architectures. Migrate .uai records to this DB over time.Mid (3–6 mo)

Agent Lifecycle & Orchestration

  • UAIX: Agents are external (e.g. ChatGPT, Claude) or homegrown, reading .uai context, performing tasks, and writing .uai progress and decisions back. UAIX itself does not orchestrate the run or spin up agents. Multi-agent workflows are hand-coded: one might call agent B from agent A by writing a UAI-1 handoff packet and waiting. UAIX only standardizes the messages exchanged (via UAI-1).
  • Vercel: Agents are live services. eve dev launches an interactive CLI session. Each “conversation” is a durable workflow: every step (model call, tool call) is checkpointed so it can pause, survive crashes, and resume. For multi-agent, Eve supports “subagents”: parent agents can call subagents (found in subagents/ directories) just like tools; the subagent runs a clean context and returns results. Scheduling (cron files) can start agents automatically.
  • Recommendation: UAIX should provide a reference orchestrator (or partner with one). For example, define a UAIX CLI (uaix run) that reads UAI-1 packets and coordinates agent calls, much like Carcinus or OpenHive. Implement a durable session log (akin to Eve’s workflow SDK): e.g. store intermediate steps in the database so runs can resume after failure. Introduce a “subagent” concept: allow defining specialized agents and delegates. For example, a C# orchestration class could look like:
public class AgentOrchestrator
{
    [Display(Name="Agent Endpoint")]
    public string EndpointUrl { get; set; }
    [Display(Name="Handoff Packet")]
    public UaiPacket HandoffData { get; set; }

    /// <summary>
    /// Sends a handoff to the external agent endpoint, returns its response packet.
    /// </summary>
    public async Task<UaiPacket> DelegateToAgentAsync() {
        // (HTTP POST to EndpointUrl with HandoffData, handle UAI-1 response)
    }
}

Instead of manual scripts, UAIX could use such a runtime class to automate delegation, await completion, and log results.

sequenceDiagram
    participant Dev as Developer
    participant UAIXWizard as AI Memory Wizard
    participant Agent as New Agent
    Dev->>UAIXWizard: Run wizard (select preset, configure)
    UAIXWizard-->>Dev: Generates `.uai` files and zip package
    Dev->>Agent: Deploys agent with those files
    Agent->>Agent: Agent loads `.uai` memory, constraints, etc.
    Agent->>Agent: Executes model + tools as per instructions
    Agent-->>UAIXWizard: Optionally sends output (to simulate handoff)
    UAIXWizard-->>Dev: Updated memory package or logs

Figure: Setup flow – the UAIX wizard produces .uai starter files (left). By contrast, a Vercel Eve setup is CLI-driven (eve init) and yields a code project with TS files.

sequenceDiagram
    participant ParentAgent as Agent A
    participant SubAgent as Agent B
    participant UAIXRecord as UAIX (UAI-1 ledger)
    ParentAgent->>UAIXRecord: Send handoff packet to B (UAI-1 message)
    UAIXRecord-->>SubAgent: Delivers instructions/constraints (from packet)
    SubAgent->>SubAgent: Processes task (model + tools in sandbox)
    SubAgent->>UAIXRecord: Writes result packet (final report)
    UAIXRecord-->>ParentAgent: Supplies B’s response
    ParentAgent->>ParentAgent: Continues workflow with B’s result

Figure: Multi-agent handoff – Agent A delegates work to Agent B via UAIX’s messaging. UAIX records the handoff and result, enabling traceability. Vercel Eve would do this via an internal subagent call.

Developer UX (Setup, CLI, SDKs, Docs)

  • UAIX: Setup is primarily via the AI Memory Package Wizard web UI. There is no official CLI or SDK; developers must manually create .uai files or copy from presets. API Reference exists (REST routes for schemas), but no agent runtime SDK. Documentation is spec-heavy (numerous guides on memory, handoffs, etc.). This is powerful for standards, but poor for getting started – one writes YAML by hand.
  • Eve: Developers use a CLI (npx eve init, eve dev, eve deploy). The framework scaffolds code files automatically (e.g. channels/slack.ts when you run eve channels add slack). Tools and skills are simple text/TS files – no boilerplate. Observability is built into the CLI and Dashboard (e.g. eve eval for tests). Eve’s docs and blog give live code examples.
  • Recommendation: Provide similar tooling. For example:
  • A UAIX CLI (e.g. uaix init, uaix validate, uaix run) that generates .uai templates and checks conformance.
  • Integrate editors/IDEs via language bindings. E.g., in C# or TypeScript show an example command:
// TypeScript example: define a tool using Eve-like API
import { defineTool } from "uaix"; // hypothetical UAIX SDK
export default defineTool({
  description: "Run a read-only SQL query against the orders table",
  inputSchema: {
    query: { type: "string", description: "SELECT query" }
  },
  async execute({ query }) {
    // Execute query securely (e.g. via UAIX database connection)
    const results = await executeQuery(query);
    return { rows: results };
  },
});

(In this TS snippet, defineTool wires up the metadata. Note: use number or string for types, since Int32 is not a TypeScript type.)

For developers more comfortable in C#, a similar design could use attributes:

public class SqlTool : IAgentTool
{
    [Display(Name="SQL Query")]
    public string Query { get; set; }

    /// <summary>Executes a read-only SQL query.</summary>
    public async Task<SqlResult> ExecuteAsync()
    {
        // (Assume a DB context is available)
        var result = await db.ExecuteReadOnlyQueryAsync(Query);
        return new SqlResult { Rows = result.Rows };
    }
}

(Fields use [Display(Name="...")] without “Id” suffix as per UAIX guidelines. Comments (///) can be added to describe parameters.)

Providing language-specific examples and SDKs (for C#, TS, etc.) will greatly ease adoption. Update docs with “getting started” guides analogous to Eve’s, showing the filesystem layout and simple code stubs.

Deployment & Scaling

  • UAIX: Currently, UAIX is a public standards site (WordPress) and a repository of .uai bundles. There is no hosted agent platform. Teams run agents on their own infrastructure. Scaling is manual (run more model instances as needed).
  • Eve: Agents auto-deploy to Vercel with vercel deploy. The same code that runs locally runs in the cloud with zero changes: sessions continue through deploys. Vercel’s underlying auto-scaling (Edge functions, Serverless) handles demand. Additional support (e.g. Vercel “Agent Runs” tab) visualizes load.
  • Recommendation: If UAIX builds an orchestrator, containerize it and use cloud resources. For example, a Docker image could run UAIX agent code, use Kubernetes or serverless platform for scaling. Provide templates (e.g. Azure/AWS) for deploying UAIX services. Consider offering a managed “UAIX hive” service in the future (free for community, paid for enterprise).

Table: Deployment Comparison and Effort

DimensionUAIX (Today)Vercel Eve (Cloud)UAIX ImprovementEffort
Hosting ModelOn-prem / self-hosted docsHosted on Vercel (serverless)Provide Docker/K8s deployment scripts; consider managed optionsMedium (3 mo)
ScalabilityManual scalingAuto-scaling via VercelLeverage cloud (AWS, Azure) for VAUX, or integrate with Vercel SandboxesMedium
ResilienceNo built-in recoveryDurable workflows survive faultsImplement checkpointing (e.g. DB logs of UAI-1 packets) for restartMedium

Security & Permissions

  • UAIX: Emphasizes memory safety and audit. The Memory Firewall treats all imported data as untrusted until validated. UAIX explicitly forbids treating memory packets as executable code. Agents must obtain explicit consent for sensitive actions (Agent Consent Boundaries) and must not store secrets in memory. UAIX actors are assigned capability levels (L0–L6), with multi-agent runtime (L5) requiring clear handoff and audit.
  • Eve: Implements sandboxing per agent: agent-written code runs in isolated containers (local Docker or Vercel Sandbox) separate from the orchestrator. Eve’s connections feature handles secure credentials (via Vercel Connect) so agents never see raw tokens. Human approvals are built-in (tools can request approval at runtime).
  • Recommendation: UAIX should adopt sandboxing and least-privilege execution. For example, require tools be run in a constrained environment (Node.js VM or Docker). Formalize a consent/approval API similar to Eve’s needsApproval pattern. Continue enforcing the Memory Firewall and consider code-signing for .uai bundles. Integrate with enterprise SSO (e.g. OAuth connectors) for agent access.

Example: In C#, one could use AppDomains or .NET 6’s System.Security features to isolate code, or simply containerize agent processes. Policies (like “no external fetch without consent”) should be codified.

Observability & Telemetry

  • UAIX: Lacks integrated observability. Debugging an agent run means inspecting .uai/archives logs or memory files. No built-in tracing or metrics are provided.
  • Eve: Every agent turn emits OpenTelemetry spans. The sequence of model calls and tool invocations appears as a trace tree. These can be sent to any tracing backend or viewed in Vercel’s dashboard. Eve also supports eval suites to test behavior.
  • Recommendation: Add a telemetry layer. For example, instrument UAIX workflows (CLI or API) with OpenTelemetry. Record each UAI-1 packet and agent response as spans. Publish a lightweight “UAIX Dashboard” to view sessions. Provide hooks for logging and metrics (HTTP errors, task durations). This enables diagnosing failures and compliance audits.

State Management & Memory

  • UAIX: Uses a split-memory architecture. “Hot” .uai files provide short-term context (e.g. .uai/context.uai, .uai/progress.uai) while long-term facts live in wikis, databases, or file archives. A pointer ledger (.uai/long-term-memory.uai) tracks durable content. Project Handoff ensures all important memory is recorded but only in validated files.
  • Eve: Treats each conversation as ephemeral state with optional external knowledge via “connections” (e.g. vector DB, MCP). The durability comes from the workflow engine, not separate memory files. (By default Eve doesn’t embed session history in every prompt, relying on the durable log instead.)
  • Memory-performance insight: Vercel’s approach minimizes external LLM calls on reads. The Local-First Memory architecture shows that storing memory in a local SQLite with asynchronous embeddings yields fast reads and writes.
  • Recommendation: UAIX should implement a local database (e.g. SQLite + vector store) for .uai contents. For example, every .uai/*.uai record could be inserted into a DB row at write-time, and queries would read from SQL (no LLM call on read). The asynchronous write path (log entry + background vector upsert) improves speed. Continue the split-memory model: keep .uai as the “hot cache” but back it with a DB.

Inter-Agent Communication Patterns

  • UAIX: Communication is via UAI-1 message packets. Agents exchange these JSON-wrapped packets (handoff, tasks, reports), which UAIX schemas validate. There is no live pub/sub bus; typically an agent writes a packet to a shared location or API, and another agent reads it. UAIX defines an Agent Communication Operating Model, but leaves implementation open.
  • Eve: Provides channel adapters: the same agent can be reached via Slack, HTTP, Discord, etc. Under the hood this just triggers the agent via webhook. Agents and subagents communicate via function calls (one TS agent code can directly await subagent.call(input)).
  • Recommendation: UAIX could adopt both approaches. For human interfaces, create “channels” similar to Eve (e.g. a Slack bot that invokes UAIX workflows). For agent-agent, build a simple pub/sub or HTTP service: e.g. a C# Web API where one agent’s code does HttpClient.Post(UaixEngineUrl, packet). The UAIX Agents Protocol could be extended into such endpoints.

Example C# pseudocode for calling another agent:

var packet = new UaiMessage { /* ... */ };
var client = new HttpClient();
var response = await client.PostAsJsonAsync("https://uaix.org/api/handoff", packet);
var replyPacket = await response.Content.ReadAsAsync<UaiMessage>();

This mirrors Eve’s API channels but keeps UAI-1 as the payload format.

Failure Modes & Recovery

  • UAIX: No built-in recovery. If an agent fails mid-task, work is lost (aside from whatever got written to .uai/archives). Restart means reloading memory and trying again. There is no checkpointing or automatic retry.
  • Eve: Durably checkpoints every step. Agents can pause for human approval or recover from crashes. If Vercel deploys mid-session, the session finishes on the old version, then new calls start on new code. Agents can use await on tools, so asynchronous tasks can be retried.
  • Recommendation: Implement checkpoint logging in UAIX. For example, after each model call or tool invocation, record the input and output (in .uai/archives and the DB). If a run crashes, a recovery script could re-run from last checkpoint. Also, allow manual overrides: e.g. a “continue” command that reads the latest .uai/progress and resumes a goal. Human-in-the-loop gates (like Eve’s needsApproval) should also pause execution without losing state.

Extensibility & Plugin Model

  • UAIX: Extensible via standards. Anyone can write an adapter that emits or consumes UAI-1 packets. However, there’s no official plugin architecture. The closest are schema/validator rules or the .NET Bridge track.
  • Eve: Built-in plugin points: connections/ files for external APIs, channels/ for integrations, schedules/ for cron. Adding a new service is as simple as creating a TS file (no code changes to core).
  • Recommendation: UAIX should define formal hooks. For example:
  • Tool Plugins: A simple interface (in C# or TS) that returns Task<string> given some input; UAIX runner can load tools dynamically.
  • Channel/Connection Plugins: Use OAuth libraries to create connection descriptors (perhaps reusing MCP concept).
  • Schema Extensions: Encourage third-party schema packages (like custom .uai types) with the registry.
  • Provide a marketplace or registry of UAIX adapters (similar to Eve’s “Vercel Connect”).

Pricing & Hosting Implications

  • UAIX: As an open standard, UAIX itself is free. Projects can self-host UAIX tools or use the wizard at no cost. However, any agent platform built on UAIX will incur hosting costs.
  • Eve: The framework is open-source (MIT license) and free to use, but production agents run on Vercel’s platform (with usage-based pricing). Vercel offers a generous free tier but charges for heavy compute/sandbox time.
  • Recommendation: If UAIX builds a hosted agent service, consider freemium: free for community projects, paid tiers for enterprise. Use existing cloud credits (Azure, AWS) for development. As a stop-gap, direct UAIX users to deploy Eve on Vercel (since it now supports OpenAPI/MCP, it could natively consume UAIX packets).

Recommendations Summary

  1. Adopt Filesystem Agent Structure: Standardize a directory layout (instructions, tools, memory files), and implement a CLI/SDK (C#, TS) to scaffold and run agents (like uaix init and uaix run). Short-term task.
  2. Implement Durable Orchestrator: Build or integrate a runtime (e.g. based on Carcinus or similar) that reads UAIX handoff messages and dispatches agents with checkpointing. Mid-term.
  3. Enhance Memory Layer: Introduce a local database (SQLite+vector DB) to back .uai files. Migrate .uai content into DB on save for fast read access. Keep YAML exports for interoperability. Mid-term.
  4. Sandbox & Security: Require agent code to run in sandboxes (e.g. Docker) and formalize approval workflows (using UAIX Agent Consent standards). Mid-term.
  5. Observability: Integrate OpenTelemetry tracing for all agent activities. Provide a dashboard or CLI reporting. Mid-term.
  6. Channel & Plugin Ecosystem: Build easy connectors (Slack, email, GitHub) and expose plugin hooks. Release example plugins/adapters (possibly open-source) and documentation. Long-term.
  7. Docs & Tutorials: Update UAIX site with beginner guides, sequence diagrams (Mermaid), and code examples (C# and TS). Show a full “Hello World” multi-agent scenario. Short-term.

Implementation Roadmap

  • Short-term (0–3 months): Develop a UAIX CLI for memory wizard operations and basic runtime (CLI scaffolding, validation of .uai files). Provide C# classes/interfaces for core concepts, e.g.:
  public class MemoryRecord {
      [Display(Name="Record Type")]
      public string Type { get; set; }

      [Display(Name="Content")]
      public string Content { get; set; }
  }

(Minimal comments; assume reader knows C# conventions.)

Write documentation showing how to set up an agent project with UAIX (analogous to Eve’s examples). Introduce basic YAML-to-DB import utility.

  • Mid-term (3–9 months): Build the orchestrator service. For example, create a C# Web API that accepts UAI-1 handoff packets, calls AI models/tools (possibly via OpenAI/Claude SDKs), and returns UAI-1 final report packets. Add state persistence (database logging of each step). Implement sandboxing (e.g. spawn separate processes or containers for untrusted code). Integrate telemetry (use [OpenTelemetry .NET SDK]). Build schedule runner for recurring tasks.
  • Long-term (9–18 months): Expand plugin ecosystem (third-party connectors, approve flow UIs), polish UI (agent dashboards), performance tuning (vector DB search). Consider a hosted UAIX agent service offering. Keep aligning UAIX docs with practical examples, open-sourcing reference implementations (like Eve).

Assumptions & Open Questions

  • We assume UAIX stakeholders want a practical orchestrator (the phrasing “hive agent setup” suggests a need for an actual “harness”). If UAIX’s vision remains “standard only,” some suggestions (like building an agent service) may be beyond scope.
  • It’s unclear what “Hive agent” means internally; we interpret it as UAIX’s multi-agent framework.
  • Open questions for UAIX team: Will UAIX develop a runtime or partner with one? Which programming languages/environments are priorities? How will costs (e.g. Vercel/SaaS fees) be managed?
  • Dependencies on external ML providers (OpenAI, Anthropic) remain regardless of framework; we assume agents can still use any model backend.

By aligning UAIX’s “hive” design with Eve’s proven patterns – filesystem projects, durable workflows, sandboxes, and built-in ops – UAIX can dramatically improve multi-agent capabilities while retaining its open standards heritage.

Sources: UAIX official documentation; Vercel Eve announcements and docs. (Diagrams are illustrative.)