- Step1: Install via pip: pip install tdd-gpt-agent
- Step2: Initialize a project directory: tdd-gpt-agent init --dir ./myproject
- Step3: Set your OpenAI API key in OPENAI_API_KEY or config.yaml
- Step4: Customize prompts and model settings in config.yaml
- Step5: Define function specifications or interfaces
- Step6: Run the agent: tdd-gpt-agent run
- Step7: Review generated tests and implementation code
- Step8: Iterate until all tests pass
- Step9: Add tdd-gpt-agent run to your CI pipeline