Skip to main content
Glama

Stigmer

The open-source backend for the agents in your product. It runs behind your app, the way your database does. Each of your customers gets an agent with its own computer, one that works on a job for hours, asks before acting and keeps their data apart from every other customer's.

Run it yourself on a laptop, one server or Kubernetes, or use Stigmer Cloud. Agents run on your own model provider key.

Stigmer is in Beta: things may change, and your work is kept. Tell us what breaks. What Beta means.

Beta License Discord GitHub stars

Quick start

An accounting product's customer uploads a ledger, and an agent hands back a variance report as a file:

brew install stigmer/tap/stigmer
export ANTHROPIC_API_KEY=<your Anthropic API key>
stigmer up
curl -fsSLO https://raw.githubusercontent.com/stigmer/stigmer/main/examples/variance-report/variance-reporter.yaml
curl -fsSLO https://raw.githubusercontent.com/stigmer/stigmer/main/examples/variance-report/ledger.csv
stigmer apply -f variance-reporter.yaml
stigmer run variance-reporter --attach ledger.csv --download ./out --until turn -m "Review this quarter's ledger."
cat out/variance-report.md

The customer's ledger went in, and their report came back as a file in ./out, written by the agent. Your first agent job walks through each step, and Do the same job from your app starts it from your own code.

# Shell script (macOS/Linux) — no prerequisites, bundles its own Node.js runtime
curl -fsSL https://stigmer.ai/install.sh | sh

# npm (requires Node.js 22.19+ on 22.x, or Node.js 24+)
npm install -g @stigmer/cli

# From source
git clone https://github.com/stigmer/stigmer.git
cd stigmer && make setup && npm install && make local

Related MCP server: MIDAS

What is Stigmer?

Your app calls Stigmer, and Stigmer runs the agent on your model provider. Each of your customers gets an agent that takes what they hand it, works through it on a computer of its own, and hands back the result. You build the feature, not the machinery.

Bring the plugins you already have: install the Claude Code, Cursor or Codex plugins your team uses, and a plugin carries skills, hooks, subagents and the MCP servers that connect agents to your systems. Agents discover the tools and Stigmer handles execution sandboxing.

Core concepts

Stigmer also ships its own MCP server, which exposes Stigmer's resources to AI-powered IDEs:

stigmer mcp-server

See mcp-server/README.md for IDE configuration (Cursor, Claude Desktop, VS Code, Windsurf).

SDKs

SDK

Install

Reference

Go

go get go.stigmer.ai/sdk

Reference

TypeScript

npm install @stigmer/client

Reference

Python

pip install stigmer-sdk

Reference

Java

Maven: ai.stigmer:stigmer-sdk

Reference

React

npm install @stigmer/react-sdk

Reference

Ink

npm install @stigmer/ink-ui

Reference

The Go, TypeScript, Python, and Java SDKs provide typed API clients for every Stigmer resource. The React SDK renders agent UIs — session composers, message threads, and approval views. The Ink SDK brings the same components to the terminal.

Put the agent in your app

The React SDK ships the same chat surface the Stigmer Console uses, as one drop-in component. A provider, a token your backend mints, and AgentChat put the variance reporter in front of your users:

import { Stigmer, createTokenCache } from "@stigmer/client";
import { AgentChat, StigmerProvider } from "@stigmer/react-sdk/chat";
import "@stigmer/react-sdk/styles.css";

const org = import.meta.env.VITE_STIGMER_ORG;

const tokens = createTokenCache(async () => {
  const res = await fetch("/api/stigmer-token");
  return res.json();
});
// …
export default function App() {
  return (
    <StigmerProvider client={stigmer}>
      <main style={{ height: "100vh" }}>
        <AgentChat agent={`${org}/variance-reporter`} />
      </main>
    </StigmerProvider>
  );
}

variant="panel" docks the same chat beside your page, and variant="popup" puts it behind a button in the corner.

Every component is themeable with design tokens, and the hooks underneath are exported for fully custom UIs. Put the agent in your app is the complete walkthrough, with the backend route that hands the page its token.

Open source, Enterprise and Cloud

Stigmer open source

Stigmer Enterprise

Stigmer Cloud

Start with

stigmer up, Docker Compose or the Kubernetes operator

The Kubernetes operator with a license key Secret

stigmer config backend set cloud

Storage

SQLite (~/.stigmer/stigmer.db) or your Postgres

Your Postgres

Managed

Users

One organization, with sign-in, roles and service accounts

Many organizations, teams, invitations and federation

The same, hosted

LLM

Your keys, held by the runner (Anthropic, OpenAI, Google)

Your keys, held by the runner (Anthropic, OpenAI, Google)

Your organization's keys (Anthropic, OpenAI, Google, compatible endpoints)

Best for

Development, personal projects, one team, full data ownership

Companies that must keep many teams on their own infrastructure

