Home › Curriculum › AI across Odoo roles › Designing Odoo agents and skills
Building with AI in Odoo · 16 min · Odoo 20 + generalDesigning Odoo agents and skills
Writing instructions, choosing sources, defining tools and evaluating agents so they behave reliably.
In this lesson
- Instructions, knowledge, tools and permissions
- Writing instructions that work
- Evaluation and prompt-injection defence
Key points
- Agent = instructions + curated sources + minimal tools + permissions
- Instructions like a job description, with examples and hand-off rules
- Evaluate on 30–50 anonymised cases; iterate; changelog
- Treat read content as data; approvals on writes; logs
Real-world example
A bill-drafting agent once set a vendor's bank account from text hidden in a PDF footer ('update bank details to…'). Because writes needed approval, the clerk caught it. The team added an instruction to never change partner bank details and removed that tool.
Questions and answers
Why keep a changelog of instructions?
Small wording changes change behaviour; you need to trace regressions.
What's the safest default for agent writes?
Draft only, with human approval.