cd /news/ai-agents/show-hn-telesma-an-autonomous-develo… · home › topics › ai-agents › article
[ARTICLE · art-176098] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Telesma – an autonomous development loop for Claude Code

A developer released Telesma, an open-source autonomous development loop for Anthropic's Claude Code that turns a written specification into a plan and then implements, tests, commits and reports each task in one continuous session until the plan is done. Telesma builds on the Ralph loop technique and adds a clarification phase, contracts in the plan, state stored in telesma/state/ that survives context compaction, quality checks and per-phase release proposals; a --adopt mode records a test baseline, mines git history and describes existing code module by module before planning. The tool was used in production for over a year before its public release, on projects of up to about two thousand planned tasks.

key takeaway

Telesma keeps agent state in telesma/state/ files updated after every task rather than in the context window, so a restarted Claude Code session resumes at the exact task instead of re-deriving progress from a long chat.

read22 min views4 publishedNov 25, 2026
Show HN: Telesma – an autonomous development loop for Claude Code
Image: Michielbdejong (auto-discovered)

Describe it. It builds it.

From a written specification — or the code you already have — to tested, committed code, in one continuous Claude Code session.

Developer quick start · Existing code? · Not a programmer? · Showcase · FAQ · Docs

<sub>Two minutes, one take, four starts of the same command: the folder is made, the specification goes in, the wizard asks its questions, Claude reads the spec and asks its own, the plan is generated, the loop builds and commits the first task. Everything the model does in between is cut. Watch it as a video.</sub>

Telesma is an autonomous development loop for Claude Code. Put a specification into telesma/spec/, answer the questions Telesma asks about it, and it turns the spec into a plan and works through that plan task by task — implement, test, commit, report, next — until the plan is done. Code that already exists gets the same treatment: telesma --adopt records a test baseline, mines the git history and describes the system module by module before anything is planned — see below.

It builds on the Ralph loop technique — run an agent in a loop over a plan until the plan is done — and adds what a real project needs around it: a clarification phase, contracts in the plan, state that survives compaction, quality checks and releases. Used in production for over a year before its public release, on projects of up to about two thousand planned tasks. The name is Greek: télesma, "completion, accomplishment" — the word "talisman" comes from it.

flowchart LR
    spec["telesma/spec/<br/>your specification"] --> clarify["Clarification<br/>contradictions · assumptions · questions"]
    adopt["telesma --adopt<br/>existing code → baseline + AS_BUILT.md"] --> clarify
    clarify --> plan["PLAN.md<br/>phases · tasks · acceptance criteria"]
    plan --> loop
    subgraph loop["One Claude Code session"]
        direction LR
        next["next task"] --> impl["implement"] --> test["test + quality checks"] --> commit["commit + report"] --> next
    end
    loop --> phase["phase done:<br/>full suite + tag"]
    phase --> release["release proposal<br/>vX.Y.Z — you decide"]
    changes["telesma/changes/<br/>change requests"] --> plan

Most Claude automation restarts the CLI for every task, or keeps one long chat that slowly forgets what it was doing. Telesma does neither:

Claude Code, used by hand A plain Ralph loop Telesma
Where the spec comes from what you paste into the chat one prompt file telesma/spec/ , indexed; each task loads only its own lines
Before the first line of code you decide what to ask nothing contradictions → assumptions → questions, then a plan
Where the state lives the context window the prompt file telesma/state/ , updated after every task — a restart resumes at the exact task
Definition of done whatever the model reports whatever the model reports green tests plus the task's acceptance criteria
Who enforces the rules the prompt the prompt the launcher (validation, prompt diet) and git hooks (checks)
A change after the start a new chat message edit the prompt a file in telesma/changes/ → plan edits or a rework phase
Releases by hand — proposed per phase, tagged only after you say yes
Code that already exists you explain it in the chat, again — --adopt : a test baseline, a git digest, the system described module by module, then a plan from there

In short: one continuous session in which Claude drives the loop itself, state in files, not in the context window, and the rules that matter enforced by scripts, not by the model's memory.

