Cotal

The open pub/sub standard for AI agents: any topology, any machine, any vendor — a live shared space where agents coordinate directly.

Source repo
Cotal-AI/Cotal
Stars
★ 418
Last updated
today v0.192.0
FARS reviewed
Nov 08, 2026 +124 new
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
CLIAgent plugin / skillSelf-hosted service
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.js ≥22 (or the shell installer)NATS/JetStream broker (bundled by cotal up)Shell / CLINetwork access
Typical use
A Claude Code user summons teammates on demand: ask your coding agent to "spin up a reviewer" and it spawns it on the mesh via cotal_spawn.
Not a fit if
  • Teams needing only pairwise agent request/response (A2A or MCP already covers it)
  • Users who want a managed SaaS rather than running a broker on their own machines
  • Teams needing an official client in a language other than TypeScript today
Website
cotal.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v0.192.0 (2026-12-01)+0.9 ★/day over 7 days
Source review
77/100 · Good

What does this agent do, and when should you use it?

Cotal (repo Cotal-AI/Cotal, Apache-2.0) is an open protocol plus a TypeScript reference implementation that lets AI agents work together in one shared pub/sub space, built on production-proven NATS and JetStream. It turns a NATS account into an agent "space" where every agent publishes presence and an A2A AgentCard and can message anyone directly, while the topology — flat peers, manager with workers, chain of command, or any mix — is yours to define in configuration. The cotal CLI provides commands such as cotal up (a JWT-authed mesh), cotal spawn, cotal web and cotal run, supports multiple parallel meshes, and can connect to a broker on a remote server over the internet. Messages are addressed in three modes: multicast to channels, unicast to durable per-agent inboxes, and anycast to exactly one free instance of a role. Official connectors cover six agents — Claude Code, OpenCode, Codex, Hermes, Jcode and pi — all exposing the same cotal_* tools with push wake-ups; Cotal Lang adds hours- or days-long, resumable workflow runs recorded in a step journal.

End-to-end flow: after install, cotal setup prepares your machine and seeds Agent Skills (a Claude Code plugin, or ~/.agents/skills for Codex/Cursor/OpenCode/Gemini CLI/Windsurf); cotal up --detach starts a JWT-authed NATS/JetStream mesh with a server-side delivery daemon, and cotal spawn puts your agent on it. Agents then communicate over three subject families (chat.> multicast, inst.> unicast, svc.> anycast): channel messages reach all subscribers; direct messages wait in a busy/offline peer's durable inbox until read; messages addressed to a role (e.g. "reviewer") go to a shared work queue claimed by exactly one free instance. Every agent publishes idle/waiting/working/offline status plus its A2A AgentCard; identity is pinned to the NATS subject by JWT credentials enforced server-side, with default-deny per-agent ACLs. cotal web opens a read-only browser dashboard (live constellation graph, channels, golden-signal tiles), and cotal run executes Cotal Lang workflows — a JavaScript subset of effects like spawn, turn, ask, checkpoint — journaled so runs resume on any host. Connectors expose the same cotal_spawn, cotal_run and related tools to each agent.

  1. A Claude Code user summons teammates on demand: ask your coding agent to "spin up a reviewer" and it spawns it on the mesh via cotal_spawn.
  2. Mixed-vendor teams: agents from Claude Code, Codex and OpenCode coordinate as lateral peers in one space with no central scheduler.
  3. Async long-running tasks: unicast durable inboxes let busy or offline agents catch up on messages, and late joiners replay history.
  4. Role-based delegation and load balancing: anycast hands work to any free instance of a role without naming a specific worker.
  5. Multi-day workflows: write Cotal Lang pipelines with checkpoints that resume from their step journal on another machine.
  6. Parallel teams on one box: cotal meshes/cotal use isolate multiple meshes, or share one space between a laptop and a cloud container.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://get.cotal.ai | sh
  • npm install -g cotal-ai && cotal setup
Config files
~/.agents/skills cotal.yaml
Runtime
Node.js 22+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

On macOS/Linux, use the official installer (installs into your home directory, no sudo, then runs cotal setup):

curl -fsSL https://get.cotal.ai | sh

On Windows, or if you already have Node 22+:

npm install -g cotal-ai && cotal setup

cotal setup seeds a default persona and installs Cotal's Agent Skills (a cotal-skills plugin for Claude Code if installed; ~/.agents/skills for Codex, Cursor, OpenCode, Gemini CLI and Windsurf); cotal setup --skills refreshes skills only. You can also have your agent install it by pointing it at https://docs.cotal.ai/prompt.md.

How do you use this agent?

Start a minimal mesh and connect an agent:

cotal up --detach   # start the mesh (JWT-authed by default)
cotal spawn         # put your agent on it and talk to it (Ctrl-C to leave)
cotal web           # watch it in the browser
cotal down          # stop everything

cotal up is JWT-authed by default (sender authenticity, per-agent ACLs, server-side delivery daemon); cotal up --open gives a loopback-only, unauthenticated live mesh; cotal up --user-auth --idp <auth base URL> enables sign-in. For a guided demo team:

cotal setup --demo
cotal spawn david
cotal web

To let a coding agent pull in teammates on demand, cotal up brings up a manager endpoint: ask your agent to "spin up a reviewer" and it spawns it via cotal_spawn. A whole team can run from a single cotal.yaml manifest. Inspect activity:

cotal console
cotal run start --file build.cotal.js
cotal run ps
cotal run journal <runId>
cotal run answer <runId> <stepKey> --value '"yes"'
cotal run resume <runId>

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • Topology is configuration, not code: the same standard runs flat peer teams, manager/worker trees, chains of command, or any mix — most tools lock in a tree.
  • Complements rather than replaces MCP (agent↔tools) and A2A (pairwise request/response), reusing A2A AgentCard and Message/Part shapes for interoperability.
  • Built on production-grade NATS + JetStream: durable delivery, per-reader bookmarks, replay, and cross-machine/cluster scaling without reinventing them.
  • Concrete security model: sender identity is pinned to the NATS subject and checked against JWTs; DMs use bind-only durable inboxes that resist impersonation.
  • Six official connectors (Claude Code, OpenCode, Codex, Hermes, Jcode, pi) expose the same cotal_* tools with push wake-ups.
Limitations
  • TypeScript is the only implementation today; other languages must implement the documented contract themselves, and official clients are only planned.
  • You must run and understand NATS/JetStream broker infrastructure — for cross-machine setups the broker may sit on an internet-reachable server, adding operational surface.
  • The installer is a POSIX shell script; Windows is limited to the npm route.
  • A relatively young project: the Team section has TODOs and connectors are still being added by vote, so maturity evidence is limited.

How does this agent compare with similar options?

The README positions Cotal as complementary to MCP and A2A: MCP connects an agent to its tools and A2A connects two agents in pairwise request/response, but neither provides a live shared space with presence, channels, durable delivery and topology-free coordination — the gap Cotal fills. Cotal reuses A2A's data shapes but not its HTTP/JSON-RPC transport, Task RPCs, or request/response server model.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Cotal This agent 77 · Good CLIFree ★ 418 today TypeScript Codex · Claude Code
Agor 68 · Some gaps CLIFree + model costs ★ 1.5k 1d ago TypeScript Codex · Claude Code
Google ADK for TypeScript 49 · Major gaps CLIFree + model costs ★ 1.5k today TypeScript —
TITAN Agent Framework 48 · Major gaps CLIFree ★ 19 1mo ago TypeScript OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
77/ 100 5-point scale 3.9 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 124 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 18/29
Reliability 11/14
Adaptability 15/18
Convention 14/18
Effectiveness 12/13
Verifiability 7/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The permission model describes default-deny channel posting, per-agent read controls, and separate operator and agent authority. Deductions reflect explicit limits around static credentials and same-UID host access, plus connector launch options that are not allow-listed. Setup and startup can be separated, and personal-session connections have permission approval; however, the skill directly instructs an agent to fetch and run a remote runbook, and approval prompts do not cover every possible side effect. The README and security documents describe telemetry, activity sharing, credentials, retention, TLS, prompt injection, and the trusted-broker boundary. Sensitive-data protection is incomplete, particularly encryption and host isolation. Dependency security has Node requirements, installer checksum checks, and broker minimum-version guidance, but the sample does not show dependency vulnerability management. Removal guidance says to stop services first and warns about local credential data; workflow cancellation also does not guarantee every external process has stopped. Team and contact details provide some attribution, but publisher identity is unverified and contributor or security-response responsibility remains unclear.

Reliability11 / 14 · 3.9/5

The specification, architecture, security, and installation material broadly support one another, but installation sources use both Node 22+ and Node 22.10+ wording, a small inconsistency that reduces the score. NATS, Node, connector, and runtime requirements are described, as are limitations of the offline smoke gate; the sample does not establish external dependency availability or that tests ran. Failure paths are documented with concrete codes, preflight refusals, remedies, and handling for partial or unknown startup states, supporting a high score for failure messages.

Adaptability15 / 18 · 4.2/5

The README, skill, and docs cover local teams, cross-machine use, hosted spaces, service integrations, and multiple agent applications, and distinguish multi-agent coordination from a single-agent tools use case. Permission boundaries, connector differences, deployment threats, and platform limits are specific. The skill trigger is broad, however, extending to website feedback, waitlists, and build logs alongside mesh coordination. Environment guidance covers npm on Windows, shell installation on macOS/Linux, Node requirements, and terminal runtimes; some features still require Linux or particular host tools, so platform fit is not universal.

Convention14 / 18 · 3.9/5

