AIToday

PeekAI, a local-first debugging tool for Python AI agents, lets developers trace every LLM call and tool use without sending data to the cloud.

Hacker News4h ago2 min read
PeekAI, a local-first debugging tool for Python AI agents, lets developers trace every LLM call and tool use without sending data to the cloud.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. 1

    What happened: A new open-source tool called PeekAI allows Python developers to instrument AI agents with a single line of code (peekai.init()) and inspect traces — records of every LLM call, tool use, and token spent — entirely on their local machine using SQLite storage.

  2. 2

    Why it matters: Existing observability tools like LangSmith and Weights & Biases require users to send data to the cloud, create accounts, and set up pipelines before seeing traces. PeekAI eliminates that friction by storing all traces locally at ~/.peekai/peekai.db with zero configuration, making it faster to debug multi-agent workflows.

  3. 3

    What to watch: PeekAI supports OpenAI, Anthropic, and LiteLLM SDKs out of the box, includes a trace replay feature that lets developers re-run past traces with a different model or modified tool response, and offers both CLI and local Streamlit dashboard inspection. The project is open-source (MIT license) and available via pip install.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

5 minutes a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →