<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Guyoung Studio</title>
    <description>The latest articles on DEV Community by Guyoung Studio (@guyoung).</description>
    <link>https://dev.to/guyoung</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3947043%2F19d3a869-df50-4eec-94a6-cf6fbf011ae6.png</url>
      <title>DEV Community: Guyoung Studio</title>
      <link>https://dev.to/guyoung</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/guyoung"/>
    <language>en</language>
    <item>
      <title>BoxAgnts is an Out-Of-The-Box Secure AI Agent ToolBox in a WASM SandBox</title>
      <dc:creator>Guyoung Studio</dc:creator>
      <pubDate>Sat, 23 May 2026 03:49:57 +0000</pubDate>
      <link>https://dev.to/guyoung/boxagnts-is-an-out-of-the-box-secure-ai-agent-toolbox-in-a-wasm-sandbox-1hif</link>
      <guid>https://dev.to/guyoung/boxagnts-is-an-out-of-the-box-secure-ai-agent-toolbox-in-a-wasm-sandbox-1hif</guid>
      <description>&lt;p&gt;BoxAgnts is an open-source AI Agent ToolBox built with Rust, dedicated to delivering an ultimate out-of-the-box experience. Leveraging WebAssembly sandbox, it provides a runtime environment that balances security and flexibility, helping users effortlessly tackle a wide range of complex tasks and thus becoming an efficient and trustworthy personal AI assistant.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftda2isgs53p19jcewe2z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftda2isgs53p19jcewe2z.jpg" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Architecture
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🎯 AI Agent Tool*&lt;em&gt;Box&lt;/em&gt;*
&lt;/h3&gt;

&lt;p&gt;BoxAgnts is a fully-featured AI Agent toolkit providing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-model support&lt;/strong&gt;: Compatible with major AI model providers including OpenAI, Anthropic, CodeX, Google, Deepseek, MiniMax, OpenCode&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool system&lt;/strong&gt;: Built-in file operations, web access, code execution, and many other tools&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skill system&lt;/strong&gt;: Create specialized AI skills through simple configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🛡️ WebAssembly Sand*&lt;em&gt;Box&lt;/em&gt;*
&lt;/h3&gt;

&lt;p&gt;Build a secure runtime environment using WebAssembly technology:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Isolated execution&lt;/strong&gt;: All custom tools and skills run in a WASM sandbox&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security control&lt;/strong&gt;: Fine-grained permission management and network access control&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-platform&lt;/strong&gt;: Compile once, run everywhere&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High performance&lt;/strong&gt;: Based on Wasmtime runtime, near-native performance&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ✨ Out of the &lt;strong&gt;Box&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Out-of-the-box experience:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-configuration startup&lt;/strong&gt;: Download and run, no complex configuration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web interface&lt;/strong&gt;: Built-in beautiful Dashboard for visual management of all features&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in extensions&lt;/strong&gt;: Pre-configured with commonly used tools and skills, ready to use&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quick start&lt;/strong&gt;: Simple API and intuitive workflow&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🤖 AI Chat and Agents
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Chat with multiple AI models&lt;/li&gt;
&lt;li&gt;Create and manage custom Agents&lt;/li&gt;
&lt;li&gt;Save and manage chat history&lt;/li&gt;
&lt;li&gt;Support for streaming responses&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔧 Tool Execution
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;File read/write and editing&lt;/li&gt;
&lt;li&gt;Shell command execution&lt;/li&gt;
&lt;li&gt;Web content scraping&lt;/li&gt;
&lt;li&gt;Code review and analysis&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📦 Skill System
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Quickly create specialized skills&lt;/li&gt;
&lt;li&gt;Skill combination and reuse&lt;/li&gt;
&lt;li&gt;Built-in skills including code review, weather query, front-end component generation, etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⏰ Automatic Tasks Cron
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Create and manage scheduled tasks&lt;/li&gt;
&lt;li&gt;Support for standard Cron expressions&lt;/li&gt;
&lt;li&gt;Task execution logs and status tracking&lt;/li&gt;
&lt;li&gt;Flexible task configuration and triggering methods&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🌐 Web Service
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Custom website deployment&lt;/li&gt;
&lt;li&gt;Static file serving&lt;/li&gt;
&lt;li&gt;API endpoint management&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Download Executable
&lt;/h3&gt;

