Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Agent Viewer for Claude Code + OdooNew to Visual Studio Code? Get it now.
Agent Viewer for Claude Code + Odoo

Agent Viewer for Claude Code + Odoo

Antony Pineda

| (0) | Free
Watch Claude Code work, live: each agent is an animated robot, tool calls pop out as cards, subagents report back, plus a video-style timeline. In Odoo projects: module checks as you save, test/update runner with clickable tracebacks, OCA helper, module & model map, and a read-only connection so Cla
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Agent Viewer logo

Agent Viewer for Claude Code + Odoo

Watch what Claude Code is doing, live: the main agent, the subagents it spawns, and every tool call they make. It runs as a VS Code extension, or standalone in a browser.

Community project, not affiliated with or endorsed by Anthropic. "Claude" is a trademark of Anthropic.

  • Scene view: each agent is a small robot at its own station. It blinks, bobs while working, raises its arm when it calls a tool, and smiles when done. A running tool pops out of its hand as a card with an icon (📖 read, ✏️ edit, ⌨️ terminal, 🔎 search, 🌐 web…); when it finishes, the card flies back to a shelf of chips under the robot. Subagents beam in at their own station and send an ✉️ back to their parent when they finish. Drag to pan, scroll to zoom, click any robot, card or chip for details.
  • Timeline: a video-editor-style strip with one lane per agent and a block per tool call, with a live playhead.
  • Tree view: the same run as a collapsible tree.
  • Replay: re-watch the last run like a video at 1×–8×, save it as .jsonl, and open saved runs later.

Visor en vivo, en el navegador, de lo que hace Claude Code: el agente principal, los subagentes que lanza y cada herramienta que usan. (Español abajo.)

Install

From GitHub (now):

  1. Download claude-agent-viewer-<version>.vsix from the latest release.
  2. In VS Code, open the Extensions view, click ⋯ → Install from VSIX… and pick the file. From a terminal you can run code --install-extension claude-agent-viewer-<version>.vsix instead.
  3. Reload the window (Developer: Reload Window).

If you use VS Code profiles, install it in the profile you work in. In a terminal, add --profile "<name>".

From source:

git clone https://github.com/Vini-cio/claude-agent-viewer
cd claude-agent-viewer
npx @vscode/vsce package          # creates claude-agent-viewer-<version>.vsix
code --install-extension claude-agent-viewer-*.vsix

There is no build step and there are no runtime dependencies: extension.js, watcher.js and index.html are plain JavaScript.

A VS Code Marketplace listing is planned.

VS Code extension (recommended)

The extension opens the viewer in an editor tab and listens to your existing Claude Code sessions: the Claude Code chat in VS Code or claude in a terminal. There is no separate chat and nothing extra to run.

  • Open it from the Agentes button in the status bar, or run Agent Viewer: Abrir visor de agentes from the Command Palette.
  • By default it follows the most recently active session of the open workspace and shows the current turn: from your last prompt onward.
  • Sesión… picks another session, or goes back to following the latest one.
  • Hover anything for a tooltip; click it for details. File tools have an Open in editor button, edits show as a diff, and shell commands show as $ command.
  • The tree view lists every tool call.

Where the data comes from

Claude Code writes each session to ~/.claude/projects/<project>/<session>.jsonl and each subagent to <session>/subagents/agent-<id>.jsonl. The subagent's agent-<id>.meta.json holds toolUseId, which is the id of the Agent tool call that launched it. watcher.js tails those files and turns them into the same events the page already understands. It only reads them and never writes. These files are an internal Claude Code format, so a Claude Code update may require changes here.

Odoo tools (only in Odoo projects)

When the workspace contains Odoo modules (__manifest__.py), the extension adds an Odoo view to the activity bar and several Odoo tools. In any other project they stay hidden. Everything is wired into the animated viewer.

In the animated viewer

  • Claude's robots react to Odoo. When Claude edits a module file, it is checked right away. If something is wrong, the robot panics (red !, hands on its head) and the chip gets a red counter. Sensitive files get a badge: 🛡️ security, 📦 manifest, 🔁 migrations.
  • Turn summary under Claude. A pill lists the modules changed in this turn, with 🔄 Update and 🧪 Tests buttons that run them on your test database.
  • The "Odoo" robot. It appears whenever you run tests or updates. It shows a live progress card, sends every failing test to its shelf as a red chip (click one for the traceback, Send to Claude and Open in editor), celebrates when everything passes, and mails the result back to Claude.
  • The bar also has 🧪 Tests, 🗺️ Map and 🔌 Connect buttons.

Tests & logs (sidebar)

  • Run tests / Update (-u) / Install (-i) on your test database, which you choose once per workspace. The addons path is built from your .conf plus the module folders in the workspace.
  • The log is parsed live. Failing tests and tracebacks show as items you can click, and they point at your file and line, not Odoo core. They also appear in the Problems panel.
  • Send to Claude copies the error as a ready-to-paste request and focuses the Claude chat.

Module checks (Problems panel)

Every .py, .xml and ir.model.access.csv is checked when you open or save it:

File What it flags
*.py Syntax errors; a file not imported in its __init__.py; a folder not imported in the module
__manifest__.py Missing name, version, license or depends; invalid version; data/demo files that don't exist
*.xml Malformed XML; duplicate ids in views, menus and actions; attrs/states in 17+; <tree> and view_mode tree in 18+; a file missing from the manifest
ir.model.access.csv Header, column count, model_id:id, 0/1 permissions, declared in the manifest

