惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
Malwarebytes
Malwarebytes
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cybersecurity and Infrastructure Security Agency CISA
F
Future of Privacy Forum
C
Cisco Blogs
T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
S
Securelist
K
Kaspersky official blog
S
Schneier on Security
T
ThreatConnect
T
Tenable Blog
Spread Privacy
Spread Privacy
T
True Tiger Recordings
AWS News Blog
AWS News Blog
F
Fox-IT International blog
量子位
T
Threatpost
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
Cisco Talos Blog
Cisco Talos Blog
GbyAI
GbyAI
宝玉的分享
宝玉的分享
腾讯CDC
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
Cyberwarzone
Cyberwarzone
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
U
Unit 42
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
MyScale Blog
MyScale Blog
小众软件
小众软件
A
About on SuperTechFans
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
美团技术团队
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog

DEV Community

Aether: A local Android assistant built with Gemma 4 mkdev: trusted HTTPS for localhost, mapped by name Just one question, one answer. Why Java Still Rules the Programming World in 2026 Four Architectures for Letting Claude Edit Elementor (and Why We Shipped Clone-and-Mutate) yard-yaml 0.1.1: safer UTF-8 handling for YAML documentation I Built a Mac App That Keeps Your Clipboard in Sync Across All Your Android Devices Stop Using UUIDs: Why B2B SaaS Needs ULIDs in Laravel 🐘 I'm a non-technical founder who built a Slack approval tool. Here's what actually broke first. Open-Sourcing Our Game AI Stack — SDKs, Templates, and CLI Tools for NPC Dialogue I Built an AI System That Makes 1,000 Decisions a Day. Here's Where I Drew the Line. Lets Encrypt DNS Challenge with Traefik and AWS Route 53 Building an agent-ready website: how to make your site readable for ChatGPT, Perplexity and autonomous agents A productivity tool with GitHub as your cloud database How We Built Dynamic NPC Dialogue with LLMs — Lessons from Early Access cmux: The Native macOS Terminal Built for Running AI Coding Agents in Parallel Deep Atlantic Storage: Rewriting in Rust How I Built a Bulk Image Optimizer with $0 Server Costs Using Vanilla JS and Canvas API Humans and Machines read differently, I think I have a fix? Claude Code Deleted 92 Images Without Asking. This Happens More Than You Think. Method Calling Stack in Java I Built Schedule Sensei & Pushed It to GitHub – Here's What's Inside (And I Need Your Help 👀) OIC: From a Working Toast Watcher to a General "Watch It for Me" Agent Memory is two-thirds of what an AI chip costs to build The XState persistence problem is five years old. Here is what we built to finally solve it. i added MCP support to my SaaS in an afternoon. here's the whole thing. Framework: Link Building ☁️ Importing existing S3 buckets into Terraform state made easy with terraform import existing s3 bucket I Built a Token System on Solana (Without Any Backend Code) 터미널 AI 에이전트 구축 (v21) I Built an AI 3D Model Generator — Here's How I Handle Meshes in the Browser 🛡️ PromptGuard: I Built a Local AI Privacy Firewall That Sanitizes Your Prompts Before They Leave Your Machine PostgreSQL WAL Bloat: Why Automatic Management Is Often Insufficient? Seven PRs Before Lunch: Parallel Claude Code Tabs Plus Audit-Before-Bump Deployment using all three Kubernetes probes Qwen 3.6 Has Four Tiers. Here's How to Route Without Burning Cash. RAG 시스템 실전 구축 (v21) How I handle my errors in PHP The Blind Spot in Treasure Hunt Engine Configuration: Long-Term Server Health Run NVIDIA NIM on Your Own GPU — Same API, Different Endpoint Webflow SEO Implementation 로컬 LLM 셋업 가이드 (v21) How Logs Travel From Your EKS Pod to Datadog 𝗦𝘁𝗼𝗽 𝗖𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗙𝗼𝗿 𝗘𝘅𝗮𝗺𝘀, 𝗦𝘁𝗮𝗿𝘁 𝗕𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗥𝗲𝗮𝗹 𝗦𝗸𝗶𝗹𝗹𝘀 How to Use EXPLAIN ANALYZE in PostgreSQL: A Visual Guide gRPC Performance: tonic (Rust) vs grpc-go Benchmarked at Scale Hack The Box (HTB): Cap Machine (Full Walkthrough) Visual Search Optimization studygemma: AI study buddy for CS students Architectural Tradeoffs in Webhook Idempotency and SaaS API Versioning One Open Source Project a Day (No. 75): Understand Anything - The AI Engine That Turns Any Codebase Into an Explorable Knowledge Graph From mock-only-works to real-world-works: 48 hours of reCAPTCHA debugging I built a free music tool AI Talking Avatar Pipelines Broke Our Ad CTR by 3.7% 800G to 400G Breakout: How to Scale 400G Networks with 800G Ports 터미널 AI 에이전트 구축 (v20) Topical Authority Architecture Inside Hermes Agent's Session Memory: What X-Hermes-Session-Id Actually Does How Logs Travel From Your EKS Pod to Datadog The Hidden Journey Inside / Kubernetes Is it safe to connect my bank account to AI? No Room — The World of Aying (8/12) Fossils — The World of Aying (10/12) Familiar Stranger — The World of Aying (9/12) Being Seen — The World of Aying (7/12) [I Ran an AI Agent for 30 Days Straight — Here's the Boring Engineering That Made It Work] Gemma 4: The 128K Multimodal Powerhouse in Your Terminal How to Consolidate Your QA Toolstack: A Practical Buyer's Guide The Thank-You Email Almost Nobody Sends (And Why That's Your Edge) Schema Types 2026 Idempotency Keys: The API Safety Net You're Probably Not Using How to let Claude see my Plaid bank data Kiro Did It: Build a Simple Portfolio Website with Kiro IDE | From Prompt to HTML Prototype Islands of Commerce: What Marketplace Founders Can Learn from 60 Years of Island Biogeography React Pointer Hooks: Hover, Long-Press, Double-Click, Scratch, and Click-Outside Without the Bugs Engineering decisions for my video call tool VBScript Still Lives: How a Custom Go VM Brought Classic ASP to Linux and Mac What Happens When You Teach Old Scripting Languages New Runtime Tricks? I Tested 6 AI Coding Assistants for a Month. Here's What Actually Works. Extendscript Still Has Life Afriex Webhook Integration Guide: Signature Verification, Event Handling, and Production Best Practices The Blind Alleys of Veltrix Configuration How an ESP32 Turned a LEGO WALL-E Into a Real Working Robot The Flawed Promise of Real-Time Event Handling SSH Login Taking Forever? Check Your DNS Settings Found 897 Fake Followers on DEV.to. Here's How I Proved It. Retry logic, Kafka consumer lag, and the hidden failure pattern that Kubernetes won’t catch WebMCP Might Be the Most Important Announcement at Google I/O 2026 Build a Secure API with Rails 8 - Part-3: Auth Controllers I A/B tested 4 LLMs on the same 500 queries. The results surprised me. Google I/O 2026’s Smartest Developer Release Wasn’t a Model, It Was the Runtime - Managed Agents in Gemini API OSS Monthly Recap: What My Daily Commit Challenge Taught Me About Open Source “Culture” GemmaNotes Cognitive Debt: AI Is Building Your Systems. Do You Actually Understand Them? GeekNews Frontend Weekly Deep Dive - 2026-05-25 I Built a Universal Silicon Loader That Runs on Any SOC (No Bootrom Exploit) Docker容器化部署Node.js应用最佳实践 I Put a Neural Network in a Thermometer — Then It Got Out of Hand Building MGZon: Developer Portfolio + AI Bot + Social Network (9 min demo) Bearing Life (L10): What the Catalog Number Really Tells You Longhorn Volume Health: The Gap Between 'Healthy' and Actually Working
BoxAgnts Introduction (1) — Out of the Box
Guyoung Stud · 2026-05-25 · via DEV Community

In an era where AI tools are everywhere, a harsh reality persists: most developer tools die at the installation step. Complex dependencies, tedious configurations, incomprehensible error messages — every barrier drives away potential users.

BoxAgnts' design philosophy was clear from day one: make the path from download to usage as short as possible. This is the core problem that the outermost layer of the three-tier architecture — the "out-of-the-box experience" — aims to solve.


What Does True "Out of the Box" Mean?

AI tools on the market today can be broadly categorized into two types:

Type Representative Products Experience
Cloud Services ChatGPT, Claude.ai Sign up and go, but data is not local
Local Tools LangChain, AutoGPT Data is secure, but configuration hell

BoxAgnts attempts to take a third path: the security of local execution + the convenience of a cloud service.

Its "out-of-the-box" experience is reflected in four dimensions:

  1. Zero-config startup: Download the executable, type boxagnts in the terminal, and the service starts
  2. Web-based visual interface: Built-in Dashboard, all functionality managed through the browser
  3. Pre-installed tools and skills: File operations, Shell execution, Web scraping, Code review — available right out of the box
  4. Smart defaults: Every parameter has a reasonable default; it works well even without configuration

CLI Entry: Simple yet Powerful

BoxAgnts' entry point is a single executable compiled in Rust. It provides a clean and intuitive command-line interface built on the clap framework:

# Simplest startup — no parameters needed
boxagnts

# Custom workspace (recommended: isolate different projects)
boxagnts --workspace-dir ~/my-ai-workspace

# Custom port + remote access
boxagnts --host 0.0.0.0 --port 30002 --admin-user admin --admin-pass mypass

Enter fullscreen mode Exit fullscreen mode

Only 6 command-line parameters, all with reasonable defaults:

Parameter Purpose Default Design Intent
--port Web service port 30001 Avoids common ports, reduces conflicts
--host Bind address 127.0.0.1 Default local-only access, security first
--workspace-dir Workspace directory Current directory Supports multi-project isolation
--app-dir Application resource directory Same directory as executable Portable deployment
--admin-user Admin username None Required for remote access
--admin-pass Admin password None Required for remote access

No nightmare of YAML configuration files, no maze of environment variables. This design embodies an important product philosophy: users should not have to learn a configuration syntax just to get started.

Workspace Design Philosophy

BoxAgnts supports multiple workspaces — each workspace has its own configuration files, conversation history, and data directories. The official documentation explicitly recommends "do not run in the default directory; instead, specify a workspace directory." This means you can create independent workspaces for different projects without interference. Each workspace's data is persisted via SQLite and will not be lost after a restart.


Dashboard: Your AI Control Center

After starting the service, visit http://127.0.0.1:30001/dashboard in your browser, and a complete AI management platform appears before you.

Full Page Matrix

The Dashboard includes 10 functional pages, covering the core management needs of an AI Agent platform:

Page Function Technical Highlight
ChatPage AI chat interface Streaming responses, Markdown rendering, code highlighting, session management
AgentsPage Custom AI Agent management Model selection, system prompt, temperature parameter
ToolsPage Tool list and management 16+ tool overview, parameter descriptions
SkillsPage Skill management 5 pre-installed skills, supports custom extensions
CronsPage Scheduled task management Standard Cron expressions, status tracking, execution logs
SitesPage Website hosting Static site deployment, file serving
FilePage File browser Workspace directory browsing, file content viewing
SettingsPage Global settings Permission mode, theme, workspace path
SettingsModelPage Models and API Keys 20+ providers, multi-model configuration
SettingsAgentsMdPage AGENTS.md editing Customize Agent behavior descriptions

Frontend Tech Stack Analysis

The BoxAgnts Dashboard is built with Vue 3 + TypeScript + Vuetify 3, one of the most mature Vue enterprise-level tech stacks currently available:

Vue 3 (Composition API)     → Reactive UI framework
Pinia                        → State management
Vue Router                   → Route management
Vuetify 3                    → Material Design component library
CodeMirror 6                 → Code editor (Markdown/JSON syntax highlighting)
marked + DOMPurify           → Markdown rendering + XSS protection
@vueuse/core                 → Composable utility functions

Enter fullscreen mode Exit fullscreen mode

Elegant Design of Composables

The frontend encapsulates core interaction logic through 4 composables:

Composable Responsibility
useChatSession Session lifecycle management: load history, switch sessions, model selection, cancel execution
useChatMessages Message state management: message list, streaming append, history display
useChatScroll Smart scrolling: auto-follow new messages, detect manual scroll-back by user
useMarkdownRender Markdown rendering pipeline: marked parsing + DOMPurify sanitization + syntax highlighting

Take useChatSession as an example — it cleverly handles race conditions during session switching:

watch(() => sessionStore.currentSessionId, (newId) => {
  if (newId === sessionId.value) return      // Prevent duplicate loading
  cleanupActiveStream()                       // Clean up old WebSocket connection
  uiState.isRunning = false                   // Reset running state
  messages.value = []                         // Clear message list
  if (newId) {
    sessionId.value = newId
    loadAndSetHistory(newId)                  // Load history asynchronously
  }
}, { immediate: true })

Enter fullscreen mode Exit fullscreen mode

Two Key Interaction Details

1. End-to-End Streaming Response Pipeline

When a user sends a message, the frontend establishes a long connection with the server via WebSocket. Every token produced by the server-side Agent query loop is pushed to the WebSocket layer through an mpsc channel and then rendered in real-time in the chat interface. This pipeline design ensures a "what you see is what you get" real-time experience.

2. Deep Integration of the Code Editor

The SettingsAgentsMdPage integrates CodeMirror 6, supporting syntax highlighting for both Markdown and JSON. AGENTS.md is one of BoxAgnts' core configuration files — you can define the Agent's behavior guidelines, project conventions, and interaction style here. This editor uses the @codemirror/theme-one-dark dark theme, consistent with Vuetify's overall visual style.


REST API Gateway: The Hidden Backbone

Behind the Dashboard is a complete REST API system. All endpoints are defined in gateway/src/api/, built with the Axum framework:

