Tandem Engine Guide
Welcome to the Tandem Engine Documentation. Tandem is an engine-owned workflow runtime for coordinated autonomous work, built to scale beyond the limitations of chat-first AI assistants and operate in multiple highly-concurrent configurations.
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 or headless server so that you, or your external applications, can access autonomous agents remotely.
- Control Panel (Web Admin) β Install the packaged web admin or generate an editable control panel app.
- 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.
π» I am a Developer
You want to build custom clients, connect external tools via MCP, or programmatically trigger agent workflows.
- Building Automated Agents β Trigger agent pipelines automatically.
- 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!