NekroAgent
A cross-platform agent framework for multi-user chats, with sandboxed code execution, plugins and a WebUI.
- Source repo
- KroMiose/nekro-agent
- Stars
- ★ 1.2k
- Last updated
- 1mo ago
- FARS reviewed
- Dec 04, 2026
- License
- NOASSERTION
- Primary language
- Python
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Community managers running a QQ group bot that must follow a persona and hold context across multi-user conversations
- Not a fit if
- Individuals who want a turnkey app without configuring Docker or chat adapters
- Production teams that cannot tolerate preview-only features
- Teams that want a fully managed service instead of running their own server
- Website
- nekro.ai ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-10-09
- Source review
- 53/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
NekroAgent (nekro-agent) is a cross-platform agent framework aimed at multi-user interaction scenarios, written for Python 3.11+ and shipped as Docker / docker-compose deployments. Its core is organised around input and output streams: an adapter only has to implement collect_message to receive and forward_message to send, while channel management, plugin execution and sandbox calls are handled by the core engine's message dispatcher and shared services. Shipped adapters cover OneBot v11 (QQ), Discord, Telegram, Minecraft, Bilibili Live, WeChat (via WeChatPad), Email (SMTP/IMAP) and SSE+SDK. The engine builds prompts that steer the model into generating code, runs that code in a containerised sandbox, and talks back to the real environment over RPC; plugins can hook key callbacks, inject prompts and register custom sandbox methods. A built-in WebUI handles adapter management, monitoring and behaviour policy, with SSE real-time state push, scheduled tasks and hot config reload, while --docs exposes Swagger and ReDoc on port 8021. The main/preview line adds preview features: a workspace/Claude Code sandbox, the Memory System, structured MCP registry management and a command centre. The project is distributed under a custom license derived from Apache License 2.0.
An adapter receives a platform message and pushes it into the input stream via collect_message; a message dispatcher routes it to shared core services (channels, plugins, sandbox). The engine then assembles the prompt, lets the LLM produce code, executes it in a containerised sandbox, exchanges with the live environment over RPC, and returns the result through forward_message to the originating adapter. Around that loop it handles personas, scheduled self-triggering plugins, hot config reload and multimodal resources such as images and files. The WebUI exposes adapter management, run monitoring and fine-grained behaviour policies, and pushes system events and agent activity cards over SSE. With --docs enabled, Swagger UI (http://localhost:8021/api/docs) and ReDoc (http://localhost:8021/api/redoc) document the HTTP API; errors come back as structured JSON honouring Accept-Language.
- Community managers running a QQ group bot that must follow a persona and hold context across multi-user conversations
- Teams that need the bot to actually execute code, convert documents or process images and files inside a chat
- Discord or Telegram community owners adding a plugin-extensible assistant with memory
- Minecraft server owners or Bilibili Live streamers wanting an interactive AI character in-game or on stream
- Developers wiring email auto-replies or their own backend via SSE+SDK into the same engine
- Developers planning custom adapters, plugins or sandbox methods on top of the framework
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
docker pull kromiose/nekro-agent:latestdocker pull ghcr.io/kromiose/nekro-agent:latestdocker pull ghcr.io/kromiose/nekro-agent:preview
- Install notes cover
- Windows · macOS · Linux · Docker
How do you install or deploy this agent?
You need a networked Linux, Windows or macOS host with Docker, plus an API key for whichever LLM you use. The README's recommended path is a one-command full deployment:
sudo -E bash -c "$(curl -fsSL https://raw.githubusercontent.com/KroMiose/nekro-agent/main/docker/install.sh)" - --with-napcatIf GitHub is hard to reach, use the Cloudflare edge proxy mirror:
sudo -E bash -c "$(curl -fsSL https://ep.nekro.ai/e/KroMiose/nekro-agent/main/docker/install.sh)" - --with-napcatDropping --with-napcat starts the script interactively and asks whether to install Napcat, the OneBot implementation used for QQ. Images can also be pulled directly — latest for tagged stable releases, preview for builds from every main-branch update:
docker pull kromiose/nekro-agent:latest
docker pull ghcr.io/kromiose/nekro-agent:latest
docker pull ghcr.io/kromiose/nekro-agent:previewDedicated quick-start guides exist for Linux, Windows and macOS, and troubleshooting is covered in the FAQ page.
How do you use this agent?
Once deployed, open the bundled WebUI to configure models, personas, adapters and channel policies and to watch live agent activity. To work against the HTTP API, start with --docs and open:
Swagger UI: http://localhost:8021/api/docs
ReDoc: http://localhost:8021/api/redocResponses use standard HTTP status codes; errors look like:
{
"error": "ValidationError",
"message": "参数校验失败",
"detail": "field: error detail",
"data": null
}QQ requires the OneBot v11 adapter paired with Napcat; WeChat goes through WeChatPad; Email uses SMTP/IMAP settings; other platforms are enabled from the adapter panel. Plugins, scheduled tasks, personas and model presets are managed there too, with hot reload. Workspace/Claude Code sandbox, Memory System, MCP card management and the command centre are only available on the main/preview track.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Adapters only implement message input/output; channels, plugins and sandboxing live in the core engine, so adding a platform is a bounded task
- Eight documented integrations (OneBot v11, Discord, Telegram, Minecraft, Bilibili Live, WeChat, Email, SSE+SDK) go beyond plain chat into live streaming, game servers and mail
- Model-generated code runs in a containerised sandbox and reaches the real environment over RPC, giving task-level extensibility without host-side scripting
- Plugin system offers node callbacks, prompt injection and custom sandbox methods, backed by a cloud plugin and persona marketplace
- WebUI plus SSE push, scheduled tasks and hot config reload mean operational tweaks do not require hand-editing config files
- Preview track already implements Memory System (entities, relations, paragraphs, vector retrieval), structured MCP registries and a command centre
- GitHub reports the license as NOASSERTION: it is a modified Apache License 2.0, so commercial use and redistribution need a careful read first
- The most advertised additions — workspace/Claude Code sandbox, long-term memory, MCP management, command system — are labelled preview and may not be in the stable latest image
- You must supply LLM API keys and deploy platform-side components yourself (Napcat for QQ, WeChatPad for WeChat), so it is not chat-ready on install alone
- The plugin development guide is marked as under construction, raising the effort for deep customisation
- No published model compatibility matrix, performance benchmarks or sandbox threat model, making safety and quality hard to quantify before adoption
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| NekroAgent This agent | 53 · Major gaps | Self-hosted serviceFree + model costs | ★ 1.2k | 1mo ago | Python | — |
| always-accompany | 65 · Some gaps | — | ★ 462 | 3mo ago | JavaScript | — |
| Deuz SDK | 76 · Good | Library / SDKFree + model costs | ★ 467 | 10d ago | TypeScript | OpenAI API · Claude API |
| Agent Graph | 53 · Major gaps | Self-hosted serviceFree + model costs | ★ 239 | 6d ago | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows a containerized sandbox, command permission tiers (ADVANCED/SUPER_USER), and cc_workspace two-axis grants with method-visibility tests. However, skills allow Bash/Write, network/filesystem/resource isolation details are not shown, there is no general user-confirmation flow, telemetry and sensitive-data handling are mostly license statements, dependencies have no lockfile or audit evidence, and external side effects have no rollback. Thus least_privilege=2, user_confirmation=1, data_flow_transparency=1, sensitive_data_handling=1, dependency_security=1, external_effects=1, rollback=0; source_attribution=2 because README credits Naturel GPT and contributors and preserves license attribution, but per-file provenance is absent.
README, pyproject, LICENSE, and SKILL versions are broadly consistent, and stable/preview labels are distinguished. Structured API errors, logging, and status messages exist with readable failure paths. But dependency ranges are broad and the packet has no lockfile/constraints, and failure messages do not cover every path. self_consistency=2, dependency_availability=1, failure_messages=2.
README covers multiple platforms, multi-user interaction, WebUI, deployment docs, and many scenarios, so audience_and_scenarios=3. Capability boundaries are shown through feature lists, preview labels, allowed-tools, and permission tiers, but explicit non-goals are absent, so 2. SKILL descriptions include trigger conditions but there is no full skill manifest, so 2. Docker and Linux/Windows/MacOS docs support environment fit, but local install detail is thin, so 2.
README is well structured with install scripts, Docker tags, FAQ, and example links. AGENTS.md/CLAUDE.md are contributor development guidance, not product Agent instructions. Naming and versioning exist but no deprecation policy is shown. Known limitations are limited to preview labels and license disclaimers. The license is custom and metadata is NOASSERTION. Changelog is only an external link. Maintenance responsibility lists contributors, community, and support email, but the publisher is unverified. information_architecture=2, install_notes=2, naming_stability=1, examples_and_faq=2, known_limitations=1, license=2, versioning_changelog=1, maintenance_responsibility=1.
Outputs are delivered through messages, WebUI, API, structured errors, and skills, giving moderate usability. The feature surface is broad but many similar frameworks exist, and marginal value has no benchmark. Cost reduction is asserted in README without cost or performance data. output_usability=2, marginal_value=2, cost_benefit=1.
README provides documentation, Release, and DeepWiki links, and some claims are corroborated by pyproject, workflows, and tests (plugin loading, permissions, cc grants). But performance, security, and cost claims lack in-packet evidence, and stable/preview versus marketing statements are not strictly separated. claim_traceability=1, cross_source_corroboration=2, fact_inference_separation=1.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- The custom license is based on Apache 2.0 but adds large-scale commercial authorization and attribution obligations; metadata is NOASSERTION, so legal review is needed before commercial distribution.
- The agent can execute code, automate browsers, run git/GitHub and Docker operations, and skills allow Bash/Write; no general user-confirmation or rollback mechanism for external side effects is shown.
- Dependency ranges are broad and the packet shows no lockfile, vulnerability scan, or SBOM; production users should pin and audit dependencies.
- Telemetry, cloud services, and memory features imply data flows, but only license-level statements are present; implementation-level data-flow and sensitive-data handling are not evidenced.
- Publisher identity is unverified; preview versus stable boundaries should be confirmed independently.
FAQ
Is the software itself paid, and do I pay for models on top?
I only care about QQ groups — how much setup is that?
How isolated is the code the model generates?
Can I run the preview features in production?
Can I embed NekroAgent in my own stack?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.