SuperAPI AI Directory

stellarjay

Safe write access for AI agents: an append-only business fact store where every change is kept, attributed to the agent that made it, and can be undone (`undo_changes`). Self-host with `stellarj

Open website

About this tool

Stellar Jay is an open-source append-only business fact store designed to provide safe write access for AI agents. It is the data storage core of the AvianSuite platform, an agent-native business data platform that lets AI agents run business processes on a company's data, such as sales follow-up and bookkeeping, while every change is versioned, attributed to the agent that made it, and can be undone. The project was previously named JayBase.

Purpose

Stellar Jay addresses the core problem: when AI agents write directly to a CRM or ticketing system, a bad decision or runaway loop can overwrite or delete records, often irrecoverably. Stellar Jay is designed to ensure this does not happen, giving agents safe write access for scenarios where data is critical, such as operations, accounting, approvals, and support. Target users include developers, consultants, and small teams moving from read-only agent copilots to agents allowed to take actions. Each store serves one organization and can be shared by multiple agents and applications.

Main capabilities

  • No overwrites, no deletes: corrections or withdrawals are recorded as new entries, and the original entries remain in history.
  • Change attribution: each agent gets its own token, so it is clear which agent changed what and when.
  • Undoable changes: all operations made by an agent within a time window can be rolled back, with preview support first.
  • Tamper-evident history: if someone rewrites or deletes past entries, the system will show it.
  • Retry-safe: if an agent retries after a timeout, it will not produce duplicate records, and writes based on stale information are rejected.
  • Flexible data: facts are stored as JSON, so new fields and new record types require no migration.
  • Evidence retained: every fact retains its evidence and the agent that recorded it, so any mistake is visible, attributable, and correctable.

How to use

Hosted option

AvianSuite offers a hosted Stellar Jay service for $20 per store per month, with a 14-day free trial.

Self-hosted option

Self-hosting is free and open source (AGPL license). Quick start (requires Go 1.22 or later):

  1. Install and create keys: running init creates a data encryption key and prints the admin, writer, and reader tokens once; save them in a password manager.
  2. Start the server: it listens on 127.0.0.1:8080.
  3. Record facts: in a new store, expected_root is empty only for the first record. After that, read the current value from GET /v1/root and send it on every write, so writes based on stale information are rejected.
  4. Connect an agent: point the MCP server at your store. For self-hosted stores, use STELLARJAY_URL=server: it listens on 127.0.0.1:8080.
  5. Record facts: in a new store, expected_root is empty only for the first record. After that, read the current value from GET /v1/root and send it on every write, so writes based on stale information are rejected.
  6. Connect an agent: point the MCP server at your store. For self-hosted stores, use STELLARJAY_URL=http://127.0.0.1:8080 and your writer token. Agents that do not use MCP can read $STELLARJAY_URL/llm.txt, which explains how to operate the storage.

Agent Connection

  • Connect via the MCP server. The server is listed in the MCP registry as com.aviansuite/stellar-jay, and the CRM (Martin) and bookkeeping (Magpie) applications run on the same storage.
  • On AvianSuite, add a remote server; in Claude and ChatGPT, add a custom connector with the same URL.
  • When self-hosting, run a local server. Install with go install github.com/kyle-visner/stellarjay/cmd/stellarjay-mcp@latest. See docs/mcp.md for detailed tools and instructions.

Deploying to a Server

For production storage with HTTPS, you need a Linux host, Docker Compose, ports 80 and 443 open, and a DNS record pointing to that host. init will not replace existing keys. The runbook covers backups, token rotation, and upgrades, and the security model covers keys, roles, and hardening.

Applicable Scenarios

  • Developers, consultants, and small teams moving from read-only copilots to agents allowed to take action.
  • Business work where data is critical, such as operations, accounting, approvals, and support.
  • Business processes that require agents to write safely while remaining auditable and rollback-capable.

Limitations

  • The expected root value (expected_root) mechanism must be followed to avoid writes based on stale information.
  • Self-hosted production deployment requires a certain amount of technical configuration (Docker Compose, DNS, HTTPS, etc.).
  • Initialization and token management require securely storing keys, and init will not replace existing keys.
  • The project is licensed under AGPL-3.0-or-later, and the hosted service is provided by AvianSuite.