Documentation is organized across quick start, specification, architecture, security, installation, API, and examples; the repository guide gives a clear map and reading path. Install, setup, startup, removal, telemetry opt-out, and troubleshooting are described concretely. Protocol, package, and command naming are mostly stable and rule-bound, but the sample shows variants such as Cotal/COTAL, package names, and command forms, so stability across all aliases is not established. Examples, FAQ, connector guidance, and known limitations are substantial. The license file agrees with the README's Apache-2.0 statement. An upgrade page is linked, but this sample does not provide a changelog or concrete maintenance commitment. Team and contact details are present, while maintenance responsibility and publisher identity are not independently established.

Effectiveness12 / 13 · 4.6/5

Examples make messaging, presence, the three addressing modes, permissions, workflows, and approvals understandable and actionable. Durable pub/sub, role routing, and workflow recovery provide a clear incremental capability over a basic tools interface. Installation options, topology choices, and operational limits help explain cost and tradeoffs; the system still requires a broker, manager, connectors, and credential lifecycle management, and the sample does not quantify costs or benefits.

Verifiability7 / 8 · 4.4/5

README claims about security, installation, and capabilities have traceable supporting detail in dedicated docs and the specification. Many implementation and test claims are only indexed or listed as commands in this sample, so their implementation cannot be confirmed here. The README, skill, specification references, and source excerpts provide some cross-source support for the architecture, but the sample lacks enough core protocol implementation or test material for full corroboration. The docs distinguish normative requirements from informative threat models and identify telemetry, credential, and external-process limits; no unexecuted test is treated as a pass or failure.

Risks and how to mitigate them
  • CLI usage telemetry is enabled by default and can be disabled with cotal telemetry off; personal-session activity sharing is a separate setting and should be reviewed separately.
  • Agents under the same host UID may reach signing keys or other accessible files; static credentials can retain grants until expiry or key rotation, and the broker and operators remain trusted parties.
  • The skill recommends fetching and running a remote runbook; review its steps first and obtain separate user consent for writes such as feedback, waitlist, newsletter, or call requests.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 441ed3bcb83d New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/cotal.svg)](https://followagents.com/en/agents/cotal)
<a href="https://followagents.com/en/agents/cotal"><img src="https://followagents.com/badge/cotal.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.192.0
    Release notes excerpt
    Install or update: npm i -g [email protected] Restart running Cotal processes and agent sessions to use the new code. What changed - Set a Manager's new-spawn slot limit from 1 to 120 with cotal up --max-agents or cotal supervise --max-agents, without limiting recovery of existing seats. - An agent's owner can read its harness's native controls (MCP servers, extensions, saved sessions and their history, checkpoints, tasks, accounts, rate limits, permission rules, hooks and settings) as typed rows with native-controls, act on an offered row with native-action, and read how far an …
    View on GitHub ↗
  2. v0.191.0
    Release notes excerpt
    Install or update: npm i -g [email protected] Restart running Cotal processes and agent sessions to use the new code. What changed - Signing out disconnects this account's spaces on this computer before revoking the provider session. - A Codex agent's approvals and sandbox can now be changed with set-option, but only to values its launch allows. - The Codex connector can check and install the Cotal plugin in the ChatGPT desktop app’s own profile on macOS and Linux without a standalone Codex CLI. …
    View on GitHub ↗
  3. v0.190.0
    Release notes excerpt
    Install or update: npm i -g [email protected] Restart running Cotal processes and agent sessions to use the new code. What changed - A Hermes agent's owner can now switch the model and the reasoning effort it runs with set-model. - A space moved onto the current Cotal Cloud address connects again. - Classify expired device sign-ins in command telemetry without sending approval details or changing the local exit code. - Report a timed-out initial Manager registry read in ps or ps --slots as TARGET_UNAVAILABLE. …
    View on GitHub ↗

FAQ

Is Cotal free? What does running it cost?
The repo is Apache-2.0 licensed; the CLI, core, every extension and the protocol are free and fully self-hosted, and cotal up starts a local mesh with a bundled broker — no paid service required. Costs of the models your agents use are separate.
Can one agent impersonate another?
No. The server pins the sender in every subject to the agent's JWT credential; a payload claiming a different sender is rejected server-side or dropped by the receiver. DMs are confidential by construction via per-identity bind-only durable inboxes.
My agent isn't in the supported list — can it join?
The protocol is a contract over NATS (subjects, schemas, and required client behaviors like presence and ack-on-surface); any agent implementing it joins as a thin client. Official connectors exist for Claude Code, OpenCode, Codex, Hermes, Jcode and pi, and you can vote for the next connector in GitHub Discussions.
Does it support Windows? What runtime is required?
The installer is a POSIX shell script, so on Windows use npm: npm install -g cotal-ai && cotal setup, which requires Node 22+.
What happens if a workflow run stops?
Every Cotal Lang effect is recorded in the run's step journal; a stopped run resumes from its journal on any host with cotal run resume <runId>, and checkpoints can be answered by anyone holding the run capability from a terminal or an agent session via the cotal_run tool.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts