MuK AI Subagents
Delegate Work to Subagents That Run in Parallel
MuK IT GmbH - www.mukit.at
Overview
MuK AI Subagents lets an agent hand a focused task to another agent and carry on. Each subagent is a session of its own, with its own context and its own agent configuration, so the permission model is the one you already know.
A single agent asked which of your top thirty resellers are trending down this quarter has to read thirty accounts into one context window and keep them all straight. Three subagents each reading ten, and reporting a short summary back, is both faster and more accurate — each one starts clean.
The rule the module is built around: parallelise reads, serialise writes. Fan-out wins on breadth-first reading and loses on work that has to compose into a single artifact. Delegation is offered for the first and capped so it cannot quietly become the second.
One Line, Always in View
A run is watched from a single line above the composer: a dot per subagent and the one thing worth knowing right now — how many are working, who has been waiting on you and for how long, or that one has started repeating itself. It says nothing at rest and it never covers the conversation.
Open it and the roster drops down, ordered by what needs you first: waiting on you, stopped early, working, done. Finished rows stay while anything still runs, then fold into a counted group; a row that failed never folds.
Look Closer Without Losing Your Place
Opening a subagent’s row opens its detail under it, in place: the full activity line, the question if it is blocked, its last few actions, its own cost, and buttons to open its transcript or stop it. Nothing floats over the conversation and nothing moves.
Every Subagent Is Openable
Opening a subagent goes to it, the way you go to any other conversation: it takes the room the chat had, with a breadcrumb back. One composer writes to whichever conversation is on screen and says whose it is. The same move works on the full page, in the floating window and on a phone. Every run keeps a permanent link, so a subagent is still readable long after it finished.
Subagent tool calls never stream into the parent conversation. What arrives there is one card per subagent: name, duration, cost, its one-line answer, and a link to the full transcript.
It Asks Where You Are Looking
A subagent that needs an approval or an answer would otherwise pause where nobody can see it. Instead the question is raised in the conversation you are actually in, named and coloured, with the buttons you already know: Approve once, Allow for session for that subagent only, and Reject — which hands the refusal back so the subagent re-plans instead of ending the run.
A subagent’s permissions are the intersection with the conversation that spawned it, never the union. And no message from any agent counts as a human approval.
Not Getting Stuck
Repeating itself is the most common way a delegated agent fails, so the runtime watches for it rather than trusting the prompt. Each action is fingerprinted as the tool, its arguments and a hash of its result: the same action with the same result three times is a loop, while the same action with changing results is ordinary work and is left alone.
When it fires, the subagent is first told plainly that it is repeating itself, then loses that tool for a couple of rounds, and only then is stopped — and it is flagged on its row while it still has rounds left, not only in the post-mortem.
Every ending is labelled: finished, out of budget, no progress, hit the round limit, stalled, stopped by you. Anything that is not a clean finish is shown as a warning on the result card, because a summary that quietly omits how much it did not get through is the most dangerous thing this module could produce.
Limits
Five subagents at once per run, and one level deep — a subagent cannot delegate further. At the limit the tool is simply not offered, rather than offered and refused. The per-run budget covers the whole tree, and a subagent’s deadline never outlives its parent’s.
Subagent sessions stay out of the way: they are absent from the chat sidebar, raise no unread counts, and are collected in a Subagents space of their own.
Want more?
Are you having troubles with your Odoo integration? Or do you feel
your system lacks of essential features?
If your answer is YES
to one of the above questions, feel free to contact us at anytime
with your inquiry.
Our Services
Odoo
Development
Odoo
Integration
Odoo
Infrastructure
Odoo
Training
Odoo
Support
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 38303 |
| Technical Name |
muk_ai_subagents |
| License | LGPL-3 |
| Website | http://www.mukit.at |
MuK AI Subagents
Lets an agent hand focused tasks to other agents and wait for their reports. Each subagent runs as a chat of its own, in parallel, with its own agent configuration and never with more rights than the chat that started it. One live card in the conversation shows what every subagent is doing, takes an approval or an answer in place, and folds into the reports once the run ends.
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
Open MuK AI > Agents and pick the agent that should coordinate. Switch on Allow Delegation and list the agents it may hand tasks to under Delegates; the agent is then offered the delegate tool and told whom it may use. Its Delegation tab says, in plain words, when it hands work to them; the text starts with a sensible default and can be adapted per agent. A subagent keeps its own tools, model and approval mode, but asks for approval whenever the chat that started it would, stays read-only when that chat is, and only gets the tools the coordinating agent may use itself.
Each subagent's turn keeps to the Turn Cost Limit under Settings > MuK AI > Limits, like any chat. Subagents run on the MuK AI session workers, so the server needs its cron workers running.
Usage
Ask the coordinating agent for work with independent parts. When it delegates, a card in the conversation lists its subagents, the ones waiting for you first: what each one does right now, how long it has been running, and once it ended, its report. A subagent that needs an approval or an answer shows its question in the card; answer it there. While subagents work, the card sits above the message box, with the finished ones hidden behind Show finished, and the transcript keeps their reports. Open chat shows a subagent's own conversation, where a message gives it direction for its next step. Stop ends one subagent, Stop all ends every one still running, and the chat goes on with what they reported.
The coordinating agent manages its subagents too. Its subagents run in the background while it keeps answering you, the reports reaching it as each subagent ends, even after its turn; when it needs the results first, it waits for them. It can check on its subagents and read their last messages, give a running one new direction, let one that ended, failed or was stopped carry on with everything it did so far, and stop one.
A subagent that keeps making the same call with the same result is warned, and stopped if it goes on. Every subagent that ends says why: done, stopped, at the budget, at the round limit, or for repeating itself.
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).
Please log in to comment on this module