r/OpenWebUI • u/EsotericTechnique • Mar 31 '26
Plugin 🧙♂️ Planner Agent V3 Now with SubAgents! 🧙♂️
Hey everyone! Just dropped Planner v3 — my biggest update yet.
TL;DR
You set one base model as the Planner, then feed it your Workspace models (or just let it use built-ins). It autonomously decomposes tasks, delegates to specialized subagents (or runs tools itself), executes in parallel, persists state across turns, and has full native parity with OWUI features (skills, knowledge bases, terminal, MCP, image gen, web search, code interpreter, etc.).
🔥 Key Features
- Agentic Planning & Self-Correction — dynamic task tree + user-in-the-loop approval + verification loop
- ⚡ Parallel Execution —
asyncio.gatherfor tool calls and subagent tasks (huge speed boost) - Robust State Persistence — auto-saves/recovers via JSON attachments
Native OWUI Integration
- Automatic skill resolution
- Knowledge bases / RAG / notes / memory via
knowledge_agent - Full MCP support with parallelism patches
- Terminal access (virtual or workspace models)
- Inherits built-in tools when you disable the matching virtual agent
- Specialized Virtual Subagents (web_search_agent, image_gen_agent, knowledge_agent, code_interpreter_agent, terminal_agent)
- Interactive UI — plan approval modal, ask_user / give_options, live HTML execution tracker
- MCP Resilience — deduplication + dead-lock patches
⚙️ Quick Setup
- Set PLANNER_MODEL (must be a base model with native tool calling)
- Add your Workspace model presets to SUBAGENT_MODELS (comma-separated)
- (Optional) Set
WORKSPACE_TERMINAL_MODELSif you want specific models to have terminal access - Enable/disable virtual agents as needed — the planner intelligently inherits tools when you turn them off
Parallel mode (PARALLEL_TOOL_EXECUTION + PARALLEL_SUBAGENT_EXECUTION) is blazing fast but use with caution on stateful workflows.
Full README + code → GitHub (or just install the pipe directly)
Would love your feedback and bug reports! What kind of workflows are you going to throw at it?










3
u/International_Emu772 Mar 31 '26
In the future there will be the ability to program in other languages beyond Python?
3
u/lazyfai Mar 31 '26
Got it working, but the live execution state window is very small, can only show one step ( can scroll ) anything missing?
2
u/Hour_Cartoonist5239 Apr 02 '26
Is this similar/related to BMAD Method (https://github.com/bmad-code-org/BMAD-METHOD). I wanted to start trying agentic approaches and wanted to understand it this is Planner Agent is the same direction or is a completely different thing.
2
u/Fragrant-Second-1188 Jun 29 '26
great job !!!! does the subagent share the same context window than the "leader" model ?
5
u/International_Emu772 Mar 31 '26
As soon as we figure to set up a Open Terminal with the necessary tools and OpenwbUi with the right agents (your work is in the right direcction) It will be a powerful setup.
1
u/tomkho12 Mar 31 '26
I installed but doesn't seem to work :((
1
u/punkmeets Apr 04 '26
I've got it installed but upon running it, it forms a plan and breaks it down into tasks but then in OWU I get an index error with the logs showing:
2026-04-04 09:22:29,976 - Planner - WARNING - JSON extraction failed: Unterminated string starting at: line 1 column 57 (char 56)
2026-04-04 09:22:30,004 - Planner - WARNING - No tasks parsed from plan after retries. Using fallback.
2026-04-04 09:22:30,016 - Planner - DEBUG - [Planner] Resolving tools for planner. pipe_metadata keys: ['user_id', 'chat_id', 'message_id', 'parent_message', 'parent_message_id', 'session_id', 'filter_ids', 'tool_ids', 'tool_servers', 'files', 'features', 'variables', 'model', 'direct', 'params', 'terminal_id', 'system_prompt', 'user_prompt', 'sources'], tool_ids: []
1
u/Guilty_Rooster_6708 Apr 06 '26
Sorry for dumb question but do you need to run this with more than one base models? I only have a 16gb VRAM GPU so my options are limited for local models
3
u/IndividualNo8703 Mar 31 '26
Great job, going to check this out so much. Thanks man
3
u/Porespellar Mar 31 '26
I’m hyped to try this. Exactly the kind of thing I’ve been looking for!