Skip to main content

Visualize AI agent step progress in the terminal

Project description

agentview

Visualize your AI agent's step progress in the terminal.

 ✓  搜尋資料          1.2s
 ✓  整理結果          0.5s
 ▶  分析內容          ...
 ○  生成報告

Install

pip install agentview

Usage

Decorator:

from agentview import tracker

@tracker.step("Search data")
def search():
    ...

Context manager:

with tracker.step("Analyze content"):
    ...

Multiple steps with session:

with tracker.session():
    articles = search()

    with tracker.step("Summarize"):
        ...

    analyze(articles)

Claude Code Integration

Display a summary of every tool Claude used, at the end of each response.

Install hooks (one-time setup):

agentview install-hooks

Adds PreToolUse, PostToolUse, Stop, and SubagentStop hooks to ~/.claude/settings.json. Restart Claude Code to activate.

What it looks like:

──────────── Claude Code Session ────────────
✓  Read       tracker.py                0.3s
✓  Edit       tracker.py                0.5s
✓  Bash       python example.py         1.2s
   3 tools  ·  2.0s total
─────────────────────────────────────────────

Live view (open in a second terminal):

agentview watch

Waits for a session to start, then shows a live-updating table of tools in progress.

Session history:

agentview log          # last 10 sessions
agentview log --tail 5 # last 5 sessions

Remove hooks:

agentview remove-hooks

Requirements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_agentview-0.1.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_agentview-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file claude_agentview-0.1.0.tar.gz.

File metadata

  • Download URL: claude_agentview-0.1.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for claude_agentview-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f7e10e44d40482640653ed1213e2a3d3b51d8f1a1bed6c7b1505e46176237c9
MD5 ba2b75e3eec2508a2b86073ef733b71e
BLAKE2b-256 da1f4207cd99a0110c5f127b4be66d6efa70d23297b92b10e03e2b881761a152

See more details on using hashes here.

File details

Details for the file claude_agentview-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_agentview-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6dcc7446b1babea9e087ea3dac20c9736160cb599f4f59ead298d1e17dda0723
MD5 b7903c6b54ffec36bb0a6a1c64d64e22
BLAKE2b-256 e3ed3f76faefbea27d5003a7132dd15403139db2ed9c8c2bfd0a4b74b314b545

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page