AI + TDD
Follow the bird
GPT powered CLI for TDD
You write the test — GPT writes the code until it passes the test ✅
Prompting GPT with a test suite makes it write code impressively accurate
---
## Setup
AITDD runs on [Bun](https://bun.sh/), make sure you first install the latest Bun version.
1. Install AITDD globally as a CLI:
```sh
curl -sSL https://raw.githubusercontent.com/di-sukharev/AI-TDD/master/install.sh | bash
```
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys). Make sure you add payment details, so API works.
3. Set the key to AITDD config:
```sh
aitdd config set OPENAI_API_KEY