SuperAPI AI Directory

unitares

UNITARES is accountability infrastructure for long-running AI agents, provided as a self-hosted MCP server. It enables agents across tools and sessions to share findings, evidence, review opinions, test results, and file edit leases, while preserving the lineage and supersession relationships of claims and evidence. It supports runtimes such as Claude Code, Codex, and Hermes Agent, connects via MCP or HTTP, uses PostgreSQL and Redis for storage, and can run its core recording functionality without an external model API.

Open website

About this tool

UNITARES is accountability infrastructure for long-running AI agents, provided as a self-hosted MCP server. Its core goal is to solve the problem that when agent work outlives the lifecycle of the starting process, different runtimes lack a shared history of claims, review records, and edit lock states.

Purpose: UNITARES serves as a shared record and coordination layer, enabling sessions collaborating across tools to share findings, supersession chains, review objections, test results, and file edit leases. It does not replace Git, issue trackers, or handoff notes; rather, it supplements the recording of claims, reviews, and results across runs, repositories, and runtimes.

Main capabilities:

  • Shared memory: agents can write findings (store_finding), supersede old findings (supersede), and search shared memory via search_shared_memory; searching requires no identity.
  • Lineage and supersession: superseded claims are linked to their replacement claims, and search results show currently valid claims.
  • Review: records arguments, challenges, and resolutions (dialectical review), with a configurable model endpoint for independent consultation.
  • Result recording: results such as test results are bound to the recording process.
  • Edit leases: provides advisory per-file edit leases for Claude Code and Codex through the lease plane, coordinating concurrent edits.
  • EISV: runs on successful check-in, summarizes behavioral observations, and returns status feedback and policy recommendations; by default it is advisory only (observe), with optional enforced pause.
  • Identity and authorization: the server enforces identity, authorization, archiving, and coordination boundaries.

Usage:

  • Start the latest release via Docker Compose, including the server, PostgreSQL (with AGE and pgvector), Redis, and the coordination plane. The MCP client connection address is http://localhost:8767/mcp/,仪表板为 http://localhost:8767/dashboard。
  • Update command: ./scripts/unitares update, which backs up PostgreSQL, applies migrations, and verifies deep health.
  • Stack configuration: you can add docker-compose.full.yml to enable local semantic search and hybrid ranking, or use the core configuration to run only the server and PostgreSQL.
  • In case of port conflicts, set GOVERNANCE_HOST_PORT and LEASE_PLANE_HOST_PORT in .env.
  • One stack per machine: Docker and Homebrew data are separated, Compose container names are fixed, and before starting a new stack you must run docker compose down (without -v) in the old checkout, or use the management launcher scripts/install/launch.sh.
  • Homebrew preview (Apple Silicon macOS): install the native service formula from cirwel/unitares.
  • Connecting agents: unitares-governance-plugin connects MCP, skills, lifecycle hooks, and per-file edit leases for Claude Code, Codex, and ChatGPT; unitares-host-adapter is for Hermes Agent and OpenAI-compatible clients; other MCP clients can use Streamable HTTP MCP, the Python SDK (pip install unitares-sdk), or the persistent agent runtime.
  • Optional server-side models: core recording requires no model API or key; run ./scripts/unitares model to connect a local OpenAI-compatible server (Ollama, vLLM, LM Studio, or llama.cpp) for consultation and in-process review, or enable the agent orchestrator for cross-family CLI review.

Use cases: long-term AI agent collaboration across vendors, sessions, repositories, or runtimes; multi-agent workflows that need shared claim history, review records, and edit coordination.

Limitations: UNITARES is a recording layer, not a transport layer; inter-agent communication still uses each agent's own transport or A2A. Core recording requires no external model API, but semantic search and model consultation require additional configuration. EISV recommendations are by defaultadvisory only; forced pause must be explicitly enabled. The project uses the Apache License 2.0.