[Open-source] A cross-platform Agent framework for multi-person interactive scenarios, including a visual control panel
![[Open-source] A cross-platform Agent framework for multi-person interactive scenarios, including a visual control panel](https://yy123.ink/api/img/1796367777707-f3lweh.webp)
1. Project Overview
Nekro Agent - Smarter, More Elegant Agent Execution AI
Highly scalable | High degree of freedom | Extremely simplified deployment AI chat & agent execution Bot!
NekroAgent is a cross-platform Agent framework targeting multi-person interactive scenarios, integrating Claude Code sandbox execution, workspace arrangement, long-term memory, structured MCP management, and visualized control panels, with high extensibility, multi-modal interaction, real-time state push, and automated execution capabilities. The project supports QQ, Discord, Telegram, Minecraft, BilibiliLive, WeChat, Email, SSE (SDK), and other multiple platform access, and is applied to building high-intelligent chat robots, and can be extended to a general Agent system with code execution, tool calls, plugin collaborations, and complex task processing capabilities.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
4. Feature Overview
Core Capabilities
NekroAgent achieves strong and flexible prompt word construction systems to guide AI to generate accurate code and execute it in the sandbox, interacting with the real environment through RPC communication. The main features include:
Core execution and extensibility capabilities:
- Code generation and secure sandbox:
Guide AI to generate code and execute it in a secure containerized environment, achieving complex tasks and method-level extensibility capabilities! - Highly extensible plugin system:
Provide multiple key node callbacks, prompt word injection, and custom sandbox methods, from small tools to large systems, integrating elegant super-intelligent central solutions! - Native multi-person interactive scenarios:
Efficiently understand group chat scene demands, maintaining interaction capabilities in complex multi-person dialogues! - Extreme cost reduction and efficiency:
Reject ineffective prompt words and abused intelligent bodies, focusing on solving problem logic fundamentals. - Automatic correction and feedback:
Deeply cultivate prompt word correction and feedback mechanisms, breaking through the cycle of being stuck in errors and repetition.
Connection and interaction:
- Multi-platform adapter architecture:
Natively support OneBot v11 (QQ), Discord, Telegram, Minecraft, BilibiliLive, WeChat, Email, and SSE+SDK, and provide a unified development interface. - Native multi-modal visual understanding:
Can handle images, files, and other resources, and interact with users in multiple modalities. - Event-driven asynchronous architecture:
Follow the asynchronous priority efficient response mechanism.
Ecosystem and usability:
- Cloud resource sharing:
Including plugins, personas, and other strong and friendly community-driven capabilities. - Functionally complete visual interface:
Provide powerful application management and monitoring panels.
Preview version new features:
The following content is the focus of the current main/preview version's new capabilities:
- New workspace/Claude Code sandbox system (preview version):
Unified management of prompt words, skills, model presets, files, extensions, MCP, sandbox, and running states, targeting a more complete Agent workflow. - Memory System long-term memory (preview version):
Introduce entity, relationship, paragraph, episode, vector retrieval and reconstruction maintenance mechanisms, providing Agents with sustainable long-term contextual capabilities. - Structured MCP service management (preview version):
Add registry and card-style management interfaces, making external tool and MCP service access clearer and more controllable. - Command system reconstruction (preview version):
Command registration, parsing, grouping, completion, output viewing, and front-end management capabilities complete a round of systemized upgrades. - Timer and running governance enhancement (preview version):
Add timer management, stop reply flow, channel quotas, and plugin activation strategies, improving automation and operability. - WebUI and real-time status experience upgrade (preview version):
Chat message styles, SSE real-time push, system events, Agent activity cards, workspace navigation, and multi-language support are all significantly enhanced.
Use Cases
Nekro Agent provides diverse application scenarios, from emotional accompaniment to complex task processing, meeting various needs:
- Emotional interaction and accompaniment:
Through flexible persona systems and advanced large language models, provide natural and smooth emotional interaction experiences, supporting multiple role customization and extensible memory capabilities. - Data and file processing:
Efficiently handle various images, documents, and data, without requiring additional software support, and easily complete format conversion and content extraction. - Creative and development assistance:
From web application generation to data visualization, make creative implementation simple and efficient. - Automation and integration:
Support event subscription push and multiple AI collaborations, achieving intelligent automation of complex tasks. - Learning and life assistant:
From learning guidance to content creation, and to smart home control, comprehensively improve life quality.
Function List
-
✅ Multi-platform adaptation✅ OneBot v11 (QQ)✅ Discord✅ Telegram✅ Minecraft✅ Bilibili Live (Bilibili Live)✅ WeChat (WeChat, via WeChatPad)✅ Email (Email, SMTP/IMAP)✅ SSE+SDK (Server-Sent Events + SDK)✅ ... More adapters are being developed -
✅ Intelligent Chat:Group chat/private chat scenarios-based contextual intelligent chat -
✅ Customized Persona:Supports customized persona and cloud-based persona market -
✅ Sandbox Execution:Secure containerized code execution environment -
✅ Multi-modal interaction:Supports sending, receiving, and processing image and file resources -
✅ Plugin Ecosystem:Highly extensible plugin system and cloud-based plugin market -
✅ One-click deployment:Based on docker-compose, one-key container orchestration deployment -
✅ Hot Reload:Configuration hot update and command control support -
✅ Scheduled Tasks:Supports scheduled self-triggered plugins and holiday blessings -
✅ WebUI:Feature-rich visual application management control panel -
✅ Event Support:Can respond to multiple platform event notifications and understand their context -
✅ External Thought Chain (CoT) capability support -
✅ Perfect third-party plugin capability and AI-generated plugin - Workspace / Claude Code Sandbox (Preview)
Unified management of sandbox tasks, prompt words, skills, model presets, files, and extensions - Memory System (Preview)
:Long-term memory, vector search, memory maintenance, and visual management panel - Structured MCP Management (Preview)
MCP service registration, shared configuration, and visual card management - Command Management Center (Preview)
New command system, command output page, and visual management interface
5. Tech Stack
Architecture Overview
Nekro Agent's core is designed forInput/Output StreamDesigned. Adapters (Adapter) serve as a bridge connecting external platforms, requiring only the implementation of receiving specific platform messages (input stream) and sending (output stream). All complex business logic, such as channel management, plugin execution, sandbox calls, etc., are automatically managed and handled by Nekro Agent's core engine. This design ensures extremely high extensibility and maintainability, allowing developers to focus on implementing adapter functionality without worrying about the complex implementation of the core.
Quick Deployment
Provided with multiple deployment methods, please refer to the Quick Start Document for detailed tutorials:
-
Linux Deployment Tutorial -
Windows Deployment Tutorial -
MacOS Deployment Tutorial
One-key deployment script (recommended)
From GitHub (recommended)
sudo -E bash -c "$(curl -fsSL https://raw.githubusercontent.com/KroMiose/nekro-agent/main/docker/install.sh)" - --with-napcat
If you encounter network issues when downloading the script from GitHub, you can use Nekro Endpoint's edge proxy access address:
From Nekro Endpoint (Cloudflare mirror)
sudo -E bash -c "$(curl -fsSL https://ep.nekro.ai/e/KroMiose/nekro-agent/main/docker/install.sh)" - --with-napcat
Tip:
The --with-napcat parameter in the above commands will start the full-automatic standard deployment. If this parameter is not added, the script will start in interactive mode, and you will be prompted to select Y to install Napcat.
Docker Image Explanation
Nekro Agent provides two Docker image tags, simultaneously published toDocker HubandGitHub Container Registry (GHCR):
- latest
Stable version, based on tag release, suitable for production environment - preview
Preview version, automatically built every time the main branch is updated, containing the latest features, suitable for testing and development
Pull from Docker Hub (recommended)
# Use stable version (recommended)docker pull kromiose/nekro-agent:latest# Use preview version (experience the latest features)docker pull kromiose/nekro-agent:preview
Pull from GitHub Container Registry
# Use stable versiondocker pull ghcr.io/kromiose/nekro-agent:latest# Use preview versiondocker pull ghcr.io/kromiose/nekro-agent:preview
6. Source Code Repository
Open-source project address:
https://github.com/KroMiose/nekro-agent
Next steps