SuperAPIAI Directory

Cotal

github.com · AI agents

Cotal is an open-source AI agent coordination standard and toolset that provides Pub/Sub-based agent management and orchestration capabilities. It allows agents across applications and machines to discover each other, send messages, request assistance, or invoke services in a shared space, supporting various topologies such as peer-to-peer, supervisor-worker, and workflows with human checkpoints. Cotal defines an open standard for identity, messaging, presence, and endpoint control, and provides a TypeScript reference implementation (based on NATS + JetStream), including a CLI, application connectors, a process manager, durable workflows, and observability tools. Users can get started quickly with Cotal Cloud (which has a free plan) or deploy entirely locally on their own machines. The project is licensed under Apache-2.0.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Cotal is an open-source agent coordination standard and toolset designed to let AI agents and software services work together in a shared space across applications and machines. At its core is a Pub/Sub-based agent management and orchestration system where agents can find peers, send messages to channels, request help from reviewers, or invoke services, with users deciding the delegation relationships themselves.

Key capabilities:

  • Supports multiple topologies: peer teams, supervisor-worker, and workflows with human checkpoints.
  • Agents can join from laptops, workstations, or remote hosts; separate spaces isolate projects and permissions.
  • An open standard defines identity, messaging, presence, and endpoint control.
  • The TypeScript reference implementation runs on NATS + JetStream and includes a CLI, application connectors, a process manager, durable workflows, and observability tools.
  • Messages support multicast (channels), unicast (point-to-point), and anycast (addressed by role).
  • Durable backing storage can retain messages for busy or offline agents within configured retention and lifecycle limits.
  • Presence tells peers who is online; attention modes let agents control which channel traffic can interrupt them.
  • The manager starts and stops processes but does not intervene in agent messages or choose work; agents can request teammates via cotal_spawn when authorization permits.
  • Cotal Lang is a small JavaScript subset for coordinating work, running via a step log, able to start agents, wait for replies, pause for humans, and support resuming after interruption.
  • Services publish command contracts that authorized callers can discover and invoke; integrations such as a Linear adapter are provided.
  • cotal console provides an interactive terminal view, cotal watch streams observability, and commands such as who, ps, and status answer specific questions.
  • The browser dashboard is a separately configured read-only service using explicitly protected credentials.

Usage:

  • Quick start: use Cotal Cloud (which has a free plan), create an account via GitHub, Google, or email to get a private space, connect a computer in the web app and run the command to install Cotal, and after approving the code, start agents from Home.
  • Run it yourself: the installer sets up a space on your own machine, and you choose Local in the guided setup; you can also choose Cloud to use a Cotal Cloud space from the terminal.
  • Installation: the installer writes to the home directory without sudo and opensGuided setup; you can read the script first or preview with | sh -s -- --dry-run. On Windows or if you already have Node 22.10+, you can use npm.
  • Set up the workspace, configure the app, and seed default roles; you can prepare only with cotal setup --configure-only.
  • In another terminal, run cotal console to view the team and messages, press Ctrl-P to open the command palette and start another agent, or use cotal spawn --detach to start directly.
  • cotal down stops the local stack.
  • CLI default sending uses telemetry, which can be disabled with cotal telemetry off.

Use cases:

  • Multi-agent team collaboration and orchestration.
  • Agent communication across apps and machines.
  • Workflows that require human checkpoints.
  • Various workflows such as local teams, hosted spaces, personal sessions, and integrations.

Limitations and notes:

  • Personal session connections require a logged-in space and a supported approval flow; local static auth or open spaces should be started via cotal spawn.
  • Different apps vary in support for directed messages, resumption, events, and tool sharing; the connector matrix lists details and maturity.
  • Hosted agents can run in a PTY or supported terminal runtimes (tmux, cmux, Orca, Herdr).
  • Proxy, operator, and admin credentials are trusted; direct messages are protected from unauthorized peers but are not end-to-end encrypted for trusted parties. cotal up --open is a loopback-only, real-time-only, no-auth mode for local experimentation.
  • Personal session activity sharing, grid permissions, and CLI telemetry are independent settings.
  • The browser dashboard is read-only, uses static credentials, and only shows content readable by those credentials.
  • Installing an adapter does not grant account access or make the service available in all spaces.
  • Cancellation records do not prove that all external processes have stopped.
  • On minimal Linux images, check installer prerequisites; RHEL, AlmaLinux, and Rocky Linux 9 require tar to be installed first, and the Linux desktop .rpm requires WebKitGTK 4.1.
  • Documentation is at docs.cotal.ai, with a Markdown version and a versioned cotal_docs package.
  • The project uses the Apache-2.0 license; trademark notices and hosted serverplans are in LICENSING.md.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools