Skip to content

Instantly share code, notes, and snippets.

View damonswayn's full-sized avatar

Damon Swayn damonswayn

View GitHub Profile
@damonswayn
damonswayn / beck_agent.py
Created January 15, 2026 01:13
A toy coding agent designed to follow canon TDD
import json
import os
import subprocess
from dataclasses import dataclass
from pydantic import BaseModel
from pydantic_ai import Agent, RunContext, result
from pydantic_ai.providers.google import GoogleProvider
from pydantic_ai.models.google import GoogleModel