Start
Getting started
Install Clankie in one line, start on day 0 with the AI tools already on your Mac (no Herdr required), and plug in more only when you want it.
On this page
Install
curl -fsSL https://clankie.bot/install | shRuns on macOS and Linux.
To check the install, run:
clankie doctorIt checks the service, detected AI runtimes and models, optional extensions, and host security-guard checks (SSH/lateral-movement exposure, persistence/LaunchAgent drift, MCP and supply-chain IOCs, and OS/browser security lag), reporting read-only findings and how to fix anything that needs attention.
Next: open Clankie on your Mac, say hi, and let agent-driven setup take it from there.
Day 0: start with what you already have
No setup wizard, no YAML files, and no terminal multiplexer required. When you open Clankie on your Mac:
- He looks around. Clankie auto-detects what is already on your machine: built-in Pi, your own API keys, local models, or coding agents you already use (Claude Code, Codex, Antigravity, Grok, and OpenCode).
- You talk to him like a coworker. Click the 3D pet to open his pocket, type or talk, and hand off work while he runs in the background.
- Plug in more only when you want it. Everything beyond day 0 (Herdr panes, Slack or Discord, voice channels, sandboxes, staged rollouts, or a 24/7 Clankie Cloud instance) stays off until you turn it on.
Agent-driven setup
Clankie is built around agent-driven setup ("Clankie sets up Clankie"). Instead of asking you to hand-configure pipelines, checks, and release knobs before your first run, onboarding drops you straight into conversation with your lead:
- Smooth entry into a Clankie lead. Open Clankie on your Mac or launch an instance on Clankie Cloud, and you land directly in conversation with your lead.
- The lead wires the project. When you point Clankie at a repository, he inspects it, connects your preferred coding agents, tests, checks, and channels, and applies sensible workflow defaults out of the box.
- Knobs adjust as things go. As real runs, verifications, and releases come back, your lead tunes project defaults (checks, autonomy boundaries, rollout policy, and triage rules) with you rather than leaving stale static config behind.
Local Mac and Clankie Cloud
Keep Clankie on your Mac for hands-on development and desktop-pet ergonomics, and add a dedicated always-on Clankie Cloud instance when you want jobs to stay up 24/7 with no laptop open:
- 24/7 prod triage: alerts, 500 spikes, and webhooks at 3 a.m. go straight to your cloud instance, which investigates, ships a fix or rolls back within policy, and leaves proof waiting for you.
- Scheduled routines and background work: recurring checks, repo upkeep, and long builds run whether a laptop is open or not.
- Shared team instance: connect Slack, Discord, and your repos to one always-on cloud lead so everyone shares the same memory, context, and live rollout controls.
On day 0, Clankie runs workers directly with his built-in Pi runtime (or whatever coding harness is already installed on your Mac) with zero Herdr dependency. When you want live visible terminal panes beside embedded browsers, you can opt into Herdr as an agent host at any time. The starting adapters are:
| Adapter | Day-0 default | Notes |
|---|---|---|
| Agent host | Built-in (native) | Runs background workers directly with no external terminal multiplexer required. Swap in Herdr optionally when you want visible pane orchestration. |
| Runtime | Built-in Pi, plus detected harnesses | Uses built-in Pi, your API keys, local models, or Claude Code, Codex, Antigravity, Grok, and OpenCode. |
| Code host | None | Optional. GitHub is supported, and a project can start with no code host at all. |
Each adapter can be swapped independently. See Adapters.
Optional Mac companions
- Herdr / Herdr Browser (macOS): optional companion when you want live visible terminal panes for coding workers alongside embedded Chromium browser panes with in-process agent controls (
browser.snapshot,browser.click,browser.type, an isolatedagentprofile, and a guarded Playwright pipe). Clankie detects it automatically when installed and works without it everywhere. agent-desktop: optional CLI (brew install agent-desktopornpm install -g agent-desktop) for background native-app control over macOS Accessibility when you opt in withclankie computer mode host.clankie doctorchecks both.
Your first decision
- Let your lead set up the project. Point Clankie at a repository (or start fresh) and optionally connect GitHub through your verified account. The token comes from that verified account, never from project files.
- Ask. Describe the result you want in plain language: "Let customers book a call from my site."
- Context-aware routing. Your lead routes the work to the agent with the right context (built-in Pi, Claude Code, Codex, Antigravity, Grok, or OpenCode) and pulls in extra help on demand.
- Build and prove. Workers run your checks and attach revision-bound evidence: recordings, checks, load tests, and limitations, using a local sandbox, staging, or direct dark-flag/canary verification depending on your project's workflow.
- Gate upfront or ship autonomously. For high-impact decisions you want to gate, the result arrives in your Feed with proof for a device-signed Approve, Ask, or Reject. For delegated fixes and triage, Clankie acts right away within policy and leaves the diff, proof, and one-tap rollback on your devices.
- Release on your workflow. Confident, low-risk fixes can patch straight to 100% of prod, while higher-risk changes can land dark behind a feature flag for the agent to verify on its own cohort or widen stage by stage through a canary while health holds. See Rollouts and triage.
Set a rollout policy
Your Clankie lead sets sensible defaults during setup and adjusts them as your project matures. When a project uses staged rollouts, its policy names the flag, cohorts, stages, and health limits:
const policy: RolloutPolicy = {
flag: 'ff.online-booking',
cohorts: ['internal'],
stages: [
{ percent: 5, observeMs: 3_600_000, minSamples: 200 },
{ percent: 25, observeMs: 3_600_000, minSamples: 500 },
{ percent: 100, observeMs: 3_600_000, minSamples: 1000 },
],
health: { maxErrorRate: 0.01, maxP95Ms: 800 },
};Rollouts and triage explains each field and how direct-to-prod, dark-flag, staging, and canary workflows fit together.