Skip to main content
Open Source
Apache 2.0

Put AI agents in your product.

The open-source backend for the agents in your product. It runs behind your app, the way your database does.

Will it act before anyone says yes?

It stops before it posts a correction to Northwind's ledger. See the proof

Stigmer's chat panel inside a product, open beside Northwind Books' ledger. The ledger agent has read the ledger, found the Figma annual plan filed under office supplies, and waits for Approve or Deny before it posts the correction.
License
Apache 2.0 core
Model keys
Your own
Runs
Your servers or ours

The problem

Your customers want an agent that does the work. The machinery is the hard part.

A chat window on a model API answers questions. An agent that does a job for each of your customers needs a computer to work on, hours to finish the job, a way to ask before it acts, and walls between one customer and the next. Most teams end up building that themselves.

Can the agent's code touch your servers?

You'd buildA sandbox you run yourself

StigmerEach customer's agent gets its own computer

Environments

From a new message to a sleeping agent working again

Woken where it slept
2.53 s0.17 s of it waking the sandboxp95 2.62 s · 33 wakes
Woken from storage
2.78 s0.42 s of it waking the sandboxp95 3.06 s · 30 wakes

A new conversation's first turn, its sandbox created: 2.60 s (36 conversations)

Stigmer Cloud, preprod · October 31, 2026 · How we measured

What if the server restarts mid-job?

You'd buildQueues, retries and timeouts you wrote

StigmerIt works for hours and survives restarts

A job that runs for hours

Tested in CI

“a server rolled out mid-turn costs a watcher no event: each sees the whole log once, in order, the turn's end included”
“a runner killed mid-tool is replaced, the turn completes, and the model is handed the task once”
run-long-turn.conformance.test.ts

Will it act before anyone says yes?

You'd buildHand-rolled approval flags

StigmerIt asks before acting on what you mark

Approval flows
Northwind Books' ledger agent stops before it posts an adjustment and shows the account, the amount and the reason, waiting for the customer's yes.

Tested in CI

“the shell call waits before it runs; an allow runs it once, on a resumed engine in a new activity, and the turn completes”
run-approval.conformance.test.ts

Every test named here is in the open-source repository, and its CI runs them. How we test · The conformance suite

You could build all of that. Or use Stigmer.

Three more things we built

One API, every client

The console, the CLI and every SDK call the same API; the suite that checks it runs unchanged against the open-source, Enterprise and Cloud servers.

The conformance suitestigmer/stigmer · test/conformance/README.md

Anthropic's SDK reads your sessions

Point Anthropic's SDK at Stigmer with a Stigmer key: it lists, streams and sends a session's events.

Tested in CI

“a message sent the moment the stream opens starts a turn; the stream yields its events in log order to end_turn”
session-events-managed-agents.conformance.test.ts
Compare with Managed Agentsstigmer.ai/compare/claude-managed-agents

Two agent engines

Stigmer's own engine or the Claude Agent SDK, per conversation; approvals work on both.

Tested in CI

“a deny: the call never runs, its result is an error, and the turn completes”
run-approval.conformance.test.ts

The sandbox

A computer per conversation, and nothing it shouldn't reach.

On Stigmer Cloud, and on your own servers with the Agent Substrate driver.

What each driver doesstigmer.ai/docs/guides/self-hosting/runners#environments-on-your-sandboxes

1 · Inside

What's on it?

Each conversation gets a machine of its own: an isolated sandbox, gVisor on Stigmer Cloud, with Node, Python, Go and git ready.

Its Environment adds what the agent needs, installed before the first turn.

The agent works as its own user, without the administrator's rights.

Environmentdata-science
apiVersion: agentic.stigmer.ai/v1
kind: Environment
metadata:
  name: Data science
  slug: data-science
spec:
  description: "pandas and poppler, GitHub and our API only"
  networking:
    type: limited
    allowed_hosts: [api.github.com, our-api.example.com]
    allow_package_managers: true
  packages:
    apt: [poppler-utils]
    pip: [pandas, sqlalchemy==2.0.30]

Tested in CI

“drops with the measured flags: the agent's ids, no groups, no inheritable capabilities, no new privileges”
agent-identity.test.ts
The sandbox's imagestigmer/stigmer · backend/services/runner/Dockerfile.sandbox

2 · Reach

What can it reach?

Only the websites its Environment lists, and the package registries and code hosts when it turns them on.

Any other website is closed during the TLS handshake.

  • api.github.com
  • our-api.example.com
  • Package registries and code hosts
  • Any other website: closed during the TLS handshake

The agent never holds your model key. On Stigmer Cloud it never enters the sandbox: model calls leave through Stigmer's model proxy, which adds it.

Tested in CI

“limited: no wildcard; HTTPS to its hosts, the runner's own and the operator's, each once; a cleartext host also on port 80”
egress.test.ts

Tested in CI

“forwards as that turn's execution, with the runner's token in place of the key”
server.test.ts

3 · Sleep

What happens when nobody's using it?

When nobody is writing to it, it sleeps, and its files stay. The next message wakes it where it left off.

On Stigmer Cloud, waiting for a person or the next message is never an agent hour.

  1. The agent sends its last reply.
  2. Nobody writes for a while, so it sleeps. Its files stay on its node, then in storage.
  3. The next message wakes it: a fresh runner, its files where it left them.

Never while a run or an approval waits.

How long a wake takes

Tested in CI

“suspends an idle running sandbox, leaves a sleeping one and a busy one”
sweep.test.ts
Waiting is never an agent hourstigmer.ai/docs/billing#agent-hours

How it fits

It runs behind your app, the way your database does.

Northwind Books, a customer in your app, hands over ledger.csv. Your backend sends it to Stigmer's API, the way it calls your database. Access checks who may do this. The job starts on Temporal and survives restarts. It works in this conversation's own sandbox, beside other customers' sandboxes it cannot reach, and calls your model provider on your key. It asks Northwind Books before it runs post_adjustment, over the chat straight to your app. variance-report.md comes back to your app.
01

Describe the job

An Agent is a short file: what it does and what it may use.

Your first agent job
02

Call it from your backend

Your backend starts a conversation, sends the customer's file, and gets the agent's files back.

Do the same job from your app
03

Put it in front of your users

Your signed-in users reach their agent inside your app.

Put the agent in your app

Drop it in

It drops into your app in a few lines of React.

The same AgentChat docks beside your page as a panel, fills a page of its own, or waits behind a button in the corner. Put the agent in your app has the rest, with the backend route that hands the page its token.

src/App.tsx
import { Stigmer, createTokenCache } from "@stigmer/client";
import { AgentChat, StigmerProvider } from "@stigmer/react-sdk/chat";
import "@stigmer/react-sdk/styles.css";
// …
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>
);
}

Open source

Open source, on your servers or ours

Stigmer's core is Apache 2.0. Run it on your own servers, or use Stigmer Cloud. The editions say what each includes.

Put your first agent to work

Give an agent a ledger on your own machine. It hands back a report.

Terminal
brew install stigmer/tap/stigmer
export ANTHROPIC_API_KEY=<your Anthropic API key>
stigmer up
stigmer apply -f variance-reporter.yaml
stigmer run variance-reporter --attach ledger.csv --download ./out --until turn -m "Review this quarter's ledger."

The Agent's file and the ledger are in the quickstart.