&lt;p&gt;Download the latest compressed package from the &lt;a href="https://github.com/guyoung/boxagnts/releases" rel="noopener noreferrer"&gt;Releases&lt;/a&gt; page, extract and run.&lt;/p&gt;

&lt;h3&gt;
  
  
  Start Service
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Start service&lt;/span&gt;
boxagnts

&lt;span class="c"&gt;# Specify workspace directory&lt;/span&gt;
boxagnts &lt;span class="nt"&gt;--workspace-dir&lt;/span&gt; /path/to/workspace

&lt;span class="c"&gt;# Specify port&lt;/span&gt;
boxagnts &lt;span class="nt"&gt;--workspace-dir&lt;/span&gt; /path/to/workspace &lt;span class="nt"&gt;--port&lt;/span&gt; 30002
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Suggestion: BoxAgnts supports multiple workspaces, each with its own configuration file and data directory. It is recommended not to run in the default directory, but to specify a workspace directory or workspace-dir.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Command line arguments:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;BoxAgnts is an open-source AI Agent ToolBox built with Rust.

Usage: boxagnts &lt;span class="o"&gt;[&lt;/span&gt;OPTIONS]

Options:
      &lt;span class="nt"&gt;--port&lt;/span&gt; &amp;lt;PORT&amp;gt;          Port to run the web server on &lt;span class="o"&gt;[&lt;/span&gt;default: 30001]
      &lt;span class="nt"&gt;--host&lt;/span&gt; &amp;lt;HOST&amp;gt;          Host to &lt;span class="nb"&gt;bind &lt;/span&gt;to &lt;span class="o"&gt;(&lt;/span&gt;0.0.0.0 &lt;span class="k"&gt;for &lt;/span&gt;all interfaces&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;default: 127.0.0.1]
      &lt;span class="nt"&gt;--workspace-dir&lt;/span&gt; &amp;lt;DIR&amp;gt;  Set workspace &lt;span class="nb"&gt;dir&lt;/span&gt;, default current &lt;span class="nb"&gt;dir&lt;/span&gt;
      &lt;span class="nt"&gt;--app-dir&lt;/span&gt; &amp;lt;DIR&amp;gt;        Set app &lt;span class="nb"&gt;dir&lt;/span&gt;, default Boxagnts executable file &lt;span class="nb"&gt;dir&lt;/span&gt;
      &lt;span class="nt"&gt;--admin-user&lt;/span&gt; &amp;lt;USERNAME&amp;gt;  Set admin username
      &lt;span class="nt"&gt;--admin-pass&lt;/span&gt; &amp;lt;PASSWORD&amp;gt;  Set admin password
  &lt;span class="nt"&gt;-h&lt;/span&gt;, &lt;span class="nt"&gt;--help&lt;/span&gt;                 Print &lt;span class="nb"&gt;help&lt;/span&gt;
  &lt;span class="nt"&gt;-V&lt;/span&gt;, &lt;span class="nt"&gt;--version&lt;/span&gt;              Print version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Access Dashboard
&lt;/h3&gt;

&lt;p&gt;Open your browser and visit &lt;code&gt;http://127.0.0.1:30001&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Configure Model
&lt;/h3&gt;

&lt;p&gt;Add AI models and API Keys in the settings page&lt;/p&gt;

&lt;h2&gt;
  
  
  Project Structure and Source Code Compilation
&lt;/h2&gt;

&lt;p&gt;This project is developed based on &lt;a href="https://github.com/Kuberwastaken/claurst" rel="noopener noreferrer"&gt;claurst&lt;/a&gt; project code&lt;/p&gt;

&lt;h3&gt;
  
  
  Directory Structure
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;boxagnts/
├── boxagnts/                 # Rust backend core code
│   ├── api/                 # AI model API (multi-provider support)
│   ├── core/                # Core types, constants, and basic functions
│   ├── gateway/             # API gateway (includes Cron task scheduling)
│   ├── mcp/                 # MCP protocol implementation (optional)
│   ├── server/              # Web server and Dashboard interface
│   ├── tools/               # Tool system and built-in tools
│   ├── tools-manager/       # Tool manager
│   ├── query/               # Query orchestration
│   ├── wasm-sandbox/        # WebAssembly sandbox runtime
│   ├── wasm-tools/          # WASM tool wrappers
│   └── workspace/           # Workspace and configuration management
├── boxagnts-dashboard-web/  # Vue 3 frontend source code
│   ├── src/
│   │   ├── api/            # API interface wrappers
│   │   ├── components/     # Vue components
│   │   ├── composables/    # Composables
│   │   ├── stores/         # Pinia state management
│   │   ├── views/          # Page components
│   │   └── router/         # Router configuration
│   └── package.json        # Frontend dependencies
├── app/                     # Application resources
│   ├── dashboard-web/      # Compiled web interface static assets
│   └── extensions/         # Extensions (tools/skills)
└── Cargo.toml              # Rust workspace configuration
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Backend Code Analysis
&lt;/h3&gt;

