NagaAgent: three license files, two dependency lists, and a clone URL that points elsewhere
A simple yet powerful agent framework for personal assistants, designed to enable intelligent interaction, multi-agent collaboration, and seamless tool integration.
At a glance
- What is it?
- NagaAgent is a Python and Electron desktop assistant with a Live2D avatar, MCP skills, a Neo4j memory graph and a metered vendor gateway. Its own files disagree with its own instructions in several places worth checking before you install it.
- Who is it for?
- NagaAgent suits a user who wants a packaged desktop assistant with a real graph memory and is willing to configure it by hand, and it fits badly into a team that needs one dependency manifest and one license to answer for.
- Can I use it commercially?
- Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
- Is it still maintained?
- Yes. The repository last received commits 22 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- RTGS2017/NagaAgent1,545 ★ · +4
| Repository | 2026-09-11 | 2026-11-22 |
|---|---|---|
| RTGS2017/NagaAgent | 1.5k | 1.5k |
4 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The install steps clone a different GitHub account than the one that hosts the repository
The quick start block opens with a clone of https://github.com/Xxiii8322766509/NagaAgent.git. The repository the page belongs to is RTGS2017/NagaAgent. Every badge above that block, the sponsor link, the star link and the issue link, points at the same other account, the homepage field is a bilibili user space, and commercial contact is an email address plus a bilibili handle. Nothing in the page says how the two accounts relate, which one carries the tags, or which one a fork should track.
git clone https://github.com/Xxiii8322766509/NagaAgent.git
cd NagaAgent
#前端安装
cd frontend
npm install
cd..
#后端安装
# 方式一:uv(推荐)
uv sync
# 方式二:手动
python -m venv .venv
source .venv/bin/activate # Windows: .\.venv\Scripts\activate
pip install -r requirements.txtTwo details in that block matter. The frontend step returns to the project root with `cd..` written without a space, and the page does not flag it. The version floor is narrow: Python 3.11, pinned as >=3.11, <3.12 in both the requirement list and the package manifest, so a machine on 3.12 or 3.13 is outside the supported range. uv is listed as optional and only described as a faster dependency install.
The manual install path skips the Anthropic SDK that the config format requires
The repository carries two dependency manifests and states they are synchronized. They are not. pyproject.toml lists anthropic>=0.42.0 among its dependencies; requirements.txt does not, though its own header comment claims it is kept in step with pyproject.toml and usable with either pip or uv.
That gap lands on a documented feature. The minimal config documents an api_format field, with openai as the shipped value and anthropic as the other supported option, and the changelog entry dated 2026-04-14 records the addition of Anthropic API format support along with five-tuple extractor compatibility with the Anthropic SDK. The quick start offers two install paths: uv sync, which resolves from pyproject.toml and does install the Anthropic SDK, and the manual venv route, which ends in pip install -r requirements.txt and does not. So the fallback path omits exactly the package the fallback feature needs.
The pin set is also uneven in age:
py2neo>=2021.2.3
neo4j>=5.0.0
chromadb>=0.5.0That driver line is a 2021 release with no upper bound, and the changelog entry dated 2026-04-12 records a fix for a py2neo Graph() timeout argument incompatibility and for Neo4j connection state being reported wrongly. Alongside them sit litellm, langchain-openai, langchain-community, tiktoken, numpy, pandas, pillow, edge-tts and sounddevice, so a plain pip install pulls a broad set of transitive dependencies.
The wheel builds two package directories the root listing does not contain
The packaging configuration names the modules a wheel should carry: apiserver, agentserver, summer_memory, thinking, ui and voice. Four of those are visible directories at the repository root, alongside system, skills, hooks, characters, mcpserver, vendor, scripts, tests and docs. There is no thinking directory and no ui directory at the root, and the visible user interface is the frontend package. A wheel built from this configuration therefore ships four of the six named modules, and whether that is deliberate or stale is not stated.
The consolidation story is not clean either. The changelog entry dated 2026-02-10 records removing the redundant Agent and MCP layer and keeping only OpenClaw; the entry dated 2026-02-09 records OpenClaw being renamed AgentServer. Both agentserver and mcpserver are still present in the root listing, alongside vendor and openclaw.LICENSE.
Smaller signals point the same way. package-lock.json sits at the root while the install instructions run npm inside frontend. clear.py and proactive_vision_config.json sit beside SOUL.md, .codex and a characters directory, which is the persona layer that the changelog describes as name, persona, engine, soul document and per-character MCP and Skill entries. The project is a wide surface, and the packaging metadata has not fully caught up with it.
Three license files sit at the root, and the dual license notice only explains two
The root holds LICENSE, LICENSE-CLOSED-SOURCE and openclaw.LICENSE. The metadata license for the repository is AGPL-3.0. The page describes a dual arrangement in one line: open source use runs under AGPL-3.0, closed source use runs under the proprietary license and requires written authorization, with commercial contact offered at an email address and a bilibili account.
That notice covers the first two files. The third is not mentioned. openclaw.LICENSE sits next to a vendor directory, and two changelog entries describe that component being compiled into the build: one dated 2026-03-06 records embedding agent-browser at packaging time, and one dated 2026-03-09 records deep integration of OpenClaw vendor source with a unified configuration. So a third set of terms governs code that is compiled in and shipped, and the page does not say how those terms compose with the AGPL obligations of the rest, or whether an AGPL-only redistribution of a build that includes the vendored component is covered.
For a user this only matters if the project moves from a personal machine to a team or a product. At that point the question is not which of the two advertised licenses applies, but which three files have to travel with a build, and nothing in the visible page answers that.
The shipped config sets use_gateway to true, so prompts route through a metered gateway
The minimal configuration example carries use_gateway set to true, alongside provider deepseek, base_url pointing at api.deepseek.com, model deepseek-v3.2 and api_format openai. The page states that logging in to Naga selects the NagaModel gateway by default, and that using a local key requires either turning off the gateway switch in settings or setting use_gateway to false.
Credits are the reason that switch exists. The changelog entry dated 2026-05-10 records connecting straight to the user's own API when not logged in or when the gateway is off, specifically to avoid spending credits on NagaBusiness by mistake. The feature list and the 2026-02-26 entry add a quota page, check-in, affinity and credit balances to the same system.
The vendor boundary is wider than the model call. The entry dated 2026-03-01 records a search proxy that routes to NagaBusiness when logged in and to Brave or OpenClaw when not, and 2026-03-03 records web_search being wired directly into that NagaBusiness search proxy. So the same account switch decides whether conversation and search both pass through the vendor. The page gives no price list, no quota table and no expiry rule for credits; those live in the application UI rather than in the repository.
Config resolution prefers the project root, and the settings page writes back to whichever file won
The changelog entry dated 2026-07-08 changes the priority order: the project root config.json is read first, and the user data directory is only consulted when that file does not exist. The same entry aligns the settings page save target with the documented behaviour, and the page states that saving from settings writes back to whichever configuration file is currently in effect. The fallback paths are per platform, ~/.naga/config.json on Linux and macOS and %APPDATA%/NagaAgent/config.json on Windows, with persistent storage moved into the ~/.naga user directory on 2026-02-28.
The consequence is that a checkout which contains a root config.json shadows the per-user file on every launch, and an edit made in the settings window rewrites the file in the working directory rather than the one the user has been reading. Switching between the two locations means copying the file by hand.
The next paragraph shows why the file holds a value that cannot be shipped. The example file sets api_key to the literal string your-api-key. The page then lists the placeholder strings that must be replaced before use, naming your-api-key and your-api-key-here, and stops partway through a third value. The changelog entry dated 2026-07-03 explains the stakes: placeholder keys are refused for proxy requests on local models, and a placeholder from the frontend used to overwrite a real saved key.
Cloud memory outranks the optional local Neo4j, and the fallback branch was removed
Neo4j is listed as an optional environment requirement for local knowledge graph memory, sitting behind the mandatory Python floor and the optional uv installer. The memory itself is the three-dimensional cloud that the feature list says is built automatically from conversation history and injected into later turns. Underneath it sit three separate dependencies: py2neo, neo4j and chromadb.
The changelog records the branch being narrowed. The entry dated 2026-03-14 states that when cloud memory is the preferred source there is no longer a fallback to the local Neo4j, and the same period adds remote cloud memory to the platform. One day later, on 2026-04-12, a fix lands for a py2neo Graph() timeout parameter incompatibility and for Neo4j connection state being misreported.
Read together, the graph memory is a two-source system in which one source is explicitly cut off from the other, and the driver for the surviving source is pinned to a 2021 release line with a recorded incompatibility and no version ceiling. Retrieval quality work is recorded on the same memory system, with the entry dated 2026-03-05 noting stronger recall for RAG. A team deciding to self-host the memory should treat the Neo4j path as the path with the documented gap, not the default.
Electron auto-update replaced an in-app patcher that carried its own four layer guard
The delivery story is a desktop build, and the changelog shows it changing shape twice. The entry dated 2026-03-04 records a hot patch system for the frontend and backend with four layers of security protection; the entry dated 2026-03-06 records Electron auto-update replacing that older patch system. The root still carries the packaging inputs for it: naga-backend.spec, build.py, build.md, setup_venv.bat and start.bat. The entry dated 2026-03-07 records Node.js and the uv runtime being distributed inside the package, so a user needs no system install of either.
Platform coverage follows from the entries rather than from a stated support matrix. The entry dated 2026-03-16 records macOS disk image signing and file system fixes. The newest tag, v5.1.5 on 2026-07-16, fixes a Windows defect where a transparent frameless main window disappeared when restored from a maximized state, worked around by recovering the window size from the current display work area. The same release unifies the tray, hotkeys and single instance wake-up. Linux appears only as a configuration path.
The release record is dense and recent: v5.1.4 on 2026-07-15 fixed text to speech playback ordering across the settings and chat pages and made update checks fail loudly when an official version cannot be confirmed, and v5.1.3 on 2026-07-08 is the configuration priority change described earlier. The last push to the repository is dated 2026-08-11, which is later than the newest tag by about three weeks.
Editorial conclusion
NagaAgent suits a user who wants a packaged desktop assistant with a real graph memory and is willing to configure it by hand, and it fits badly into a team that needs one dependency manifest and one license to answer for. Before installing, check four things against your own plans: which GitHub account you consider the code of record, because the quick start clones a different one; whether you will use the manual pip path, which does not install the Anthropic SDK the config format advertises; whether a metered gateway or your own key is the default you want, since the shipped config sets use_gateway to true; and what the third license file covers, since the dual license notice only names two. Version pinning is narrow at a single Python minor release, and the newest tag is three weeks older than the last push.
Frequently asked questions
What is NagaAgent built from?
NagaAgent is a Python and Electron desktop assistant with a Live2D avatar, speech in and out, MCP skills and a Neo4j knowledge graph memory. The Python side runs FastAPI with uvicorn, the interface is a separate frontend package, and pyproject.toml pins Python to >=3.11,<3.12.
What license is NagaAgent released under?
Two of them. Open source use runs under AGPL-3.0 in LICENSE, and closed source use runs under LICENSE-CLOSED-SOURCE with written authorization required. A third file, openclaw.LICENSE, sits in the root next to a vendor directory and is not described on the page.
Does NagaAgent need my own API key, and what does the NagaModel gateway do?
Both routes exist. The minimal config ships use_gateway set to true, so a logged-in session goes through the NagaModel gateway and spends credits, while setting use_gateway to false or turning the gateway switch off in settings routes calls to your own key. Any OpenAI compatible endpoint is supported, and Ollama is named among them.
What has to be installed before NagaAgent runs?
Python 3.11 within the range >=3.11,<3.12, optionally uv for a faster dependency install and optionally Neo4j for local knowledge graph memory. The documented path is a git clone, npm install inside frontend, then either uv sync or a virtual environment with pip install -r requirements.txt.
Why does the install command point at another GitHub account?
The quick start block clones https://github.com/Xxiii8322766509/NagaAgent.git, and every badge link on the page targets that same account, while the repository itself is RTGS2017/NagaAgent. The homepage is a bilibili user space and the page does not explain how the two accounts relate or which one carries the releases.
Does pip install -r requirements.txt give you Anthropic support?
Not from that file alone. anthropic>=0.42.0 is listed in pyproject.toml and absent from requirements.txt, so the uv sync path installs it and the manual pip path does not, even though the config documents setting api_format to anthropic for the native format.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/rtgs2017-nagaagent)Star history chart for your README
[](https://hysenlabs.com/projects/rtgs2017-nagaagent)Was this useful?