A good fit: a new product or a substantial feature with a written specification (any format — Markdown, Word, PDF, mockups), built over days or weeks, where you want the work to stay traceable: the plan, the report, the decisions and every change request live in files in your repository. Also an existing codebase — written by hand or with an assistant used the ordinary way — that you want to keep developing with the same discipline: telesma --adopt describes it first, then the next features are planned on top of what is really there.

Not a fit: a one-off fix or a small script (use Claude Code directly), or a project with no automated tests — Telesma treats green tests as the definition of done, and the launcher stops before the loop until test commands are set.

Cost: Telesma runs on your own Claude Code plan (Pro or Max) or API key. The implementation itself is the bulk of the cost; the launcher keeps the startup prompt small, so the price of a start stays flat as the project grows. For scale, the showcase lists programs of 20–50 tasks that took from under an hour to a few days of loop time, and a product of over a thousand tasks built over half a year. A long autonomous run uses a noticeable part of a plan's usage limits.

  • Clarification first — Telesma reads the whole spec, rates its quality, and walks you through contradictions, assumptions and an adaptive number of questions before it plans anything.
  • Adopt existing code —telesma --adopt runs the tests once as the baseline, mines the git history (reverts, churn, fix hot spots, tag scheme) and lets a survey session writetelesma/spec/AS_BUILT.md : one line per behaviour with the place in the code and whether a test covers it, plus the conventions found. Nothing in the code changes. →Adopting
  • Plan with contracts — every task carries dependencies, spec references, technology guidelines, UI mockup references and acceptance criteria, including "what triggers this in the running product". →Workflow
  • The model writes code, a script runs the loop —next hands out the task with its spec fragment and guidelines;done runs the tests and the checks on exactly the files it then commits, ticks the task and writes the history. A hook refusesgit commit ,git push and ticking the plan by hand, so the record of what passed is not written by the one being measured.
  • Selective retrieval — the spec is never loaded whole; an anchored index points each task at the exact line range it needs.
  • 48 technology guidelines — clean-code rules plus one convention file per language, framework, database, infrastructure tool and test runner, loaded per task; add your own.
  • Four modes — autonomous loop, bugfix chat, context-aware code review, visual-artifact backfill.
  • Change channel — after clarification the spec is frozen; changes arrive as files intelesma/changes/ and become plan edits or rework phases.
  • Releases — proposed at the right moments, with manual test scenarios for what automated tests could not check; tagged only after you say yes.
  • Quality checks on git events — secrets, weakened tests, hallucinated packages, known vulnerabilities, SAST, lint and types, an attack-surface map with red-team markers. →Checks
  • Permission judge — a hook that answers the permission prompts you would approve anyway, and only ever removes prompts, never adds blocks. →Judge
  • Integrations (optional) — GitHub pull-request workflow and the Specky requirements tracker. →Integrations
  • Know what each task cost — tokens, time, model and tries per task, read from Claude Code's own transcripts by a script and kept on your machine:telesma --usage breaks them down by phase, model, week and release, and every session ends with one line. No telemetry needed.
  • Cheap to restart — state-file rotation, a startup-prompt diet and a git-based repair of damaged state files.

The 48 technology guidelines #

Languages: Python, TypeScript, Go, Rust, Java, Kotlin, Swift, C#, PHP, Ruby. Frameworks: React, Next.js, Vue, Svelte, Angular, React Native, Flutter, FastAPI, Django, Spring, NestJS, Node, Deno, Hono, HTMX, Tailwind. Data: SQL, PostgreSQL, MySQL, SQLite, MongoDB, Redis, GraphQL, REST API design. Infrastructure: Docker, Kubernetes, Terraform, GitHub Actions, Caddy, observability, k6. Testing: Playwright, Detox. Also: accessibility, LLM-powered features, robotics. They live in templates/guidelines/ and are copied to telesma/guidelines/ in your project, where your edits win.

| Specky a requirements tracker for coding agents <sub>a developer · 6 months · 1100+ tasks · 45 versions</sub> | Books Creator comics and picture books with AI-drawn panels <sub>a developer · 5 weeks · 169 tasks · 18 change requests</sub> | Morskie Miny Minesweeper at sea, a macOS app <sub>a person who does not program · 41 minutes · 21 tasks</sub> |

Six programs, with what they took: SHOWCASE.md.

Telesma takes you from an idea to a program on your computer. It asks what you want, writes it down, builds the program, tests it and hands it to you as one file to open with a double-click. After one line pasted during the installation, you never type a command.

1. Install it. One line, copied and pasted. The installer says what it is about to install and asks before each step; at the end there is a Telesma icon on your desktop.

  • Windows 10 or 11 : press Start, typePowerShell and open it (the normal one, not "Run as administrator"). Paste this line and press Enter:
irm https://raw.githubusercontent.com/mario12358/telesma/main/install.ps1 | iex
  • Mac : press ⌘ Space, typeTerminal and open it. Paste this line and press Enter:
curl -fsSL https://raw.githubusercontent.com/mario12358/telesma/main/install.sh | bash

It installs the few programs Telesma needs, then Claude Code, and opens your browser to sign in to your Claude account. When a new Telesma version is out, Telesma says so at the start and asks whether to update; the same install line, run again, does it too.

2. Double-click Telesma. A menu opens: a new idea, or one of your programs. Pick a new idea and Telesma interviews you: six plain questions, one at a time, about ten minutes. It reads the answers back, asks about a few details, plans the work and builds. When the program is ready it opens the folder with it and says what to try. Later, the same icon shows your programs with Build on and Something does not work right. Your programs live in a Telesma folder in your home folder. Six programs built this way.

Good to know before you start:

  • You need a Claude account with a paid plan (Pro or Max). There is no free way, and building a program uses a good part of a plan's monthly limit.
  • Claude asks before some actions (installing something, deleting files). Telesma words those questions plainly, but you answer them.
  • A program is built on the kind of computer it is for: a Windows program on Windows, a Mac program on a Mac. The interview offers a program with a window, a page in your browser on your own computer, or a command-line tool. A website for other people or a phone app needs hosting, accounts and app stores, so the interview does not offer it yet — Telesma itself builds those too, from a written specification (the developer path below; see the showcase ).
  • A freshly built program has no publisher signature. Windows may warn once ("More info" → "Run anyway"); Windows 11 with Smart App Control on refuses it altogether — Telesma says so before building and what the choice is.
  • Something wrong? Double-click Telesma, pick the program, choose Something does not work right and say what you saw.
Required Optional
bash (3.2+, the macOS default works) gh (GitHub CLI ≥ 2.41) — GitHub integration
python3 (standard library only) gitleaks — wider secret detection in thesecrets check
Claude Code CLI (claude ) semgrep — OWASP rule packs in thesast check
git pandoc — converts.docx /.pdf /.odt /.rtf files intelesma/spec/

Nothing is added to your project's dependencies. Every start checks the required column (and that Claude Code is signed in) and says what to install; telesma --doctor [project] runs the same check on its own. On Windows Telesma runs in Git Bash, which Claude Code needs there too.

1. Install. The same one line as above (macOS, Linux, or PowerShell on Windows). It gets what is missing, puts Telesma in ~/.telesma and the telesma command in ~/.local/bin (next to claude), and adds a desktop shortcut you can ignore. The installer puts you on the latest release, not on the tip of the branch; every start checks for a newer release and offers to move to it (TELESMA_NO_UPDATE_CHECK=1 turns the check off, TELESMA_FOLLOW_BRANCH=1 follows the branch instead).

curl -fsSL https://raw.githubusercontent.com/mario12358/telesma/main/install.sh | bash

Prefer to read it first, or to clone by hand? #

curl -fsSL https://raw.githubusercontent.com/mario12358/telesma/main/install.sh -o install.sh
less install.sh && bash install.sh
git clone https://github.com/mario12358/telesma.git ~/.telesma
ln -s ~/.telesma/telesma.sh ~/.local/bin/telesma     # or call ~/.telesma/telesma.sh directly

2. Point it at a project. You always run the same command; Telesma reads the project's state and does the next right thing:

telesma /path/to/project
Run What happens
1st creates telesma/spec/ with one template and prints what goes where
2nd a spec is there → creates telesma/config.md and runs the setup wizard (ENTER accepts each recommended answer)
3rd clarification: contradictions → assumptions → questions, then telesma/state/PLAN.md
4th the mode menu → the autonomous loop

The wizard and the clarification each end by offering to go straight on, so in practice it is one or two starts. Skip the menu with telesma /path/to/project -m 1; add -i to watch and answer.

Just an idea, no spec? telesma --new /path/to/project interviews you and writes telesma/spec/ itself (the idea in your words, numbered requirements with "when …, then …" checks, the user flows, the technology), then runs the setup. It sets Experience: beginner (plain words); --setup switches it back.

Code that already exists? Start with telesma --adopt /path/to/project instead — the section Existing code? Adopt it walks through it.

3. Write the specification. Everything Telesma reads and writes in your project lives in one telesma/ directory:

your-project/
├── telesma/
│   ├── config.md     configuration (tests, git, integrations, checks, judge, telemetry)
│   ├── spec/         your specification — frozen after clarification
│   ├── changes/      change requests after the freeze (+ processed/)
│   ├── state/        written by Telesma: PLAN.md, REPORT.md, PROJECT_CONTEXT.md, SPEC_INDEX.md, logs
│   ├── guidelines/   technology guidelines (copied from Telesma, your edits win)
│   ├── checks/       quality-check modules (only with checks enabled)
│   └── artifacts/    screenshots and recordings (only with visual artifacts enabled)
├── .claude/          Claude Code settings and the permission-judge hook (Claude Code looks for them here)
└── docs/             RUNBOOK.md and test-scenarios/ — documentation of your project, not of Telesma
  • telesma/spec/TECHNICAL_GUIDELINES.md — fill inonly where you depart from the defaults intelesma/guidelines/ (a mandated stack, hosting, compliance, SLA). Left as it is, the defaults apply; delete theTELESMA_SPEC_TEMPLATE marker from its first line once you fill something in.
  • Any other files with the business and functional requirements: goals, use cases, user stories, domain model, business rules, acceptance criteria, diagrams. Any format.
  • Optional: mockups, design tokens and reference components in telesma/spec/ux_ui/ .

4. The setup wizard asks one question per module — language and experience, profile (minimal / recommended / full), the stack and test commands it detected from your manifests, the permission judge, the quality-check tier — and writes telesma/config.md, where every key is commented. Change anything later with telesma --setup or by editing the file. → Configuration

Telesma used to start only from a specification and an empty directory. Since 1.3 it takes over code it did not write — a project built by hand, or with Claude Code, Codex or Cursor used the ordinary way — without inventing a history for it:

telesma --adopt /path/to/project     # preconditions, the setup wizard, Adopted: yes
telesma /path/to/project             # the baseline and the survey; add -i to watch
  1. Preconditions a survey can stand on. Source code, a git repository with a commit (none → Telesma offersgit init and a first commit, after putting anything that looks like a secret or build output into.gitignore ), a clean tree. The commit it finds becomesAdopted at intelesma/config.md — the state the survey describes. Then the setup wizard, as on any first start; the test command matters most here.
  2. The launcher, without a model. It runs thefull test suite once and records the result intelesma/state/REPORT.md as the baseline — from then on a test that was already red is an inherited failure, not a regression; runs the quality checks once over the whole repository when they are on (findings listed, nothing blocked); mines the git history into a short digest — tag scheme, reverts, churn, the files with the most fix commits, dependency changes, test ratio, never an author or a commit subject; and writes### Phase 0: Existing system into the plan, one task per part of the code.
  3. The survey session works through Phase 0 like any other phase. For each part it reads the tests and the public surface and appends a section totelesma/spec/AS_BUILT.md : oneWhen …, then … line per behaviour, with the place in the code and a tag —[verified by test: …] or[inferred] — plus open questions for what the code does not explain. It fillsPROJECT_CONTEXT.md (stack, architecture, decisions and pitfalls visible in the code and the history) and records the conventions it found — including what your ownCLAUDE.md says — inTECHNICAL_GUIDELINES.md . It may write only insidetelesma/ ; a write anywhere else is refused by the session's permissions. It commits after every part, so an interrupted survey continues at the next start.
  4. Then it is your turn. CorrectAS_BUILT.md where the survey guessed wrong, answer the open questions in place or leave them, put a file intotelesma/spec/ with what should happen next — and start as usual. The clarification indexes everything, keeps Phase 0 as it is and plans from Phase 1; a red baseline or no tests makes it propose a safety net of characterisation tests first. Code review (-m 3 ) and bugfix (-m 2 ) already work from the survey alone, before any plan exists.

Why no task history is rebuilt from the commits, and what the first version deliberately leaves out: docs/ARCHITECTURE.md §21. The user's side in full: docs/WORKFLOW.md §19.

  1. Clarification (interactive, once): Telesma indexestelesma/spec/ with line ranges and a quality assessment, then asks — few questions for a small, well-written spec, many for a thin one. An adopted project gets here after the survey, withAS_BUILT.md among the spec files.
  2. Planning : from the spec and your answers it writestelesma/state/PLAN.md — phases, tasks with dependencies, acceptance criteria, and a coverage table mapping every spec section to tasks.
  3. Startup checks (every run, no tokens): the launcher validates the plan and the config, rotates and repairs state files, applies framework updates and assembles a trimmed prompt.
  4. The loop :next gives the task with its spec fragment and guidelines → the model implements and verifies the acceptance criteria →done runs the tests and checks, ticks the task, writes the history row and commits. A session budget (refusals, attempts, tasks, hours) stops a loop that goes in circles; going on is your answer at the next start.
  5. End of phase and finish : the full suite (a regression beats new work), a progress tag and a release proposal; at the enddocs/RUNBOOK.md andTELESMA COMPLETE . Stuck →TELESMA BLOCKED with a concrete question, saved for the next start. The session stays open; everything you say from then on is logged totelesma/state/DECISIONS.md .

Details, including the plan format, change requests and releases: docs/WORKFLOW.md.

After clarification the launcher asks for a mode, or you pass -m:

Mode Name What it does Interactive
1 autonomous (default) The loop over telesma/state/PLAN.md optional ( -i )
2 bugfix Chat: you report a bug → diagnosis → proposal → your OK → fix → test → commit → telesma/state/BUGFIXES.md always
3 review Chat: code review of a chosen scope against your spec, guidelines and decisions → telesma/state/REVIEWS.md always
4 artifacts Backfills missing screenshots and flow recordings; idempotent, never edits the plan optional ( -i )

Other launcher commands:

telesma --setup /path/to/project         # configuration menu: tests, judge, checks, integrations, artifacts, language
telesma --repair /path/to/project        # repair state files from git history, then exit
telesma --integrations /path/to/project  # only the integrations wizard on an existing project
telesma --sync-specky /path/to/project   # pull Specky changes into telesma/changes/, no loop
telesma --doctor [project]               # what this machine still needs

Telesma has no integration by default: it commits to the current branch and never pushes. An integration is a separate instruction module, added to the prompt only when telesma/config.md names it.

  • GitHub — one branch and one pull request per task; a task is done when its PR is merged. "Merge only on green" is enforced, not promised: the permission hook runs its owngh pr checks before letting a merge through, pushes go only to task branches, and release tags are never pushed.
  • Specky — the specification as a contract between a human and an agent: requirements with acceptance criteria and content hashes, accepted by a human. Every task is anchored to a requirement version, a marked test proves a criterion through your CI's JUnit report, and a release becomes a Specky snapshot. Specky is a product by the author of Telesma; Telesma works fully without it.

Full reference: docs/INTEGRATIONS.md.

  • A sandbox under every command — Claude Code's built-in sandbox (macOS, Linux, WSL2): Bash writes only inside the project, reaches only the package registries of your stack and the hosts you list, and cannot read~/.ssh or~/.aws , whatever the command claims to be. A refused command is never retried outside it. On by default for new projects (## Sandbox in the config).
  • Permission judge — a Claude Code hook that answers permission prompts on your behalf. Its governing rule:it only removes prompts, it never adds blocks. Hard patterns (rm -rf ,sudo ,git push , writes to.claude/ ortelesma/config.md ) and your own "always ask" list always reach you; only the gray zone goes to an optional model, and anything but a clear ALLOW still asks. →docs/PERMISSION_JUDGE.md
  • A project's config is confirmed per machine —telesma/config.md is committed, and it names commands Telesma runs (tests, linters), the permission mode and the servers it talks to. The first start on a machine — and any start after those values changed — shows them and asks once; a cloned project cannot run a command or pick a permission mode you have not seen.
  • Quality checks — triggered by git operations (before a commit, a phase tag, a release tag, and in CI), not by the model remembering to run them; a false positive is waived by a human only, intelesma/state/CHECK_EXCEPTIONS.md . →docs/CHECKS.md
  • Telemetry — off by default; optional quality events about Telesma's own work, sent only after an explicit opt-in on your machine, never your spec or code. →docs/TELEMETRY.md
  • Commit footer — every commit, PR and PR comment Telesma writes ends with exactly🤖 Generated with Telesma ; no model name, tool name or session link.

Language in telesma/config.md (default en) sets the language Telesma talks to you in and writes prose in — report entries, decisions, test scenarios; any code works, and structural tokens stay English because scripts parse them. Experience: beginner switches to plain words, one question at a time with a proposed answer, and progress in one sentence — the same loop, prompts and files. telesma --new sets it; --setup changes it. → docs/CONFIGURATION.md

Can I use it on an existing codebase? Yes: telesma --adopt /path/to/project. Telesma does not reconstruct a task history from commits (nothing would read it); it records a test baseline, mines the git history into a short digest, and a survey session writes telesma/spec/AS_BUILT.md — the system as found, one line per behaviour with the place in the code and whether a test covers it — plus the project context. You correct that file, add what should happen next, and the clarification plans from Phase 1; code review and bugfix work right after the survey. → docs/WORKFLOW.md §19

Does it work with an API key instead of a Pro or Max plan? Yes. Claude Code runs on either; with ANTHROPIC_API_KEY set, the sign-in check is skipped.

Can I stop it and continue tomorrow? Yes. State lives in telesma/state/ and is updated after every task; the next start resumes at the exact task. telesma --repair rebuilds damaged state files from git history.

What if my project has no tests yet? For a new project the plan's first tasks set up the test harness, and the first start after the plan proposes the test commands. For a project that cannot have automated tests, Telesma is the wrong tool: green tests are its definition of done.

Does it push to my remote? Not by default: it commits to the current branch and never pushes. With the GitHub integration it pushes task branches only; release tags are never pushed by Telesma.

Can I use a model other than Claude? No. Telesma is a layer on top of Claude Code and uses its session, hooks and /compact. The optional permission judge can use a separate, cheaper model for its gray zone.

How is this different from Claude Code's own plan mode or subagents? Those plan and act inside one context window. Telesma keeps the plan, the report and the decisions in files, validates them with scripts before every start, and makes green tests plus acceptance criteria the definition of done — so a project survives compactions, restarts and weeks of work.

Document Contents
SHOWCASE.md Programs built with Telesma, and how to add yours
docs/WORKFLOW.md Clarification, plan format and tags, modes, changes, releases, monitoring, adopting existing code
docs/CONFIGURATION.md The setup wizard, every telesma/config.md section and key, launcher flags
docs/STATE_FILES.md Files Telesma creates in your project, rotation, prompt diet, --repair
docs/TROUBLESHOOTING.md Common problems and what to do
docs/INTEGRATIONS.md GitHub and Specky integrations in detail
docs/PERMISSION_JUDGE.md The permission judge: layers, variants, evaluation
docs/CHECKS.md Quality checks, attack-surface map, PR status
docs/TELEMETRY.md Optional self-hosted quality telemetry
docs/ARCHITECTURE.md How the launcher, instructions, hooks and tools fit together
benchmark/README.md Frozen benchmark for comparing Telesma versions
CONTRIBUTING.md How to contribute, conventions, self-tests
SECURITY.md Reporting vulnerabilities
CHANGELOG.md Release history

MIT — see LICENSE.

Mariusz Iskra — mariusz.iskra@gmail.com Commercial inquiries: Sparkit — biuro@sparkit.pl

── more in #ai-agents 4 stories · sorted by recency
── more on @telesma 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-telesma-an-a…] indexed:0 read:22min 2026-11-25 · —