A journal of small agentic experiments. Each moment asks one question, builds the smallest thing that can answer it, measures it, and writes down what happened.
| # | Moment | Question | Status |
|---|---|---|---|
| 01 | Critique an agent with a graph — then critique the critique | Does critiquing an agent's work make it better, and what kind of critique matters? Self-critique vs. test-grounded vs. probing critique with a gate. | Built and tested offline · live run pending |
| 02 | System One first: Jev answers, Claude only when it must | If TypeSafe's Jev answers first and Claude is called only when Jev's answer can't be trusted, how much accuracy does the cascade keep, at what cost — and should low confidence or Jev disagreeing with itself trigger the hand-off? | Built and tested offline · live run pending |
- Question — one sentence, answerable.
- Build — the smallest thing that can answer it, on the shared toolkit.
- Measure — against tasks with graders that are code, not opinions; offline tests prove the mechanics, live runs (opt-in) produce the numbers.
- Write it down — what happened, including what didn't work, in the moment's README.
src/agentic/ grows as the moments need it:
graph.py— a ~150-line graph runtime: immutable state, nodes, fixed and conditional edges, cycles with a step limit, wiring checked at compile time, a checkpoint per step with resume, and Mermaid diagrams.llm.py— structured calls to Claude through the officialanthropicSDK (Pydantic in, Pydantic out), a scripted stand-in for offline tests and demos, and list prices for cost estimates.
git clone https://github.com/gsaini/my-agentic-moments.git
cd my-agentic-moments
uv sync
uv run pytest # everything offline: no API key, no cost
uv run critique-graph demo # moment 01's walkthrough
uv run jev-cascade demo # moment 02's walkthroughLive runs need ANTHROPIC_API_KEY (or ant auth login), plus TYPESAFE_API_KEY for moment 02, and ask for confirmation before spending — see each moment's README.
- awesome-software-engineering study notes: Graph Engineering · Loop Engineering · Building an Agent Evaluator
- harness-engineering-getting-started — a small agent harness, built from scratch, with evals for each fix
- jev-claude-code-case-study — Jev + Claude Code, tested: a triage app and a Claude Code safety hook where Jev makes the typed decisions
MIT. Independent learning experiments, not affiliated with Anthropic or TypeSafe.