Tandem Authority Layer Guide
Welcome to the Tandem documentation hub. Tandem is the authority layer for AI-first work: an engine-owned runtime that controls what agents can see, which tools they can use, when humans must approve, and what evidence survives after the work is done.
To help you find what you need quickly, please select the path that best describes how you plan to use Tandem:
AI assistant or agent? Start at the For LLMs section for the fast path to correct results.
π₯οΈ I am a Desktop User
You want to run the native Tandem desktop app or terminal UI to assist you with local file tasks, writing, coding, or managing agents.
- TUI Guide β Learn how to navigate the Terminal UI.
- Control Panel (Web Admin) β Run the official browser UI or scaffold an editable panel app.
- How Tandem Works Under the Hood β Canonical runtime reference for sessions, runs, context, memory, and channels.
- Agents & Sessions β Understand how sessions and context work.
- Agent Teams β Learn how Tandem orchestrates specialized sub-agents.
- Configuration β Setup providers, API keys, and system instructions.
βοΈ I am a Server Admin
You want to deploy Tandem to a VPS, headless server, hosted/private environment, or customer infrastructure so agents can operate through runtime authority rather than prompt-only permissions.
- Control Panel (Web Admin) β Install the packaged web admin or generate an editable control panel app.
- Enterprise Client Onboarding Runbook β Bring a client pilot online quickly, then harden it for enterprise rollout.
- Enterprise Data Governance β Configure tenant-scoped org units, source bindings, connector credentials, quarantine review, and enterprise MCP governance.
- Headless Service β Run the Tandem Engine in headless API mode.
- Channel Integrations β Connect Telegram, Discord, and Slack with media-aware prompt flow.
- Deployment Guide β Learn best practices for securely exposing Tandem.
- Protocol Matrix β Understand the ports and network boundaries.
Setting up enterprise systems with agents
Start with the Enterprise Client Onboarding Runbook when the goal is to get a client live quickly, then use Enterprise Data Governance for the deeper endpoint and policy details.
Agents can help operators design and verify enterprise setups, but they should work through the runtimeβs governance surfaces instead of bypassing them. A useful agent can:
- map business domains into org units and access grants for admin review
- draft connector, source-binding, and data-class plans before credentials are attached
- inspect MCP availability with
mcp_listandmcp_list_catalog - request missing connector capabilities instead of self-connecting them
- generate staged automation definitions with narrow
tool_policyandmcp_policy - create runbooks for quarantine review, connector rotation, and incident response
Agents should not paste raw secrets, grant themselves enterprise admin access, or treat catalog visibility as permission to execute connector tools.
π» I am a Developer
You want to build custom clients, connect external tools via MCP, or programmatically trigger AI-first workflows with scoped execution, approvals, permissioned memory, and evidence.
- Building Automated Agents β Trigger agent pipelines automatically.
- Enterprise Client Onboarding Runbook β Agent-facing pilot and hardening checklist for getting clients online fast.
- Enterprise Data Governance β Teach agents how hosted admins scope company data, connector credentials, source bindings, quarantine review, and enterprise MCP governance.
- Eval Runner CLI β Run versioned AI quality evaluation datasets with
cargo run -p tandem-server --bin eval-runner. - Self-Operator Playbook β Operate governed recursive automations safely. Premium governance feature set required for mutation flows.
- MCP Capability Discovery And Request Flow β Distinguish connected, cataloged, and uncataloged MCPs before requesting new capabilities.
- Prompting Workflows And Missions β Turn human intent into strong staged workflows and missions.
- Agent Workflow And Mission Quickstart β Minimal checklist for agents creating and running Tandem systems.
- Tandem Wow Demo Playbook β Teach agents how to turn docs into showcase payloads with clear handoffs and tight tool scopes.
- Choosing Providers And Models For Agents β Pick stable defaults and targeted overrides without burying model choices in prompts.
- Creating And Running Workflows And Missions β Choose the right Tandem path and operate it correctly.
- Automation Examples For Teams β End-to-end workflow proofs for control-panel and SDK-driven automation.
- Build an Automation With the AI Assistant β Prompt-first workflow authoring with preview, validation, and run-now.
- Memory Internals β Learn how Tandem stores transcript history, retrieval memory, replay state, and reusable knowledge.
- Storage Maintenance For Agents β Clean local storage safely and remove stale repo-local managed worktrees when
.tandem/worktreesleaks after blocked or failed runs. - Governance Reference β Review provenance chains, capability grants, approval queues, and audit events. Premium governance feature set required for managed mutation flows.
- Automation Governance Lifecycle β Inspect the concrete review, pause, approval, and retirement state machine used by the premium governance engine.
- Engine Authentication For Agents β Get the token, authorize calls, and connect agents safely.
- Autonomous Coding Agents with GitHub Projects β Build coding agents on Tandemβs engine-native GitHub MCP path.
- Coding Tasks With Tandem β Learn the execution contract for worktrees, diffs, commits, and verification.
- Bug Monitor And Issue Reporter β Turn failures and operator findings into governed drafts, approvals, and published issues.
- Bug Monitor External Log Intake β Teach agents and operators how to connect external project logs, scoped intake keys, and reset/replay debug actions.
- WebMCP for Agents β Expose local HTTP APIs to your agents.
- Browser Setup and Testing β Build, install, validate, and incorporate
tandem-browser. - SDKs: Integrate Tandem into your own codebases using our official libraries.
- π TypeScript SDK
- π Python SDK
- How Tandem Works Under the Hood β Canonical runtime reference for sessions, runs, context, memory, and channels.
- Tandem Architecture β Understand the internal design of the Engine.
First time here? Start with the Start Here guide!