&lt;p&gt;The backend is developed in Rust using Tokio async runtime. The main modules are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;api/&lt;/strong&gt;: Wraps APIs from multiple AI providers including OpenAI, Anthropic, Google, Azure, Bedrock, providing unified interface calling and message format conversion&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;core/&lt;/strong&gt;: Defines core data types, constants, error handling, and system prompts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;gateway/&lt;/strong&gt;: API gateway layer, handles HTTP requests, includes Cron task scheduling system (cron/ subdirectory), supporting scheduled task creation, management, and execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;server/&lt;/strong&gt;: Web server, providing Dashboard REST API and WebSocket support&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;tools/&lt;/strong&gt;: Tool system, implements execution framework for built-in tools and skills&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;wasm-sandbox/&lt;/strong&gt;: WebAssembly sandbox based on Wasmtime, implementing secure code execution environment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;workspace/&lt;/strong&gt;: Workspace management, handles configuration, authentication, and history storage&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Frontend Code Analysis
&lt;/h3&gt;

&lt;p&gt;The frontend uses Vue 3 + TypeScript + Vuetify technology stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uses &lt;strong&gt;Pinia&lt;/strong&gt; for state management (stores/ directory)&lt;/li&gt;
&lt;li&gt;Uses &lt;strong&gt;Vue Router&lt;/strong&gt; for routing management (router/ directory)&lt;/li&gt;
&lt;li&gt;Main pages: Chat, Agents, Cron tasks, Files, Skills, Tools, Sites, Settings, etc.&lt;/li&gt;
&lt;li&gt;Supports Markdown rendering, code editor (CodeMirror), charts (Chart.js), etc.&lt;/li&gt;
&lt;li&gt;Communicates with backend via REST API and WebSocket&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Source Code Compilation Method
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Environment Requirements
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Rust 1.75+ (Install: &lt;a href="https://www.rust-lang.org/tools/install" rel="noopener noreferrer"&gt;https://www.rust-lang.org/tools/install&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Node.js 18+ (Install: &lt;a href="https://nodejs.org/" rel="noopener noreferrer"&gt;https://nodejs.org/&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;npm or pnpm&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Compile Backend
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Enter project root directory&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;boxagnts-pub

&lt;span class="c"&gt;# Compile Debug version&lt;/span&gt;
cargo build

&lt;span class="c"&gt;# Compile Release version (optimize for size and performance)&lt;/span&gt;
cargo build &lt;span class="nt"&gt;--release&lt;/span&gt;

&lt;span class="c"&gt;# Compiled executable is located at target/release/boxagnts&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Compile Frontend
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Enter frontend directory&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;boxagnts-dashboard-web

&lt;span class="c"&gt;# Install dependencies&lt;/span&gt;
npm &lt;span class="nb"&gt;install&lt;/span&gt;

&lt;span class="c"&gt;# Start development mode (hot reload)&lt;/span&gt;
npm run dev

&lt;span class="c"&gt;# Compile production version&lt;/span&gt;
npm run build

&lt;span class="c"&gt;# Compiled static files will be output to app/dashboard-web/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Complete Build Process
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Compile frontend&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;boxagnts-dashboard-web
npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm run build

&lt;span class="c"&gt;# 2. Compile backend&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; ..
cargo build &lt;span class="nt"&gt;--release&lt;/span&gt;

&lt;span class="c"&gt;# 3. Run&lt;/span&gt;
./target/release/boxagnts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dev.toLICENSE"&gt;MIT&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Repository&lt;/strong&gt;: &lt;a href="https://github.com/guyoung/boxagnts" rel="noopener noreferrer"&gt;https://github.com/guyoung/boxagnts&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>opensource</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
