8000 GitHub - gsaini/my-agentic-moments: A journal of small agentic experiments. Moment 01: critique an agent with a graph — then critique the critique. · GitHub
[go: up one dir, main page]

Skip to content

About

A journal of small agentic experiments. Moment 01: critique an agent with a graph — then critique the critique.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

✨ My Agentic Moments

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.

CI Python Claude Moments License


Moments

# 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

How a moment works

  1. Question — one sentence, answerable.
  2. Build — the smallest thing that can answer it, on the shared toolkit.
  3. Measure — against tasks with graders that are code, not opinions; offline tests prove the mechanics, live runs (opt-in) produce the numbers.
  4. Write it down — what happened, including what didn't work, in the moment's README.

The shared toolkit

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 official anthropic SDK (Pydantic in, Pydantic out), a scripted stand-in for offline tests and demos, and list prices for cost estimates.

Quick start

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 walkthrough

Live 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.

Related

License

MIT. Independent learning experiments, not affiliated with Anthropic or TypeSafe.

About

A journal of small agentic experiments. Moment 01: critique an agent with a graph — then critique the critique.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0