explaingit

chojs23/lazyagent

Analysis updated 2026-05-18

73GoAudience · developerComplexity · 2/5

TLDR

A terminal and browser dashboard that shows you in real time what your AI coding assistant is doing, including sub-agents, tool calls, and token usage.

Mindmap

mindmap
  root((Lazyagent))
    What It Does
      Agent monitoring
      Event logging
      Token tracking
    Tech Stack
      Go
      SQLite
      npm
      Homebrew
    Use Cases
      Session auditing
      Debugging agent runs
      Cost tracking
    Audience
      Developers
      AI tool users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Audit what an AI coding agent is doing during an active session.

USE CASE 2

Diagnose why an AI-assisted coding run went wrong by reviewing its event history.

USE CASE 3

Track token usage and cache savings across coding sessions.

USE CASE 4

See the full tree of which agent spawned which sub-agents.

What is it built with?

GoSQLitenpmHomebrew

How does it compare?

chojs23/lazyagenttj/go-gracefullyavaprotocol/eigenlayer-avs
Stars736681
LanguageGoGoGo
Last pushed2014-12-27
MaintenanceDormant
Setup difficultyeasyhard
Complexity2/52/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

In plain English

Lazyagent is a monitoring tool for developers who use AI coding assistants like Claude Code, Codex, or OpenCode. The problem it addresses is visibility: when these AI agents are running on your machine, they make decisions, spawn sub-agents, call tools, and consume tokens, but it can be hard to see exactly what they are doing and whether they are on track. Lazyagent gives you a real-time view into all of this activity. It works by hooking into each AI runtime's event system. When you run the init command for your chosen tool, it registers listeners for events like session start, tool use, prompts, and completions. All of that activity is stored in a local SQLite database. Lazyagent then provides two ways to view this data: a terminal-based interface (called a TUI, similar to tools like lazygit or lazydocker) that shows projects, sessions, agent hierarchies, and individual events in side-by-side panes, and an optional read-only browser dashboard you can open on a local port. You can see the full tree of which agent spawned which sub-agents, filter events by type, search across event content, and check token usage breakdowns showing how many tokens were spent and how many were saved by cache reuse. You would use this during active AI-assisted development sessions when you want to audit what the agent is doing, diagnose why a run went wrong, or understand your token costs. It is written in Go and available via npm, Homebrew, or direct Go installation.

Copy-paste prompts

Prompt 1
Help me install Lazyagent and initialize it for Claude Code.
Prompt 2
Show me how to view the agent hierarchy tree in Lazyagent's terminal interface.
Prompt 3
Explain how Lazyagent tracks token usage and cache reuse savings.
Prompt 4
Help me open Lazyagent's browser dashboard to review a past session.
Prompt 5
Walk me through filtering events by type in Lazyagent's TUI.

Frequently asked questions

What is lazyagent?

A terminal and browser dashboard that shows you in real time what your AI coding assistant is doing, including sub-agents, tool calls, and token usage.

What language is lazyagent written in?

Mainly Go. The stack also includes Go, SQLite, npm.

Who is lazyagent for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.