From a prompt to a live app.
What Cori gives you
- 01
Not a prototype. The app.
Durable workflows, a Postgres store with rules for each role, approvals and an audit trail, at an address your team signs into. Nothing to rewrite when everyone starts using it.
workflows · store · approvals · auditPrototype vs production → - 02
Keep your agent.
Claude Code, Codex, Cursor, Copilot, Gemini CLI or any agent with a shell. Cori plugs into the one you already pay for: no new AI to buy, no new editor to learn.
plugin · cli · mcpSupported agents → - 03
The agent thinks once.
Your agent works out the process. Cori runs it as code: the same path every run, checked before it ships, with a model only where you put one.
design time → run timeSee the benchmark →
Four moves.
The last one is yours.
> Build our purchase requests app. Anyone on the team files a request. Up to 100 € a rule approves it; above that, or for travel, a manager decides.
⏺ One workflow of six steps, a store whose rows belong to who filed them, and three screens. Managers see everyone’s requests. Deploying a preview next.
The UI was the easy part.
A coding agent writes a convincing internal tool in an afternoon. What it can’t hand you is the part that has to hold on Monday: a request that waits days for a manager, data each person may or may not see, and a record of who changed what.
Prototype: Die with the request, or with the laptop.
On Cori Cloud: Durable on Temporal: a run can wait a week for a decision, survives every deploy, and retries the step that failed.
decisionsPrototype: The model decides again on every run.
On Cori Cloud: Rules live in typed TypeScript. A model step answers to a fixed schema, and the decision stays in code you can read.
accessPrototype: One API key, and everyone sees everything.
On Cori Cloud: People sign in. Each role gets its screens, rows and columns, from rules in the app’s folder.
changesPrototype: Edited in place, and hoped for.
On Cori Cloud: Every release is checked, previewed on its own sandbox data and made live by a person. Rolling back is one click.
Works with the agent you already pay for.
Claude Code gets Cori in one plugin. Any agent that runs a shell works too: the cori command line, and an AGENTS.md in every app that tells it the rules.
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- Cline
- OpenCode
- Conductor
+ any agent with a shell, or an MCP client
The agent thinks once. Cori runs it every time.
An agent is brilliant at finding a path and unreliable at repeating it. We gave fresh agents ten ordinary multi-tool tasks, three times each, then replayed the workflows Cori had captured from them.
b1 · support inbox triage · tool calls
- run 19passed
- run 226
- run 326
- tokens
- 370k · 469k · 436k
- minutes
- 1.90 · 2.18 · 2.22
The 9-call run passed. A 26-call run missed a required digest and failed. Same task, same fixtures.
- trials passed, across all ten tasks
- 30/30
- activities, every one on its first attempt
- 294
- model tokens at run time
- 0
- an average run, against 100.6 s for fresh agents
- 13.5 s
Run to run, fresh agents varied by a median 23.4% in tool calls, 13.9% in tokens and 11.3% in time. Ten Google Workspace tasks on synthetic fixtures, three trials each: a small sample, reported as measured. Read the benchmark →
Real code, not a prompt.
Every organization starts with this app: a model sorts each request, a rule approves up to 100 €, a manager decides the rest. Your agent writes the same shapes for yours, and your team reviews them like any other code.
The decision is a rule over typed data, in plain TypeScript, never the model's.
import { step } from "@cori-do/sdk";
import type { Ctx } from "../.cori/context";
import { z } from "zod";
/** Requests up to this amount are approved by the rule; above it,
* or for travel, a person decides. */
const APPROVED_BY_RULE_UP_TO_EUR = 100;
// The decision is a rule over typed data, never the model's.
export default step.code({
name: "route",
description: "Approve by the rule, or ask a manager",
input: (ctx: Ctx<"route">) => ({
amount_eur: ctx.params.amount_eur,
category: ctx.steps.triage.category,
}),
output: z.object({ needs_approval: z.boolean(), reason: z.string() }),
run: ({ amount_eur, category }) => {
if (category === "travel")
return { needs_approval: true, reason: "Travel is always approved by a person" };
if (amount_eur > APPROVED_BY_RULE_UP_TO_EUR)
return { needs_approval: true, reason: `Over ${APPROVED_BY_RULE_UP_TO_EUR} €` };
return {
needs_approval: false,
reason: `Up to ${APPROVED_BY_RULE_UP_TO_EUR} €: approved by the rule`,
};
},
});- code
- TypeScript over typed inputs: rules and decisions
- llm
- one model call, a fixed schema, a cost tier
- store
- the app’s Postgres, through its rules
- human
- an approval or an answer, routed to a role
- http
- an API behind a connector your org declared
- mcp
- one tool of an MCP server your org connected
- cli
- an allow-listed program, in a sandbox
- activity
- your own Temporal code: Go, C#, Java…
- workflow
- another workflow of the app, as a child
Your colleagues get an app, not a repo.
The live app has its own address and its own sign-in. People see the screens and rows their role allows, managers decide from an inbox, and every run keeps its steps, its inputs and who decided.
- People and roles
- Invite your team and give each person roles in each app. Share one app with someone outside as a guest, once an admin agrees.
- Approvals
- Human steps wait in an inbox, routed to a role, with a deadline and what happens when it passes.
- Audit trail
- Runs started, decisions taken, releases deployed and made live, access granted: each one recorded with who and when.
- Data
- Each store opens as a sheet of the rows and columns your role reaches, and no others.
- ✓Triagellmsmall tier · 812 tokens · travel1.6 s
- ✓RoutecodeTravel is always approved by a person9 ms
- ✓Recordstorerequests · createRequest58 ms
- Approve requesthumanmanager · 7 days, then declinedwaiting
- Decidecode
- Closestore
