Agent Primitive
Stateful reasoning, safely
The Agent primitive is a conversational, tool-using runtime. Agents can plan, call tools, and carry state across turns. Tactus wraps that flexibility in guardrails so you can ship real automation without losing control.
What an Agent is built for
- Multi-turn reasoning: iterate until the task is done.
- Tool use: call APIs, query data, and stage side effects.
- Guardrails: specs, evaluations, and human-in-the-loop checkpoints.
If you just need repeatable predictions, use a Model. If you need a system that can think, adapt, and act, you want an Agent.
Declare the agent
Agents define a model, a system prompt, and the tools they can call.
Run the agent inside a procedure
Agents live inside procedures so you can validate inputs, outputs, and behavior.
Control tools per turn
Tools are an agent's capability boundary. You can override them per call to keep autonomy safe and predictable.
Test with mocks
Specs should validate your control flow. Mock agent tool calls and messages so tests are deterministic and cheap.
Guardrails matter more with Agents
Agents can take actions. That power demands controls: validations, behavior specifications, evaluations, and approvals. Tactus bakes those in so autonomy does not mean chaos.