Getting Started
Install Syntropic137 and run your first AI agent workflow.
Syntropic137 orchestrates coding agent sessions inside isolated Docker workspaces, giving you scalable, observable, trigger-driven AI agent execution. Each workflow phase runs in its own container with injected credentials, captured output, and token tracking. Cost tracking depends on the harness: Claude phases are priced per run, Codex phases are priced from their token counts whenever the model has a price entry, including the default gpt-sol alias, which resolves to a concrete, priced model id, and never report vendor cost.
Two agent harnesses are supported: Claude Code and OpenAI Codex. Each phase picks one in the workflow YAML, so a single workflow can implement with one vendor and review with the other. See Choosing an Agent Harness.
Get up and running in a single command: no config files, no YAML, no manual setup.
npx @syntropic137/setup initPrerequisites
- Node.js 22+: the
synCLI declares Node.js 22 or later. The setup CLI alone runs on 20.12+ and stops older versions with a clear message - Docker with Docker Compose v2.23.1+: for the service stack and the isolated agent workspaces (the published compose inlines config content)
- A Claude credential: an Anthropic API key, or a Claude subscription token from
claude setup-token - A GitHub account: for the GitHub App that lets workflows clone and work on your repos
- Codex (optional): a Codex login, only if you want to run Codex phases
Syntropic137 requires Docker Compose v2 (the docker compose plugin), not the legacy v1 (docker-compose). Check with docker compose version.
What You Need for Each Capability
Each tier adds to the one before it.
| Tier | You add | You get |
|---|---|---|
| Core | Docker, Node.js 22+, a Claude credential | The stack, the dashboard, observability, the syn CLI and the agent skills |
| Repos and polling triggers | A GitHub account, and two clicks: create the GitHub App, install it on your repos | Workflows that clone and work on your repos, and triggers on PRs, pushes, issues and CI results through polling (no public URL needed) |
| Codex | A Codex login, its ~/.codex/auth.json contents set as CODEX_AUTH_JSON in ~/.syntropic137/.env, or an OpenAI API key set as OPENAI_API_KEY there | Codex phases, alongside or instead of Claude phases |
| Instant webhooks and remote access | A Cloudflare account, a domain and a tunnel token | Real-time webhook delivery (about 1s instead of a polling interval), the CI/CD events only webhooks carry, and the dashboard from anywhere |
Running a workflow on a repository currently needs the GitHub App, even for a public repository (#1948). Core alone gives you the stack, the dashboard and the CLI, but not a repo workflow run yet. Create the App during init: adding one to an existing install is not supported yet, so skipping it means a reset and a fresh init later.
For Codex, see Codex authentication. For webhooks and remote access, see Tunnels.
Install
npx @syntropic137/setup initThe init wizard walks you through the full setup step by step:
- Docker check: verifies Docker and Compose are available
- Directory setup: creates
~/.syntropic137/with config, secrets, and workspace directories - Secret generation: creates cryptographically random passwords for Postgres, Redis, and MinIO, stored as files in a
secrets/directory only you can read - Claude credential: paste an Anthropic API key, or run
claude setup-tokenin another terminal and paste the token it prints. The wizard stores it under the right variable for its type - GitHub App: say yes, then create the App in the browser window that opens and install it on the repos you want Syntropic137 to work on
- Agent skills: say yes to install the Syntropic137 agent skills for Claude Code and Codex, whichever is on your
PATH synCLI: say yes to install thesyncommand line tool globally- Pull & start: downloads container images and starts the full stack
Skipped the skills or the CLI? Add them later with npx @syntropic137/setup skills and npx @syntropic137/setup cli. For a non-interactive install, --yes answers yes to the skills and the CLI, and --install-cli installs just the CLI (setup 1.0.2 and later).
Once complete, open the dashboard at http://localhost:8137.
Run Your First Workflow
Add the Syntropic137 marketplace, install the code-review workflow, and run it on a pull request in a repo the GitHub App is installed on:
# Register the marketplace and install a workflow from it
syn marketplace add syntropic137/syntropic137-marketplace
syn workflow install code-review
# Review pull request 42 on owner/repo, whose head branch is my-feature
syn workflow run code-review -R owner/repo \
--input pr_number=42 \
--input branch=my-feature-R (--repo) names the repository the workspace clones, and is required for any workflow that works on a repo. Each workflow declares its own inputs: syn workflow show code-review lists them. Workflows whose prompts take a free-form task get it with --task (-t), for example syn workflow run <workflow-id> -R owner/repo --task "Add retry logic to the client". The CLI refuses --task for a workflow, like code-review, that has nowhere to put it.
With the agent skills installed, you can ask Claude Code or Codex to do this for you: "add the Syntropic137 marketplace, install code-review and run it on PR 42 of owner/repo".
Watch It Run
syn workflow run prints the execution ID. Follow the run in any of three ways:
# Dashboard: http://localhost:8137
# Stream live events in the terminal
syn watch execution <execution-id>
# Phases, cost and sessions so far
syn execution show <execution-id>The stream is plain Server-Sent Events, so anything that speaks SSE can follow it too:
curl -N http://localhost:8137/api/v1/sse/executions/<execution-id>What's Running
After setup, ~/.syntropic137/ holds a Docker Compose stack. Only the gateway is published on your machine, at 127.0.0.1:8137; every other service is reachable only inside the stack's Docker network.
| Service | Purpose |
|---|---|
gateway | nginx reverse proxy and dashboard UI, published at 127.0.0.1:8137 |
api | FastAPI: REST API and SSE, served under /api/v1/ through the gateway |
event-store | gRPC event sourcing server |
collector | Agent event ingestion |
timescaledb | PostgreSQL + TimescaleDB |
redis | Caching and pub/sub |
minio | S3-compatible artifact storage |
docker-socket-proxy | Restricted Docker API access for workspace provisioning |
envoy-proxy, token-injector | Workspace egress proxy and credential injection |
cloudflared | Cloudflare tunnel, only when the tunnel profile is enabled |
Next Steps
- Core Concepts: understand the mental model: events, workspaces, workflows
- Workflows: create and distribute workflow packages
- Agent Skills: drive Syntropic137 from Claude Code or Codex
- GitHub Integration: trigger workflows from GitHub events
- Setup CLI Reference: all
npx @syntropic137/setupcommands