The hands and eyes an AI agent needs in a builder.
The shared base of MuK AI Website and MuK AI Newsletter. It gives the MuK AI Assistant agent the block you select in an Odoo builder, the builder's own blocks and snippets to work with, and a screenshot of the result. On its own it adds no screen.
The block you select pins the open chat to it, and shift-click picks more, each with a note of its own.
The agent writes live in the open builder, a block at a time. Each write is one step you can undo, and you save.
A screenshot of the editor at desktop and phone width, and of the reference it was asked to follow.
One base for every builder
Each piece works in any Odoo html builder that registers it. The website builder and the email designer do, through the addons built on this one.
A selected block pins the open chat to it. The chip above the chat names the record and the block, and follows the selection.
Shift-click blocks to pick several. Each pick gets a dashed outline and a note above the chat input, sent with the next message.
The agent reads the blocks, takes the builder's snippets, writes one block at a time and places images from the chat. Nothing is kept until you save.
The open editor captured at desktop and phone width, drawn in the browser. The agent checks its work on it, and you see the same captures in the chat.
A public web page, an exported design or an email you attached, captured at both widths in a sandbox, so the agent takes its colours, type and layout.
One client action opens a new chat with a given agent in a window, pinned to what is on screen. A menu or a button starts it.
Wire it into your own builder
Add muk_ai_editor to the manifest's depends, extend the snippets menu of the editor with its AI editor, and name the record field it edits. The tools then work in that builder, and an action starts the chat.
class MyEditor extends AIElementEditor {
owner() {
return { model: 'my.page', id: 7, field: 'body' };
}
}
const Wysiwyg = aiWysiwyg(BaseWysiwyg, {
menu: () => SnippetsMenu,
editor: MyEditor,
services: this.env.services,
});
<record id="action_design" model="ir.actions.client">
<field name="name">Design with AI</field>
<field name="tag">muk_ai_editor.design</field>
<field name="params"
eval="{'agent_id': ref('my_agent')}"/>
</record>
read_blocks # the blocks in order, the selected one marked write_block # add, replace or remove one block, one undo step place_image # an image from the chat into a block list_snippets, get_snippet # the builder's snippets, as it drops them render_preview # the open editor at desktop and mobile width render_reference # a web page, an .html or an .eml at both widths
The designers built on it
This module is what the agent works with. The agent itself, its instructions and its entry points come with the addon for each builder, and each installs this one with it.
A Website Designer agent in the website builder. It builds pages and a shop from a brief and a design, and checks every page at both widths.
An Email Designer agent in the email designer. It builds mailings block by block and checks the test email for what mail clients do not render.
Any other html builder gets the same tools from a subclass of the AI editor that names its record, and its own agent.
Help and support
What is covered after you buy, and where to write.
30 days of complimentary support for issues with the module, from the date of purchase. Data recovery, migration and training are not covered.
support@mukit.at for a technical issue — with your Odoo version and the request you sent. sale@mukit.at for anything before you buy.
MuK Proprietary Licence v1.0 — one database per licence. You may build modules on top of it; you may not redistribute it.
Want more?
MuK IT — Austrian Odoo partner, ViennaModules written for your process, on your Odoo version.
Odoo joined up with the systems you already run.
Hosting, deployment and upgrades you do not have to watch.
Your team taught the parts of Odoo they actually use.
An agreement, so an answer does not depend on who is free.
Documentation
The full text is on the Documentation tab, and in doc/ inside the download.Odoo.sh or on-premise, Community or Enterprise, with MuK AI Assistant and a provider set up. MuK AI Website or MuK AI Newsletter puts it to work.
None. The agents and their settings come with the addon for each builder.
Depends on muk_ai and web_editor. The screenshot library ships inside, nothing external.
Select a block in the builder, shift-click more with a note each, and ask the agent in the open chat.
It stores no settings, and the images it placed in pages and mailings stay.
MuK IT GmbH, Vienna. Author and maintainer. Screenshots are drawn with html2canvas-pro, by yorickshan and contributors, under the MIT licence.
Want the agent in another builder?
Tell us which records you design in Odoo, and we will tell you what it takes to give the agent a hand in them. MuK IT — Austrian Odoo partner, Vienna.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 34854 |
| Technical Name |
muk_ai_editor |
| License | See License tab |
| Website | http://www.mukit.at |
MuK AI Editor
Base of the MuK AI editor addons. The block you select in an html builder pins the open chat to it, the agent builds and edits live in the open builder from its snippets, a block at a time, and takes a desktop and a mobile screenshot of the editor and of a reference page or email. MuK AI Website and MuK AI Newsletter wire it into their builders.
Installation
To install this module, you need to:
Download the module and add it to your Odoo addons folder. Afterward, log on to your Odoo server and go to the Apps menu. Trigger the debug mode and update the list by clicking on the "Update Apps List" link. Now install the module by clicking on the install button.
Upgrade
To upgrade this module, you need to:
Download the module and add it to your Odoo addons folder. Restart the server and log on to your Odoo server. Select the Apps menu and upgrade the module by clicking on the upgrade button.
Configuration
No configuration required. The module needs MuK AI Assistant with a provider set up under MuK AI > Configuration > Providers. The agents and their settings come with MuK AI Website and MuK AI Newsletter, which install this module with them.
Usage
The block you select
Select a block in the website builder or the email designer, and the open chat is pinned to it: the chip above the chat input names the record and the block. Shift-click further blocks to pick several; each pick gets a dashed outline and a note of its own above the chat input, sent with the next message.
Building in the builder
The agent reads the blocks of the open page or mailing, takes the builder's own snippets, writes one block at a time and places images from the chat. Every block it writes is one step in the builder's history, and nothing is kept until you save.
Screenshots
The agent captures the open editor at desktop and mobile width to check its work, and the captures show in the chat. A reference, such as a public web page, an attached .html page or an .eml email, is captured the same way in a sandbox. The screenshots are drawn in the browser with html2canvas-pro, which ships in static/lib/html2canvas under the MIT licence.
For developers
An editor extends its Wysiwyg class with aiWysiwyg(), which builds its snippets menu with a subclass of AIElementEditor (@muk_ai_editor/builder/element/element) whose owner() names the record field it edits; the tools read_blocks, write_block, place_image, list_snippets, get_snippet, render_preview and render_reference then work in it. An ir.actions.client with the tag muk_ai_editor.design and an agent_id param opens a chat with that agent.
Credits
Contributors
- Mathias Markl <mathias.markl@mukit.at>
Author & Maintainer
This module is maintained by the MuK IT GmbH.
MuK IT is an Austrian company specialized in customizing and extending Odoo. We develop custom solutions for your individual needs to help you focus on your strength and expertise to grow your business.
If you want to get in touch please contact us via mail (sale@mukit.at) or visit our website (https://mukit.at).
MuK Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from MuK IT GmbH. The above permissions are granted for a single database per purchased license. Furthermore, with a valid license it is permitted to use the software on other databases as long as the usage is limited to a testing or development environment. You may develop modules based on the Software or that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module