Skip to main content

What is a digital twin?

A digital twin is a behavioral clone of a real service, including object relationships, handles edge cases, and realistic errors. If an agent creates a GitHub issue then searches for it, it’s there. If it sends a Slack message to a nonexistent channel, it gets the same error Slack would give. Each twin:
  • Implements the full MCP tool interface of the real service
  • Is backed by an in-memory state engine with typed entity relationships
  • Comes pre-loaded with seed scenarios (empty, small-team, enterprise, edge-case-heavy)
  • Runs in hosted Archal cloud sessions
  • Exposes MCP endpoints over HTTPS

Supported twins

These are currently supported in hosted sessions.
TwinDescription
GitHubRepos, issues, PRs, branches, files, commits, workflows
SlackChannels, messages, threads, reactions, users
StripeCustomers, products, prices, payments, invoices, subscriptions, disputes
RampCards, funds, transactions, reimbursements, bills, approvals, travel
JiraIssues, projects, boards, sprints, worklogs, versions
LinearIssues, projects, teams, cycles, initiatives
SupabaseSQL, tables, migrations, extensions, edge functions, branches
BrowserWeb page navigation, forms, screenshots, console
Need a specific integration? Suggest your own twin.

Managing twins

archal run handles the hosted session lifecycle automatically:
  1. Creates a hosted session for the requested twins
  2. Runs your agent against hosted twin endpoints
  3. Finalizes evidence and tears down the session

Seeds

Each twin comes with pre-built seed states. Seeds are JSON files that define the initial state of the twin. For example, the GitHub twin includes seeds like:
  • empty - blank repository
  • small-project - repo with a handful of issues and PRs
  • enterprise-repo - large repo with complex branch structure
  • stale-issues - repo with aging issues for triage scenarios
  • merge-conflict - repo with conflicting branches
You can specify which seed to use in your scenario’s Config section or via the --seed CLI flag.