This project is a plugin for LM Studio that provides a rich set of tools to a large language model. It acts as a bridge between the LLM and your local environment, enabling autonomous coding, research, and file management.
[!IMPORTANT]
LM Studio does NOT support automatic updates. If you encounter issues, please try manually updating first by removing the current version and re-downloading from the . LM Studio may show an "already installed" tooltip, even if your version is outdated.
This project is a plugin for LM Studio that provides a rich set of tools to a large language model. It acts as a bridge between the LLM and your local environment, enabling autonomous coding, research, and file management.
[!IMPORTANT]
LM Studio does NOT support automatic updates. If you encounter issues, please try manually updating first by removing the current version and re-downloading from the . LM Studio may show an "already installed" tooltip, even if your version is outdated.
๐ ๏ธ Tool Reordering & Optimization: Reordered the tools list to prioritize casual utilities, improving agent tool selection. Upgraded the web search tool with smart Chrome detection and fallback.
๐ค Sub-Agent Reliability Rework: Overhauled the sub-agent loop to prevent infinite loops, improved tool call parsing, unified path/content normalization, and added explicit task completion/abortion capabilities (TASK_FAILED).
โจ New Sub-Agent Tools: Empowered sub-agents with multi_replace_text, search_directory, and background command execution. Main agents now support robust batch file saving.
Older Updates (v1.3.1 & earlier)
v1.3.1
๐ Full Internationalization (i18n): Added complete UI and runtime support for English, German, Simplified Chinese, and Traditional Chinese.
๐ Dual-Layer Translation: Supports both "Config UI" (static) and "Agent Messages" (dynamic runtime) languages.
๐ UI Language Override: Added a field to manually force the Config UI into a specific locale for testing, bypassing OS-level detection on the next plugin restart.
v1.3.0
v1.2.0
๐ก๏ธ Sub-Agent Tool Validation: Added early parameter validation with clear error messages to prevent silent failures when sub-agents use wrong parameter names or absolute paths outside workspace
๐งช Regression Tests: Added 14 new tests for tool call validation logic (total: 51 tests)
๐ฌ Better Error Feedback: Sub-agents now receive TOOL_VALIDATION_ERROR messages with helpful hints about correct parameter names vs common mistakes
v1.1.1 (2026-04-08)
Browser Reliability and Navigation Context
Fixed: Browser action clicks now include a DOM-level fallback when Puppeteer reports "Node is either not clickable or not an Element"
Improved: Browser click actions now retry native click after ~300ms before falling back
Added:browser_session_open returns full page text by default (include_page_text defaults to true)
Refined: Multi-step routing guidance now prioritizes
v1.1.0 (2026-04-08)
Sub-Agent Compatibility Improvements
v1.0.x Previous Updates
Smart Context Injection:subagent_docs.md is automatically loaded into the context
Enhanced Reporting: Fixed file path reporting in consult_secondary_agent
Project Tracking: Sub-agents enforce creation of beledarian_info.md
Strict Naming: Improved instructions for correct file extensions
Autonomous Agents
Secondary Agent: Delegate complex tasks (coding, summarization) to a second local model/server with support for the main model already used and loaded by LM Studio!
Auto-Save: When the sub-agent generates code, the system automatically detects and saves it to your disk. No more copy-pasting!
Auto-Debug: (Optional) Triggers a "Reviewer" agent to analyze generated code and fix bugs automatically before returning the result.
Structured Handoff: Sub-agents can return a dedicated handoff_message for the main agent to relay findings/research.
Project Context: Agents can read beledarian_info.md to understand your project's history.
Code Execution
Sandboxed: Run JavaScript (Deno) and Python code.
Terminal: Execute shell commands or open real terminal windows for interactive tasks.
[!WARNING]
Enabling shell or terminal execution allows the model to run arbitrary commands on your system. If enabled, the model may be able to modify files and escape the sandbox environment.
Web & RAG
Research: Search DuckDuckGo, Wikipedia, or fetch raw web content.
Advanced Browser Navigation: Persistent browser_session_open/control/close flow for multi-step browsing and automation.
Web RAG: Chat with website content.
Local RAG: Semantic search over your workspace files (rag_local_files).
๐ก Tip: Need persistent long-term memory for your agent?
Check out my other project: Local Memory MCP โ A privacy-first memory server with knowledge graph support.
Installation
The plugin can be installed using the following link:
Run in development mode:
From within the project directory, run the following command:
This will start the plugin in development mode. LM Studio should automatically pick it up. Any changes you make to the source code will cause the plugin to automatically reload.
Configuration
Access these settings in the LM Studio "Plugins" tab:
Enable Secondary Agent: Unlock the power of sub-agents.
Sub-Agent Profiles: Custom prompts for "Coder", "Reviewer", etc.
Show Full Code Output: Toggle whether to display the full code in chat or hide it for brevity (files are still saved).
Default Workspace Path: Set the startup workspace directory used by the plugin.
Safety: Enable/Disable "Allow Code Execution" for Python/JS/Shell.
Browser Safety: Browser automation for sub-agents requires all three toggles: Allow Browser Control + Sub-Agent: Allow Web Search + Sub-Agent: Allow Browser Control.
๐ ๏ธ Tool Reordering & Optimization: Reordered the tools list to prioritize casual utilities, improving agent tool selection. Upgraded the web search tool with smart Chrome detection and fallback.
๐ค Sub-Agent Reliability Rework: Overhauled the sub-agent loop to prevent infinite loops, improved tool call parsing, unified path/content normalization, and added explicit task completion/abortion capabilities (TASK_FAILED).
โจ New Sub-Agent Tools: Empowered sub-agents with multi_replace_text, search_directory, and background command execution. Main agents now support robust batch file saving.
Older Updates (v1.3.1 & earlier)
v1.3.1
๐ Full Internationalization (i18n): Added complete UI and runtime support for English, German, Simplified Chinese, and Traditional Chinese.
๐ Dual-Layer Translation: Supports both "Config UI" (static) and "Agent Messages" (dynamic runtime) languages.
๐ UI Language Override: Added a field to manually force the Config UI into a specific locale for testing, bypassing OS-level detection on the next plugin restart.
v1.3.0
v1.2.0
๐ก๏ธ Sub-Agent Tool Validation: Added early parameter validation with clear error messages to prevent silent failures when sub-agents use wrong parameter names or absolute paths outside workspace
๐งช Regression Tests: Added 14 new tests for tool call validation logic (total: 51 tests)
๐ฌ Better Error Feedback: Sub-agents now receive TOOL_VALIDATION_ERROR messages with helpful hints about correct parameter names vs common mistakes
v1.1.1 (2026-04-08)
Browser Reliability and Navigation Context
Fixed: Browser action clicks now include a DOM-level fallback when Puppeteer reports "Node is either not clickable or not an Element"
Improved: Browser click actions now retry native click after ~300ms before falling back
Added:browser_session_open returns full page text by default (include_page_text defaults to true)
Refined: Multi-step routing guidance now prioritizes
v1.1.0 (2026-04-08)
Sub-Agent Compatibility Improvements
v1.0.x Previous Updates
Smart Context Injection:subagent_docs.md is automatically loaded into the context
Enhanced Reporting: Fixed file path reporting in consult_secondary_agent
Project Tracking: Sub-agents enforce creation of beledarian_info.md
Strict Naming: Improved instructions for correct file extensions
Autonomous Agents
Secondary Agent: Delegate complex tasks (coding, summarization) to a second local model/server with support for the main model already used and loaded by LM Studio!
Auto-Save: When the sub-agent generates code, the system automatically detects and saves it to your disk. No more copy-pasting!
Auto-Debug: (Optional) Triggers a "Reviewer" agent to analyze generated code and fix bugs automatically before returning the result.
Structured Handoff: Sub-agents can return a dedicated handoff_message for the main agent to relay findings/research.
Project Context: Agents can read beledarian_info.md to understand your project's history.
Code Execution
Sandboxed: Run JavaScript (Deno) and Python code.
Terminal: Execute shell commands or open real terminal windows for interactive tasks.
[!WARNING]
Enabling shell or terminal execution allows the model to run arbitrary commands on your system. If enabled, the model may be able to modify files and escape the sandbox environment.
Web & RAG
Research: Search DuckDuckGo, Wikipedia, or fetch raw web content.
Advanced Browser Navigation: Persistent browser_session_open/control/close flow for multi-step browsing and automation.
Web RAG: Chat with website content.
Local RAG: Semantic search over your workspace files (rag_local_files).
๐ก Tip: Need persistent long-term memory for your agent?
Check out my other project: Local Memory MCP โ A privacy-first memory server with knowledge graph support.
Installation
The plugin can be installed using the following link:
Run in development mode:
From within the project directory, run the following command:
This will start the plugin in development mode. LM Studio should automatically pick it up. Any changes you make to the source code will cause the plugin to automatically reload.
Configuration
Access these settings in the LM Studio "Plugins" tab:
Enable Secondary Agent: Unlock the power of sub-agents.
Sub-Agent Profiles: Custom prompts for "Coder", "Reviewer", etc.
Show Full Code Output: Toggle whether to display the full code in chat or hide it for brevity (files are still saved).
Default Workspace Path: Set the startup workspace directory used by the plugin.
Safety: Enable/Disable "Allow Code Execution" for Python/JS/Shell.
Browser Safety: Browser automation for sub-agents requires all three toggles: Allow Browser Control + Sub-Agent: Allow Web Search + Sub-Agent: Allow Browser Control.