On about 1,800 Odoo 18 files (core and custom), the checks raised 5 warnings, and each one pointed to something real.

OCA helper

  • OCA: check module. Checks the manifest (version, license, OCA author, website, development_status), readme/ fragments, README.rst, the icon, tests and pre-commit. Problems are graded as error, warning or recommendation. On all of OCA l10n-spain it reports no false errors.
  • OCA: run pre-commit on the module. It asks first, because pre-commit modifies files.
  • OCA: create readme/ fragments.
  • OCA: prepare migration opens a checklist that follows the OCA process (git format-patch | git am, pre-commit, odoo-module-migrator, [MIG] commit) and can hand the job to Claude.

Module & model map

  • Modules: dependency graph of your modules and the Odoo modules they use. Hover a module to see what it depends on (green) and what uses it (orange).
  • Models: for each model, who defines it and every module that extends it, with the fields and methods each one adds, in dependency order. Click a field to open it.
  • On a real Odoo 18 project with 1,290 modules it takes about 2 s. It only parses the code; it doesn't run Odoo.

Connect Claude to your Odoo (read-only)

Odoo: connect Claude to my Odoo saves a connection to your test database in ~/.config/odoo-kit/connections.json (mode 600). The odoo-kit plugin then gives Claude these MCP tools:

  • odoo_fields: real fields;
  • odoo_view: the final view after all inheritance;
  • odoo_models, odoo_modules, odoo_search_read (max 100 rows);
  • odoo_log.

They only call read methods. Write calls are not exposed.

Claude Code plugin odoo-kit

This repo is also a Claude Code plugin marketplace:

claude plugin marketplace add Vini-cio/claude-agent-viewer
claude plugin install odoo-kit@odoo-claude-tools

With the plugin installed, Claude gets:

  • the same file checks right after each edit;
  • project context at session start;
  • the read-only MCP connection above;
  • subagents odoo-reviewer, odoo-migrator and odoo-test-writer;
  • skills /odoo-kit:new-module, /odoo-kit:init (writes the project's CLAUDE.md) and /odoo-kit:oca-check.

The plugin is in plugins/odoo-kit/ and needs only Python 3.8+.

Standalone mode (browser + prompt)

How it works

  1. server.py runs claude -p "<prompt>" --output-format stream-json --verbose and forwards each JSON event to the browser over Server-Sent Events.
  2. index.html builds the tree with one rule:
    • an Agent/Task tool_use block creates an agent node keyed by its id;
    • every message whose parent_tool_use_id equals that id is drawn inside it;
    • the tool_result with the same tool_use_id marks the node as finished.

No dependencies: Python standard library (3.8+) and plain HTML/JS.

Usage

python3 server.py --cwd /path/to/your/project
# open http://localhost:8765
Option Default
--cwd current dir Directory the agent works in
--port 8765
--allowed-tools read-only set Tools Claude may use without asking. In -p mode nobody can approve prompts, so anything not listed is denied.
CLAUDE_BIN env claude on PATH, else the binary bundled with the VS Code extension

Example to let the agent edit files:

python3 server.py --cwd ~/project --allowed-tools "Agent,Read,Grep,Glob,Edit,Bash"

Each run uses your Claude Code account and costs real tokens. The server listens on 127.0.0.1 only.


Español

Instalación: descarga el .vsix del último release y en VS Code ve a Extensiones → ⋯ → Install from VSIX…. Luego recarga la ventana.

Extensión de VS Code (recomendada): abre el visor en una pestaña y escucha tus sesiones de Claude Code (el chat de VS Code o la terminal) leyendo ~/.claude/projects. Ábrela desde el botón Agentes de la barra de estado.

Herramientas de Odoo: si el proyecto tiene módulos de Odoo, la extensión revisa al guardar cada .py, .xml e ir.model.access.csv y marca los errores en el panel Problems: imports, manifest, attrs en 17+, <tree> en 18+ y permisos. También instala con un clic el plugin odoo-kit para Claude Code (claude plugin marketplace add Vini-cio/claude-agent-viewer y claude plugin install odoo-kit@odoo-claude-tools), que le da a Claude esas mismas revisiones, subagentes y skills de Odoo.

Vistas: escena animada (cada agente es un robot; sus herramientas salen como tarjetas con icono y vuelven a su estante; los subagentes devuelven un sobre ✉️) con línea de tiempo tipo editor de video, o árbol. Puedes repetir la última ejecución como video, guardarla en .jsonl y abrirla después.

Cómo funciona: server.py ejecuta claude -p con salida stream-json y manda cada evento al navegador. La página agrupa los mensajes por parent_tool_use_id para saber qué pertenece a cada subagente.

Uso: python3 server.py --cwd /ruta/al/proyecto y abre http://localhost:8765. Por defecto solo permite herramientas de lectura; amplíalas con --allowed-tools. Cada ejecución consume tokens de tu cuenta.

Contributing

Issues and pull requests are welcome. To try a change, edit the files, run npx @vscode/vsce package and install the new .vsix. If you change index.html, you can also run python3 server.py and open it in a browser.

License

MIT. Proyecto comunitario, sin afiliación con Anthropic.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft