Skip to main content

Tactus

Learn More

Deep-dive articles that explain how to give agents tools, keep them safe with guardrails, and measure their reliability.

Guiding Principles

Tactus is opinionated on purpose: close the loop with verifiable iteration, shift left to catch errors early, and use layered guardrails so agents can do real work safely.

Read: Principles

The Tactus Book Series

Three complementary books: learn the patterns, dive into the reference, or keep the cheat sheet on your desk.

Learning Tactus

Learning Tactus cover

A coherent introduction: the why, the mental model, and the core patterns.

Read · PDF · Repo

Programming Tactus

Programming Tactus cover

The reference: a deeper and broader tour of the language.

Read · PDF · Repo

Tactus in a Nutshell

Tactus in a Nutshell cover

A quick reference for when you’re writing and debugging.

Read · PDF · Repo

The AI Engineer’s Toolbox

A marketing-forward perspective on tool design: schema-first capabilities, inspectable tool calls, programmable gateways, context-efficient discovery, and staged access.

Read: Toolbox

Guardrails for Agent Autonomy

Tactus gives you levers of control at every level: capability, context, network, and human oversight. You don't hope for safety—you engineer it.

Read: Guardrails

Validation

Procedures declare typed inputs and outputs, validated with Pydantic. This isn't just decoration: it's a contract that guarantees type safety at the edges of your agentic workflows.

Read: Validation

Model Primitive

A stateless prediction interface for training, inference, and evaluation. Clean contracts, versioned models, and reliable outputs.

Read: Model Primitive

Agent Primitive

A stateful, tool-using runtime for multi-turn reasoning. Guardrails turn autonomy into shippable behavior.

Read: Agent Primitive

Videos

Watch the story: visuals + narration that mirror the articles.

Guardrails for Agent Autonomy

Why constraints enable autonomy: staged tools, human gates, and a secretless broker boundary (so there’s nothing in the runtime to steal).

Watch

Plus 2 more videos on the videos page.

Watch videos

Sandboxing & Isolation

Agents run in a Lua sandbox inside a networkless container, constraining what they can touch and firewalling side effects. Privileged operations are brokered by a separate process that holds the secrets. It’s like letting a burglar into an empty building: even if the agent is compromised, there’s nothing valuable inside to steal—and nowhere to send it.

Read: Sandboxing

Behavior Specifications

Tactus treats behavior specs as part of the language itself: inline with procedures, executable by the runtime, and tied directly to evaluations so reliability stays visible as your system changes.

Read: Specifications

Evaluations

One successful run is luck. Reliability is a statistic. Evaluations let you measure accuracy, cost, and reliability performance across datasets so you can ship with confidence.

Read: Evaluations