POST   /api/chat/execute       → Send message, get streaming response via WebSocket
GET    /api/chat/sessions      → Get all session list
GET    /api/chat/session/:id   → Load specified session's message history
DELETE /api/chat/session/:id   → Delete session and its messages
PUT    /api/chat/session/:id   → Update session title
DELETE /api/chat/messages/:id  → Delete specified message in a session
POST   /api/file/read          → Read file content
POST   /api/file/write         → Write file
POST   /api/file/edit          → Edit file (precise string replacement)
POST   /api/tool/list          → List all available tools
POST   /api/skill/list         → List all available skills
POST   /api/cron/*             → Scheduled task CRUD
POST   /api/site/*             → Site management CRUD
POST   /api/config/*           → Configuration management
POST   /api/provider/*         → AI provider management

Enter fullscreen mode Exit fullscreen mode

This API uses a unified JSON response format:

{
  "success": true,
  "data": { ... },
  "error": null
}

Enter fullscreen mode Exit fullscreen mode

This means that beyond the built-in Dashboard, you can fully use the API to build your own client — desktop apps (Tauri), mobile apps (Flutter/React Native), CLI tools, or even another AI Agent.

Site Hosting: More Than Just a Management Backend

BoxAgnts also includes a built-in site hosting feature. Under the /sites/{site}/{*path} route, you can deploy static websites. Even more interestingly, the AI Agent can generate web content for you and then deploy and access it with one click through the Site module — the Dashboard itself and the site system share the same HTTP server, but you can also deploy completely independent sites.

Site navigation is dynamically fetched via the get_site_nav_items API, meaning you can add or remove sites at any time, and the navigation bar will automatically update.


Security Defense: Layered Protection

BoxAgnts embeds security considerations right at the entry point:

// server/src/main.rs
fn is_local_host(host: &str) -> bool {
    matches!(host, "127.0.0.1" | "localhost" | "::1")
}

if !is_local_host(&args.host) && (args.admin_user.is_none() || args.admin_pass.is_none()) {
    eprintln!("❌ When host is not local, --admin-user and --admin-pass are required.");
    std::process::exit(1);
}

Enter fullscreen mode Exit fullscreen mode

The logic is crystal clear: if accessing locally (127.0.0.1 / localhost / ::1), no authentication is required; once exposed to the network, username and password are mandatory.

This reflects a pragmatic engineering judgment:

  • For local access, the user has already passed the OS identity verification; an additional password layer is redundant
  • For remote access, the network is untrusted and authentication must be enforced — denying service is better than risking exposure
  • This "scenario-based layered protection" approach runs through every layer of BoxAgnts' design

The outer layer's CORS policy is also noteworthy — using CorsLayer::permissive(), allowing cross-origin requests from any source. The reason for such leniency:

  1. Default binding to 127.0.0.1, immune to external network attacks
  2. Dashboard and API are same-origin deployed, no complex CORS strategy needed
  3. Mandatory authentication serves as a backstop for remote access

Pre-installed Resources: Capabilities Right Out of the Box

BoxAgnts' pre-installed extension resources fall into three categories, all located under the app/extensions/ directory:

WASM Tool Components (7)

tools/
├── file-read-component.wasm      # File reading
├── file-write-component.wasm     # File writing
├── file-edit-component.wasm      # File editing (precise string replacement)
├── file-glob-component.wasm      # File glob matching
├── web-fetch-component.wasm      # Web content fetching
├── bash-component.wasm           # Shell command execution
└── boxedjs-execute-component.wasm # JavaScript code execution

Enter fullscreen mode Exit fullscreen mode

Pre-installed Skills (5)

skills/
├── code-review/SKILL.md                # Code review expert
├── css-refactor-advisor/SKILL.md       # CSS refactoring advisor
├── current-weather/SKILL.md            # Weather query
├── weather-forecast/SKILL.md           # Weather forecast
└── front-component-generator/SKILL.md  # Frontend component generator

Enter fullscreen mode Exit fullscreen mode

Service Components

services/
└── boxed_static_server_component.wasm  # Static file server

Enter fullscreen mode Exit fullscreen mode

This means after downloading and extracting, without installing anything extra, the user already has the full suite of capabilities: file operations, Shell execution, Web scraping, code review, weather queries, and more.


AGENTS.md: Define Your AI Assistant

BoxAgnts introduces the AGENTS.md file — the "AI constitution" of the project. Similar to .gitignore for Git, AGENTS.md defines the Agent's behavioral guidelines for the current project.

You can edit this file in SettingsAgentsMdPage, using Markdown format to describe:

  • Project background and tech stack
  • Coding standards the Agent should follow
  • Disallowed operations and restrictions
  • Preferred tools and skill combinations
  • Interaction style (concise or detailed)

The content of this file is injected into the system prompt, ensuring the Agent follows your defined rules in every conversation. This is a "configuration as constraint" design — no code changes needed, just write a paragraph of Markdown.


Summary

The outer layer design answers BoxAgnts' first core question: how to let users get started effortlessly?

The answer is the synergy of six dimensions:

  • Minimal startup: 6 parameters, defaults covering most scenarios, single executable
  • Full-featured Web UI: 10 pages, Vue 3 + Vuetify 3 modern tech stack
  • Real-time streaming experience: WebSocket + mpsc channel, end-to-end millisecond-level push
  • Complete REST API: Supports secondary development and custom clients
  • Scenario-based security: Local authentication-free, remote strong authentication, flexible CORS
  • Pre-installed resources: 7 tool components + 5 skills + AGENTS.md configuration

Related Resources