---
title: "Tempo AI Platform: unstoppable agents with money"
description: "Cloud Codex and Claude agents, frontier models, web search, sandboxes, GPUs, your machines and storage, all paid from one Tempo Key with a budget enforced on chain."
url: "https://gateway.tempo-dev.workers.dev/"
---

> Every page of the Tempo AI Platform is Markdown at its URL with .md, or with Accept: text/markdown. The index of every page is https://gateway.tempo-dev.workers.dev/llms.txt, the API https://gateway.tempo-dev.workers.dev/openapi.json and the MCP server https://gateway.tempo-dev.workers.dev/mcp.

# Tempo AI Platform

Unstoppable cloud agents with money.

## [It durably runs agent swarms on any model, without your laptop](https://gateway.tempo-dev.workers.dev/docs/guides/swarms.md)

How an agent's turn runs in its own Durable Object, fans out to subagents on any model, and survives disconnects, crashes and deploys.

## [It's multiplayer](https://gateway.tempo-dev.workers.dev/docs/guides/multiplayer.md)

A team co-steers the same agents from its members' own wallets and keys, reuses their personas, and spends one budget with a limit per member.

- [teams](https://gateway.tempo-dev.workers.dev/docs/guides/multiplayer.md#teams): admins and members, each with their own wallet and keys
- [shared agents](https://gateway.tempo-dev.workers.dev/docs/guides/multiplayer.md#co-steering): teammates steer each other's turns on one agent
- [personas](https://gateway.tempo-dev.workers.dev/docs/guides/multiplayer.md#personas): private or team-wide agent templates with a system prompt
- [team budgets](https://gateway.tempo-dev.workers.dev/docs/guides/multiplayer.md#budgets): one pool pays for every member, with a limit per member every 30 days
- [sponsored channels](https://gateway.tempo-dev.workers.dev/docs/guides/multiplayer.md#sponsors): another wallet pays for your key or agent

## [It's context efficient](https://gateway.tempo-dev.workers.dev/docs/guides/code-mode.md)

In Code Mode the model writes one program that calls every tool, and only what it returns enters the model's context.

**without code mode** context

```text
> which of the 20 logs has the most errors?

read app-01.log           2k  #
read app-02.log           4k  ##
read app-03.log           6k  ###
... 16 more reads
read app-20.log          40k  ####################
app-07.log: 412 errors

21 model calls, 420k tokens in
```

**with code mode** context

```text
> which of the 20 logs has the most errors?
```

```text
code: 20 reads, 1 cell  0.2k  #
```

```ts
const logs = Array.from({ length: 20 }, (_, i) =>
  `logs/app-${String(i + 1).padStart(2, "0")}.log`)

const counts = await Promise.all(
  logs.map(async (log) => {
    const text = await tools.exec_command({ cmd: `cat ${log}` })
    return [log, text.split("\n").filter((line) => line.includes("ERROR")).length]
  }),
)

const [log, errors] = counts.sort((a, b) => b[1] - a[1])[0]
return `${log}: ${errors} errors`
```

```text
app-07.log: 412 errors

2 model calls, 0.2k tokens in
```

## [It's customizable](https://gateway.tempo-dev.workers.dev/docs/guides/personas.md)

A persona names an agent's harness, model, effort and instructions once, so you set up a customer support agent a single time and every agent started from it, yours or your team's, answers the same way.

```text
+- persona support --------------------------------------+
| harness       claude                                   |
| model         claude-sonnet-5.5                        |
| thinking      low                                      |
| instructions  answer from help/, link the page used,   |
|               file refunds in tickets/ for a person    |
+--------------------------------------------------------+
  |  a turn to support, or ssh support@, makes the agent
  v
+- what its model reads ---------------------------------+
| claude code's own system prompt, unchanged             |
| + agents.md instructions for persona support           |
| + the customer: order 1042 arrived broken              |
+--------------------------------------------------------+
```

**1. Save the persona**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/personas/set \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{
    "name": "support",
    "description": "Acme customer support",
    "harness": "claude",
    "model": "vercel/anthropic/claude-sonnet-5.5",
    "thinking": "low",
    "instructions": "Answer for Acme support from the pages in kv under help/, and link the one you used. Never promise a refund: write the case to tickets/ for a person."
  }'
```

**2. Ask it**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/agents/support/turns \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -H accept:text/event-stream \
  -d '{"prompt":"Order 1042 arrived broken. What can I do?"}'
```

**Over SSH**

```sh
ssh support@tempo.nanocode.xyz
```

**For your team**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/personas/set \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{"name":"support","team":"'$TEAM'","harness":"claude","instructions":"Answer for Acme support from the pages in kv under help/, and link the one you used. Never promise a refund: write the case to tickets/ for a person."}'
```

## [It wakes up on its own](https://gateway.tempo-dev.workers.dev/docs/guides/triggers.md)

A schedule or a GitHub event, a pull request, a mention or failed CI, starts a turn on its own.

**Every weekday at 9**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/agents/support/triggers \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{
    "prompt": "Summarize yesterday’s tickets and open questions.",
    "schedule": {"cron": "0 9 * * 1-5", "timezone": "America/Los_Angeles"}
  }'
```

**On every pull request**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/agents/reviewer/triggers \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{
    "prompt": "Review this and comment on the pull request:\n\n{{event}}",
    "github": {"repository": "acme/api", "events": ["pull_request.opened", "mention"]}
  }'
```

## [It can pay for its own compute, memory and storage](https://gateway.tempo-dev.workers.dev/docs/guides/resources.md)

One API over the best provider for each, paid for by the second or by the call.

- [compute\_\*](https://gateway.tempo-dev.workers.dev/docs/compute.md#compute): sandboxes and GPUs, one API over [E2B](https://gateway.tempo-dev.workers.dev/docs/compute.md#compute) and [Modal](https://gateway.tempo-dev.workers.dev/docs/compute.md#compute)
- [browser\_\*](https://gateway.tempo-dev.workers.dev/docs/compute.md#browsers): Chromium on [Browserbase](https://gateway.tempo-dev.workers.dev/docs/compute.md#browsers)
- [kv\_\*](https://gateway.tempo-dev.workers.dev/docs/memory.md#kv): values in [Cloudflare D1](https://gateway.tempo-dev.workers.dev/docs/memory.md#kv)
- [bucket\_\*](https://gateway.tempo-dev.workers.dev/docs/memory.md#bucket): files in [Cloudflare R2](https://gateway.tempo-dev.workers.dev/docs/memory.md#bucket)
- [git\_\*](https://gateway.tempo-dev.workers.dev/docs/memory.md#git): repositories on [code.storage](https://gateway.tempo-dev.workers.dev/docs/memory.md#git)

## [It supports every tool](https://gateway.tempo-dev.workers.dev/docs/guides/tools.md)

One MPP session pays the platform's tools and 139 paid APIs per call, in stablecoins, for fractions of a cent.

- [open](https://gateway.tempo-dev.workers.dev/docs/services.md#sessions): one deposit on Tempo, once
- [each call](https://gateway.tempo-dev.workers.dev/docs/services.md#sessions): a voucher signed off chain in about 40 ms, from $0.0001
- [settle and close](https://gateway.tempo-dev.workers.dev/docs/services.md#sessions): only what was spent, and the rest comes back
- pays [the platform's tools](https://gateway.tempo-dev.workers.dev/docs/mcp.md), [139 services on mpp.dev](https://gateway.tempo-dev.workers.dev/docs/services.md#fetch) and [any MCP tool](https://gateway.tempo-dev.workers.dev/docs/mcp.md)

## [It connects to your tools](https://gateway.tempo-dev.workers.dev/docs/guides/connectors.md)

Connect Linear, Notion, Slack or any remote MCP server once, over MCP or the API, and every agent gets its tools.

**From Claude Code or Codex**

```sh
claude mcp add --transport http tempo https://gateway.tempo-dev.workers.dev/mcp \
  --header "authorization: Bearer $TEMPO_KEY"

claude "connect Linear with the tempo connectors_add tool, give me the sign-in link,
  then have my support agent triage new Linear issues every morning"
```

**Over the API, with OAuth**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/connectors \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{"name": "linear", "url": "https://mcp.linear.app/mcp", "auth": {"type": "oauth"}}'
```

**Over the API, with a token**

```sh
curl https://gateway.tempo-dev.workers.dev/v1/connectors \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{"name": "sentry", "url": "https://mcp.sentry.dev/mcp", "auth": {"type": "bearer", "token": "'$SENTRY_TOKEN'"}}'
```

**Then ask an agent**

```sh
ssh support@tempo.nanocode.xyz "file a Linear issue for every failing test in CI"
```

## [It's an API](https://gateway.tempo-dev.workers.dev/docs/guides/api.md)

Log in with Tempo here or in the agent above, and every command on this page carries your key.

**start a cloud agent**

```sh
export TEMPO_KEY=sk-tempo-…

curl https://gateway.tempo-dev.workers.dev/v1/agents \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -d '{"harness":"codex","model":"@cf/deepseek-ai/deepseek-v4.1-flash-1017","persona":"bench"}'

curl https://gateway.tempo-dev.workers.dev/v1/agents/bench/turns \
  -H "authorization: Bearer $TEMPO_KEY" \
  -H content-type:application/json \
  -H accept:text/event-stream \
  -d '{"prompt":"Benchmark zlib, bz2 and lzma in sandboxes"}'
```

## [It's an MCP](https://gateway.tempo-dev.workers.dev/docs/guides/mcp.md)

Every capability is also an MCP tool, for Claude Code, Codex or any MCP client, paid from the same key.

**Claude Code**

```sh
claude mcp add --transport http tempo https://gateway.tempo-dev.workers.dev/mcp \
  --header "authorization: Bearer $TEMPO_KEY"
```

**Codex**

```sh
curl -fsSL https://gateway.tempo-dev.workers.dev/codex | sh
```

## [It's an MPP service](https://gateway.tempo-dev.workers.dev/docs/guides/mpp.md)

It works natively with agents that hold their own wallet, with no key at all: every route answers 402 Payment Required, the agent pays per call over MPP in MACH or OUSD, and the wallet that paid owns what it stores.

**Tempo Wallet CLI**

```sh
tempo request --mach -X POST \
  --json '{"model":"@cf/deepseek-ai/deepseek-v4.1-flash-1017","input":"Say hello"}' \
  https://gateway.tempo-dev.workers.dev/v1/responses
```

**A sandbox**

```sh
tempo request --mach -X POST \
  -H gateway-app:default \
  --json '{"lease":300}' \
  https://gateway.tempo-dev.workers.dev/v1/compute/create
```

**mppx**

```ts
import { Mppx, tempo } from "mppx/client";
import { createSqliteChannelStore } from "mppx/client/node";
import { privateKeyToAccount } from "viem/accounts";
import * as Limits from "../../../src/Limits.ts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const channelStore = createSqliteChannelStore({ namespace: "https://gateway.tempo-dev.workers.dev" });
Mppx.create({ methods: [tempo({ account, channelStore })] });

await fetch("https://gateway.tempo-dev.workers.dev/v1/responses", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ model: "@cf/deepseek-ai/deepseek-v4.1-flash-1017", input: "Say hello" }),
});
```

## [It speaks SSH](https://gateway.tempo-dev.workers.dev/docs/guides/ssh.md)

`ssh tempo.nanocode.xyz` signs in with Tempo ID once and opens your cloud agent in nanocode's terminal UI, the username naming the agent, and pipes and scp carry files in and out of its workspace.

**Open an agent**

```sh
ssh research@tempo.nanocode.xyz
```

**Pipe a prompt**

```sh
git diff | ssh reviewer@tempo.nanocode.xyz "review this"
```

**Copy files**

```sh
scp data.csv analyst@tempo.nanocode.xyz:
ssh analyst@tempo.nanocode.xyz "analyze uploads/data.csv and write report.md"
scp analyst@tempo.nanocode.xyz:report.md .
```

**Port 22 blocked**

```sh
curl -fsSL https://gateway.tempo-dev.workers.dev/ssh | sh
ssh tempo
```

## [Get started](https://gateway.tempo-dev.workers.dev/key.md)

Get a Tempo Key for the API and MCP, or pay from your own wallet over MPP. The [quickstart](https://gateway.tempo-dev.workers.dev/docs/quickstart.md) goes step by step, and [How it works](https://gateway.tempo-dev.workers.dev/docs.md#guides) explains each part above.

[Get your Tempo Key](https://gateway.tempo-dev.workers.dev/key.md)

```text
+- agents -----------------------------------------------+
| codex and claude, in the cloud. you start it           |
|                                                        |
| +- what it calls ------------------------------------+ |
| | models      gpt-6.1, claude 5.5, gemini 4, +14     | |
| | services    web search, exa, fal.ai, +136          | |
| | compute     sandboxes, gpus, browsers              | |
| | machines    your laptop, a sandbox, a gpu box      | |
| | connectors  github, linear, any mcp                | |
| | memory      key-value, files, git                  | |
| |                                                    | |
| | +- money ----------------------------------------+ | |
| | | tempo key  a budget tempo enforces on chain    | | |
| | +------------------------------------------------+ | |
| +----------------------------------------------------+ |
+--------------------------------------------------------+
```
