Docs

Your first traced agent, in ten minutes.

Start the quick start
API reference

Install the SDK, wrap the agent you have, add a rule it must pass, and ship it behind a canary. Then read on, topic by topic.

Talos runs round the agents you already write. The SDK records every step a run takes and sends it to your workspace; the CLI ships an agent from your repository to an environment; the console is where you read the runs, answer approvals and set the rules.

This page takes one agent through all four. You need Python 3.9 or Node 18, an API key from your workspace’s settings, and an agent that already answers something.

Talos runs round the agents you already write. The SDK records every step a run takes and sends it to your workspace; the CLI ships an agent from your repository to an environment; the console is where you read the runs, answer approvals and set the rules.

This page takes one agent through all four. You need Python 3.9 or Node 18, an API key from your workspace’s settings, and an agent that already answers something.

Talos runs round the agents you already write. The SDK records every step a run takes and sends it to your workspace; the CLI ships an agent from your repository to an environment; the console is where you read the runs, answer approvals and set the rules.

This page takes one agent through all four. You need Python 3.9 or Node 18, an API key from your workspace’s settings, and an agent that already answers something.

01 / Quick start

Quick start

Quick start

Quick start

About 10 minutes

Install the SDK

Install the package and sign the CLI in to your workspace. The key is read from
TALOS_API_KEY
if you would rather set it in your environment.
terminal
$ pip install talos-sdk
$ talos login
$ pip install talos-sdk
$ talos login

Wrap an agent

Pass your agent to
talos.wrap
with a name. Nothing else changes: it answers as before, and each run now appears in the console with its steps, tokens and cost.
app.py
import talos
from my_app import support_agent

agent = talos.wrap(support_agent, name=”triage”)
agent.run(“Where is my refund for order 77-1902?”)
import talos
from my_app import support_agent

agent = talos.wrap(support_agent, name=”triage”)
agent.run(“Where is my refund for order 77-1902?”)

Works with LangGraph, the OpenAI Agents SDK, CrewAI, LlamaIndex and plain functions.

Add a guard

A guard is a function that runs before a step. Return
allow()
,
block()
or
ask()
to pause the run until a person answers. Attach it to a tool by name.
guards.py
from talos import guard, allow, ask

@guard(step=”stripe.refund”)
def refund_limit(run, call):
if call.amount > 40_00:
return ask(“billing-leads”, reason=”Refund over $40”)
return allow()
from talos import guard, allow, ask

@guard(step=”stripe.refund”)
def refund_limit(run, call):
if call.amount > 40_00:
return ask(“billing-leads”, reason=”Refund over $40”)
return allow()

Approvals go to Slack, Teams or the console. Set who answers in the workspace’s settings.

Deploy

Ship the agent to staging, then send five percent of production runs to it. Talos promotes the rest when the eval score, latency and cost hold against the version it replaces.
terminal
$ talos deploy triage --env staging
$ talos deploy triage --env production --canary 5%
# ✓ evals 48/48 · canary live · promotes in 2h if gates hold
$ talos deploy triage --env staging
$ talos deploy triage --env production --canary 5%
# ✓ evals 48/48 · canary live · promotes in 2h if gates hold

Roll back at any time with talos rollback triage.

That is the loop. Every change from here is a pull request, an eval run and a canary.
That is the loop. Every change from here is a pull request, an eval run and a canary.
That is the loop. Every change from here is a pull request, an eval run and a canary.

02 / Topics

Read on

Read on

Read on

01

Agents

What an agent is in Talos: its model, prompt, tools, memory and limits, in one file.

Read →
02

Tools

Give an agent a function, an API or an MCP server, with a schema Talos checks.

Read →
03

Guards

Rules a run must pass: budgets, personal data, money, and a person’s yes.

Read →
04

Evals

Test an agent on cases you write and runs you saved, before every deploy.

Read →
05

Deployments

Environments, canaries, gates and rollbacks, from the CLI or your CI.

Read →
06

API reference

Every endpoint for runs, agents, evals and approvals, over REST.

Read →

02.1

Agents

An agent is a config and the code it calls. The config names its model and a fallback, the tools it may use, how much it may spend on one run, and how long it may take. Each change is a new version, and every version is kept.
model
The model and an optional fallback, tried in order.
limits
max_cost, timeout and max_steps for one run.
memory
What it keeps between runs, scoped per customer.

02.2

Tools

A tool is any function with typed arguments, a connected integration, or a tool from an MCP server. Talos checks each call against the schema before it runs and records the arguments and the result on the trace.
@talos.tool
Turns a typed function into a tool.
mcp
Adds every tool of an MCP server by its address.
scopes
Limits a tool to read, or to named records.

02.3

Guards

A guard runs before or after a step and returns
allow
,
block
or
ask
. Guards can call a model, a pattern or your own service. A guard that must never be skipped can be set to fail closed.
allow()
The step goes ahead.
block()
The step is skipped and the run ends with a reason.
ask()
The run waits for a person’s answer.

02.4

Evals

An eval set is a list of inputs with what a good answer must hold. A scorer checks each one: an exact match, a rule, or a model as judge. The set runs on every pull request and on every release.
cases
Written by hand, or saved from a run.
scorers
match, contains, schema, judge, or your own.
threshold
The score a release needs to ship.

02.5

Deployments

A deployment puts a version of an agent in an environment. In production it starts as a canary on a share of the traffic and is promoted when its gates hold for long enough.
--canary
The share of runs for the new version.
gates
Limits on score, latency, cost and errors.
rollback
Back to the last version in two seconds.

02.6

API reference

The REST API does all the console does. It is versioned by date, authenticated by key, and limited to 600 requests a minute a workspace.
GET /v1/runs
List and search runs.
POST /v1/deployments
Start a deployment.
POST /v1/approvals/:id
Answer a waiting approval.

03 / Ask for help

Stuck?
Ask a person.

Stuck?
Ask a person.

Stuck?
Ask a person.

Most questions are answered within the hour, by the engineers who build Talos and by the people who run it.

01

Community

Ask on GitHub Discussions. 4,200 members, answers searchable for the next person.

02

An engineer

On Business and Enterprise, a shared Slack channel with our team. On every plan, a form.

03

What changed

Every SDK and API release, with what it fixes and what you need to change.

Free for your first 10,000 runs

Put your first agent
on shift tonight.

Put your first agent
on shift tonight.

Put your first agent
on shift tonight.

Talos
1,284 agents on shift
UTC 07:44:53

Create a free website with Framer, the website builder loved by startups, designers and agencies.