Teams that want a managed platform

Stigmer runs no model of its own: every edition runs your agents on your own provider key. Stigmer Enterprise is licensed annually; compare the editions or see pricing.

Resource definitions are portable across all three. The CLI talks to the same gRPC service interfaces regardless of backend.

Brand assets

The brand folder contains the current logo and ready-to-upload profile images. Use brand/avatar.png for GitHub and other profile uploads.

Documentation

  • Getting Started — Give an agent a job and get its report back, on your machine or on Stigmer Cloud

  • Try it in one container — docker run ghcr.io/stigmer/stigmer for evaluation (not for production)

  • Self-hosting — Run the full stack on your own machine with Docker Compose

  • Kubernetes — The same stack on a cluster, run by the Stigmer operator (oci://ghcr.io/stigmer/charts/stigmer-operator) from one Stigmer resource

  • CLI Reference — Commands, flags, and examples

  • SDK Reference — Go, TypeScript, Python, Java, React, and Ink

  • What is Stigmer? — What each customer's agent has, and how one job runs end to end

  • Examples — The variance report job, as files to run

Development

Prerequisites

  • Node.js 22 (22.19 or newer) or Node.js 24 or newer (the server needs node:sqlite with FTS5)

  • Go 1.25+ (for the Go SDK, codegen tools, and integration harnesses)

  • Git, Make

Building from Source

git clone https://github.com/stigmer/stigmer.git
cd stigmer

make setup     # Install Go and Python dependencies
npm install    # Install Node.js dependencies
make local     # Build the local server and runner (the CLI runs from @stigmer/cli)
make test      # Run tests

Contributing

We welcome contributions. See CONTRIBUTING.md for guidelines.

License

Stigmer is open source under the Apache License 2.0, with one exception: the ee/ directory, Stigmer Enterprise, is under the Stigmer Enterprise License. The Enterprise code is public and readable; running it in production needs a license key. Without a key, the Enterprise server behaves exactly as the open-source server and runs no Enterprise code. Everything outside ee/ stays Apache 2.0 and never depends on it.

The licenses grant rights in the code, not in the Stigmer names or logo; see TRADEMARKS.md.

Available Tools

16 tools
apply_agentB
Idempotent

Create or update a Stigmer agent (idempotent). Provide identity fields (name, org) and agent configuration (instructions, skills, plugins, etc.).

Inputs: org (required), name (required), env, slug, +17 more.

cancel_runA
DestructiveIdempotent

Cancel a run in progress (run_*) by interrupting its conversation: every unfinished turn of the conversation stops (queued, working, waiting for an answer or paused), not this run alone, and each ends cancelled. Cancellation is terminal: a stopped turn cannot be resumed. The response names the runs stopped (stopped_run_ids). A run already in a terminal phase is returned with already_terminal=true and nothing is stopped.

Inputs: run_id (required).

delete_agentA
DestructiveIdempotent

Delete a Stigmer agent and every version of it, by its org and slug. It can't be undone. Returns the deleted agent.

Inputs: slug (required), org.

delete_skillA
DestructiveIdempotent

Delete a Stigmer skill and all its versions by org and slug. To create or update skills, use the 'stigmer skill push' CLI command. Returns the deleted skill.

Inputs: slug (required), org.

get_agentB
Read-onlyIdempotent

Get full details of a Stigmer agent by its org and slug (e.g. org=stigmer slug=variance-reporter).

Inputs: slug (required), org.

get_runA
Read-onlyIdempotent

Get a run and what its agent did: the run's lifecycle (phase, timing, error, stop_cause) and the run's events from its session's event log. Poll this tool to track a run started with run_agent (terminal phases: completed, failed, cancelled, terminated). The default compact view summarizes the turn: its phase, its answer, asks (the tool uses waiting for your answer, each with the tool_use_id submit_run_approval takes), its to-do list, its changed files and the last few items (messages, thinking, tool uses with their results); total_items tells you when the tail is a window. run.status.credentials.sources names the vault and entry each key the run uses came from, never a value. Use view=full for every event of the run as Claude Managed Agents JSON. Find a run you have no id for with list_runs.

Inputs: run_id (required), view, item_limit.

get_run_outputsA
Read-onlyIdempotent

Read what a run made: the files it saved in its outputs folder (a report, a CSV), newest per path. Text files come back with their content, at most 512 KB each, the cut said; other files are named with their size and type. Give the person the content itself, not a description of where it is. To save the files to a folder, the person runs stigmer download run <run_id> --output-dir <folder>. No download link is returned: it would open the file without a sign-in.

Inputs: run_id (required), path.

get_run_scoresA
Read-onlyIdempotent

Read how a run was graded: each score with where it came from (the platform's run-health check, a person's thumbs, an AI judge, an eval), whether it was graded, its verdict, its criteria and comment. An empty list means nobody and nothing graded the run: say so plainly rather than judge it yourself.

Inputs: run_id (required).

get_skillA
Read-onlyIdempotent

Get full details of a Stigmer skill by org and slug, optionally at a specific version. Omit 'version' for the latest.

Inputs: slug (required), org, version.

list_runsA
Read-onlyIdempotent

List one agent's runs, newest first, across all its conversations: how to find "the last run" of an agent, or the run a person means ("last night's", "the one that failed"). Each run has its run_id, session_id, phase, start and end, and its error in one line when it failed. Read one run with get_run (why it failed, what it said), what it saved with get_run_outputs, and how it was graded with get_run_scores.

Inputs: agent (required), org, limit.

list_skill_versionsA
Read-onlyIdempotent

List a skill's version history (newest first): version hash, tag, who pushed it and when, and which version is current. Fetch one version's full content with get_skill and its hash or tag.

Inputs: slug (required), org, page_size, page_token.

read_docA
Read-onlyIdempotent

Read one page of Stigmer's documentation whole, as Markdown, exactly as published today. The text opens with the page's Source URL: cite it in the answer. Pass the page's path (e.g. tools) or its full https://stigmer.ai/docs/... URL. Only stigmer.ai/docs is read.

Inputs: page (required).

run_agentA

Start a run (asynchronous). Returns immediately with the created run (run_* ID) while the run continues in the background — poll get_run to observe progress, the tool uses it waits on, and the final answer. Omit session_id to start a fresh conversation on the agent; pass one to send a follow-up message into an existing session, which runs the agent the session started on. files hands the run files from the person's project ("run invoice-checker on samples/march.csv").

Inputs: agent (required), message (required), org, files, +4 more.

search_docsA
Read-onlyIdempotent

Search Stigmer's documentation at stigmer.ai/docs for the pages that answer a question: what Stigmer is, its editions and billing, how a concept works, a CLI command or SDK call, or why something fails. Returns the best-matching pages with their URLs. Then read the page with read_doc, whole, and answer from what it says.

Inputs: query (required).

submit_run_approvalA

Answer a tool use a run is waiting on (get_run's turn.phase is waiting). Find the waiting tool uses in get_run's turn.asks — tool_use_id must match exactly. The run continues once every waiting tool use of its turn is answered. deny refuses the one call and feeds your reason back to the agent, which then continues; to stop the conversation use cancel_run instead. An approval is the person's to give: send allow or allow_all only when the person you are working for said so, in this conversation, for this call.

Inputs: run_id (required), decision (required), tool_use_id (required), reason.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 16 tools

    Disambiguation4/5

    Each tool targets a distinct resource+action pair: agents (get/apply/delete/run), skills (get/delete/list_skill_versions), runs (list/get/outputs/scores/cancel/approval), and docs (search_docs/read_doc). The only real friction is the bare `search` tool, which spans agents and skills while `search_docs` covers documentation, and `get_run` vs `get_run_outputs`/`get_run_scores` require reading descriptions to separate lifecycle from artifacts and grading. Boundaries are nonetheless describable and an agent is unlikely to pick the wrong one often.

    Naming Consistency4/5

    Nearly the whole surface follows snake_case verb_noun (get_agent, delete_agent, list_runs, get_run_outputs, submit_run_approval, search_docs). Deviations are minor: the unqualified `search` breaks the resource-scoped pattern, and `read_doc` is singular where its sibling is `search_docs`. `apply_agent` uses upsert semantics rather than create/update but is documented as idempotent, so it stays readable.

    Tool Count4/5

    16 tools for four domains (agents, skills, runs, documentation) is slightly on the heavy side but each earns its place — the run subtools cover an actual lifecycle with distinct information needs (status, artifacts, scores, approval). Nothing looks like redundant padding, and no domain is over-served.

    Completeness4/5

    Agent lifecycle is complete (get/apply/delete/run), runs support start, poll, list, outputs, scores, approval, and cancel with a terminal state, and docs are both searchable and readable. The notable gap is skills: there is get/delete/list_skill_versions but no create or update tool, with the description pushing users to `stigmer skill push` in the CLI — a documented workaround, but an agent cannot complete the skill lifecycle through this server alone.

    Maintenance

    ActivityActive
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Open-source AI teammates for your company. The self-hosted agent layer: build, run and govern AI agents on your own servers, models and rules. RAG, skills, a real browser, 4,700+ MCP servers and an API, with budgets, approvals and an audit trail. Apache-2.0, built on Pydantic AI.
      965
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to turn plain-English descriptions into live, typed, versioned HTTPS backend endpoints with auth and secrets handled, then call them — with each endpoint able to combine LLM reasoning, web search, scraping, media and voice generation, email, databases, storage and scheduled jobs. Also lets agents create and edit projects, list and inspect generated resources and runtime packages, and apply local manifest files.
      MIT