Every command is also a native tool your agent calls by itself. Run odoo-agent with no
arguments for the full list on your machine.
01
Setup and the panel
./install.sh (--yes takes every default, --dry-run shows the changes)Setup (first start), Run setup again, Install everything
odoo-agent setup odoo <major> <checkout path>Odoo versions: checkout per version
odoo-agent setup enterprise <major> <path | none | auto>Odoo versions: enterprise folder, No enterprise
odoo-agent init in the project folder; one line: odoo-agent init --set key=valueProjects: a project's card
mkdir, then odoo-agent init <folder>New project folder, Add an existing folder
odoo-agent init --new-db <name> [--module <name> --depends a,b] [--demo]New database (with or without a first module)
odoo-agent db list [major]Databases: the list per version
odoo-agent db drop <name> (asks you to type the name)Databases: Drop (with its filestore)
odoo-agent skeleton <module> [--model x.y] [--depends a,b] [--wizard] [--report] [--demo]New module
odoo-agent try, odoo-agent test, odoo-agent screens, odoo-agent checkModule: try, test, screens, check
odoo-agent init --set allow=server,upgrade,copies,testdataPermissions: what the agent may do
odoo-agent init --set agent=offTurn odoo-agent off in this folder
odoo-agent setup tools on | off [agent]AI agents: native tools
./install.sh --only cardAI agents: Codex tool card
odoo-agent setup scope cards | everywhereAI agents: only in folders with a card
odoo-agent setup bridge on | offAI agents: Antigravity's host bridge
odoo-agent picker (writes a page with the same button; --print prints the link)Odoo Lens
odoo-agent cache clean [--dry-run]Settings: Clean stale files
./install.sh --uninstallSettings: Remove odoo-agent everywhere
02
Look up before writing
odoo-agent show <model.method | xml_id | file:line>the exact code of one unit, every override in run order
odoo-agent where <model> [member | --fields | --methods | --views]where it is defined and who extends it
odoo-agent uses <target>every use, in which unit, certain / likely / ambiguous
odoo-agent outline <file | module>, odoo-agent map [module]a file or a whole module on one page
odoo-agent trace <menu | action | model.method>from a click to the action, views, buttons and the super() chain
odoo-agent triggers <model> <field>everything that runs when a field changes
odoo-agent writers <model> <field>every place that sets a field
odoo-agent fixpoints <model.method>where Odoo would fix a wrong value: hooks, who overrides them, core's own path
odoo-agent render <model> <view type>a screen element by element, and which module adds each
odoo-agent senders <model>what sends mail or runs on a model, and as which user
odoo-agent example <words>where core already does a pattern, with
file:lineodoo-agent compare <verA> <verB> <target>the same model or method in two Odoo versions
odoo-agent pick <file | ->a pasted Odoo Lens pick turned into the view, template and a tested xpath
odoo-agent factsthis Odoo version's verified facts and traps
03
Live database (read-only)
odoo-agent sheet <model>the merged truth: fields, final views, access, rules, menus
odoo-agent query <model> [domain] [fields]validated, read-only queries through the ORM
odoo-agent why <login> <target>why a user cannot see, open or do something
odoo-agent envrunning servers, ports, the project database, and this project's exact shell and server commands
odoo-agent db list [major]the databases per version: size, modules, the card that uses each
odoo-agent edited [module ...]views and e-mail templates edited in the database that differ from their XML (a code change would overwrite them)
odoo-agent mail preview <template> <record>an e-mail rendered for a record, as HTML or a screenshot; nothing is sent
odoo-agent shell [--rollback] [--no-mail] [script.py | -]a scenario script in
odoo-bin shell, rolled back, no mail sent04
Build and prove
odoo-agent skeleton <module>a core-shaped new module in this version's style
odoo-agent access [module_dir] [--write]the module's access file in this version's format
odoo-agent check [files | --since rev]Odoo mistakes in the lines you added
odoo-agent verify [--patch answer.md]cross-file checks; a proposed diff checked before it is applied
odoo-agent audit <module>every problem of an existing module, old code too
odoo-agent impact [--since rev]what a change touches and can break, and the tests to run
odoo-agent try [module_dir]install it and use it: views, reports, buttons, crons, routes, customer pages; rolled back
odoo-agent test [module_dir]the module's own tests, reported as failures with
file:lineodoo-agent screens [module_dir]every backend and portal screen of the module in a real browser
odoo-agent error "<traceback>"a traceback turned into the code and the empty field behind it
odoo-agent syncyour running server brought up to date: upgrade for data, a restart for Python
05
The real screen (ui)
odoo-agent ui start [--db NAME] [--as LOGIN]start the engine on the project's database, as that user
odoo-agent ui open <target> [record id] [--size mobile]open a menu, action, view, record,
/path or URL; checks the screen reached is the one askedodoo-agent ui check <target>open it, wait until idle, lint, errors, a screenshot, then click each menu, tab and nav button
odoo-agent ui shot [target] [--full] [--ref design.png]a screenshot (and the dark variant);
--ref puts yours beside a referenceodoo-agent ui click <text | selector>click the visible element with that text or CSS selector
odoo-agent ui fill <field> <value>set a form field (a many2one types and picks the first match)
odoo-agent ui type <text> [--keys Enter,Tab]real key strokes into the focused element
odoo-agent ui save | errors | steps | eval <js>save the form, the page's errors, the steps so far, run JS
odoo-agent ui pick <selector | text>the element on the open screen: its view or template source and a tested inherit xpath
odoo-agent ui download <report | /url> [--record ID]a report as a real PDF (or any download);
--find a picture of one partodoo-agent ui map [module], odoo-agent ui crawl [module]every screen of the module; check each one and its first record
odoo-agent ui reload [module]after a code change: upgrade the module, restart the engine
odoo-agent ui tour <name>, odoo-agent ui hoot <module>run a tour; run the module's JS unit tests
odoo-agent ui save-test <module> <name>the steps since the last
open become an Odoo tour and the test that runs itodoo-agent ui status | stopthe engine's state; stop it, its Chrome and its profile
06
Setup and housekeeping
odoo-agent panel [--port N] [--no-open]the panel
odoo-agent init [folder]this project's card, filled in from your runs, git and Postgres
odoo-agent setup [...]show or change the installer's choices
odoo-agent info, odoo-agent --versionwhat the tool sees here; this build
odoo-agent history [status | snapshot]a folder without git: what changed since the session started
odoo-agent cache cleandrop stale cache files
odoo-agent mcpthe same answers as native agent tools (MCP over stdio)
odoo-agent cardthe tool card, for another agent's global instructions
Your agent calls all of these by itself once odoo-agent is set up.
Set it up
