Skip to content
AddHunt
VS Code extensions

TDAD

Test-driven workflow engine for AI coding in VS Code

Open source

  • Open source
  • Licence: MIT

In short

TDAD (Test-Driven AI Development) is a free, open-source extension for VS Code and Cursor that makes AI coding assistants follow a Plan, Spec, Test and Fix cycle on a visual canvas. It is for developers who want AI-built features checked by passing tests rather than judged by eye.

What you get

  • Visual canvas of features and dependencies
  • Gherkin specs generated before code
  • Tests written before implementation
  • Failure bundles with traces, network logs and screenshots
  • Auto-Pilot mode with CLI agents
  • Local-first, no API calls

The details

TDAD wraps AI coding in an engineering loop. Rather than asking an assistant for a feature in an open-ended chat, the developer works through four stages that TDAD enforces: plan the feature, write its specification, write tests, and fix the code until those tests pass.

The four stages

  1. Plan: a visual canvas maps product features and their dependencies as a flowchart, shown green when passing and red when broken.
  2. Spec: TDAD prepares the prompt and the AI writes BDD requirements in Gherkin before any implementation.
  3. Test: tests are generated and checked before the code exists, and they act as the gate the AI has to pass.
  4. Fix: when a test fails, TDAD collects execution traces, network requests, DOM snapshots and screenshots so the AI fixes the code based on what actually happened.

Auto-Pilot and privacy

An Auto-Pilot mode runs the loop automatically: TDAD writes the next task to .tdad/NEXT_TASK.md and triggers the developer's own CLI agent, such as Claude Code. TDAD itself makes no API calls and keeps code on the local machine. It relies on AI tools the developer already pays for, such as Claude Pro, ChatGPT Plus or Cursor, so there is no second bill for compute. The project is MIT licensed and developed in the open on GitHub.

Pricing

Free

As of , from tdad.ai. Prices change: check before you buy.

Alternatives to TDAD

All alternatives

Questions

Does TDAD need its own AI subscription?

No. It works with AI tools the developer already uses, such as Claude Pro, ChatGPT Plus or Cursor, and makes no API calls itself.

What happens when a test fails?

TDAD captures execution traces, network requests, DOM snapshots and screenshots, and the AI uses them to make a targeted fix.

Can the loop run without manual copy-pasting?

Yes. Auto-Pilot mode writes the next task to a file and triggers a CLI agent such as Claude Code to work through it.

More like this