-
Notifications
You must be signed in to change notification settings - Fork 2
Migration Guide
Version: 1.1.x to 1.2.0 Last Updated: 2026-01-30
- Overview
- What's Changing
- What's NOT Changing
- Step-by-Step Migration
- Command Reference
- Deprecation Timeline
- FAQ
- Troubleshooting
- Getting Help
Starting with v1.2.0, the project is rebranding from "doc-serve" to "agent-brain" to align with the PyPI package names (agent-brain-rag, agent-brain-cli).
Why the change? PyPI rejected doc-serve as too similar to an existing package. We chose agent-brain for uniqueness and are now aligning all component names for consistency.
Impact on existing users: Minimal. The old command names continue to work in v1.2.x and v1.3.x with deprecation warnings. You have until v2.0.0 to update your scripts and workflows.
| Component | Old Name | New Name | Status in v1.2.0 |
|---|---|---|---|
| CLI command | agent-brain |
agent-brain |
Deprecated (works until v2.0) |
| Server command | doc-serve |
agent-brain-serve |
Deprecated (works until v2.0) |
| Skill name | doc-serve |
using-agent-brain |
Renamed |
| Repository | doc-serve-skill | agent-brain | Renamed |
CLI Tool:
# Old (deprecated)
agent-brain <command>
# New (recommended)
agent-brain <command>Server:
# Old (deprecated)
doc-serve
# New (recommended)
agent-brain-serveThe following remain unchanged to minimize disruption:
-
PyPI package names: Still
agent-brain-ragandagent-brain-cli -
Data directories: Still
.claude/doc-serve/(migration planned for future release) -
API endpoints: All REST endpoints unchanged (
/health,/query,/index, etc.) - Configuration files: All environment variables unchanged
- Indexed data: Your documents remain indexed and accessible
- Port numbers: Default port 8000 unchanged
- Internal module names: Python imports unchanged
Ensure you have the latest version:
pip install --upgrade agent-brain-rag agent-brain-cliOr if using pipx:
pipx upgrade agent-brain-cliTest that the new commands are available:
agent-brain --version
agent-brain-serve --versionReplace deprecated commands with new ones:
Before (deprecated):
agent-brain init
agent-brain start --daemon
agent-brain status
agent-brain query "search term"
agent-brain index ./docs
agent-brain stop
doc-serveAfter (recommended):
agent-brain init
agent-brain start --daemon
agent-brain status
agent-brain query "search term"
agent-brain index ./docs
agent-brain stop
agent-brain-serveIf you have automation scripts, shell aliases, or CI/CD pipelines using the old commands, update them:
Shell scripts:
#!/bin/bash
# Old
agent-brain query "search term" --mode hybrid
# New
agent-brain query "search term" --mode hybridAliases (in ~/.bashrc or ~/.zshrc):
# Old
alias docq='agent-brain query'
# New
alias docq='agent-brain query'CI/CD pipelines:
# Old
- run: agent-brain index ./docs
# New
- run: agent-brain index ./docsIf you reference the skill in your Claude Code configuration:
# Old
skills:
- doc-serve
# New
skills:
- using-agent-brainAll commands remain functionally identical. Only the base command name changes.
| Old Command | New Command | Description |
|---|---|---|
agent-brain init |
agent-brain init |
Initialize project |
agent-brain start |
agent-brain start |
Start server |
agent-brain stop |
agent-brain stop |
Stop server |
agent-brain list |
agent-brain list |
List instances |
agent-brain status |
agent-brain status |
Check status |
agent-brain query |
agent-brain query |
Search documents |
agent-brain index |
agent-brain index |
Index documents |
agent-brain reset |
agent-brain reset |
Clear index |
doc-serve |
agent-brain-serve |
Run server directly |
| Version | Old Commands | New Commands | Notes |
|---|---|---|---|
| v1.2.0 | Work with warning | Primary | Current release |
| v1.3.x | Work with warning | Primary | Continued support |
| v2.0.0 | Removed | Only option | Breaking change |
Key dates:
- v1.2.0 (Current): Deprecation warnings introduced
- v2.0.0 (Future): Old commands removed entirely
We recommend updating your scripts as soon as convenient to avoid issues when v2.0.0 is released.
No. Your indexed data persists in .claude/doc-serve/ and continues to work with both old and new commands. The data format is unchanged.
Not immediately. The old commands (agent-brain, doc-serve) continue to work in v1.2.x and v1.3.x with deprecation warnings. Update your scripts before v2.0.0.
PyPI rejected doc-serve as too similar to an existing package. We chose agent-brain for uniqueness and are now aligning all component names.
GitHub automatically redirects from the old URL to the new one. Your existing clones will continue to work.
Yes, but we recommend updating your commands instead. If you must suppress warnings temporarily:
# Python warning filter
PYTHONWARNINGS="ignore::DeprecationWarning" agent-brain status
# Or redirect stderr
agent-brain status 2>/dev/nullBoth commands work and execute the same underlying code. The old commands simply show a deprecation warning before running.
Not in v1.2.0. The .claude/doc-serve/ directory name is unchanged. A future release may introduce a migration to .claude/agent-brain/, but this will include automated migration tooling.
No. The internal Python module names (agent_brain_server, agent_brain_cli) are unchanged. Only the CLI entry points are being renamed.
This is expected behavior. The warning reminds you to update to the new command name. To resolve:
- Update your command from
agent-braintoagent-brain - Update any scripts or aliases using the old name
Ensure you have the latest version installed:
pip install --upgrade agent-brain-cliOr reinstall:
pip uninstall agent-brain-cli
pip install agent-brain-cli- Check if an old instance is still running:
agent-brain list - Stop any running instances:
agent-brain stop - Start fresh:
agent-brain start
Your data is still in .claude/doc-serve/. Verify:
ls -la .claude/doc-serve/
agent-brain status- Issues: https://github.com/SpillwaveSolutions/agent-brain/issues
- Documentation: https://github.com/SpillwaveSolutions/agent-brain#readme
- User Guide: docs/USER_GUIDE.md
- Developer Guide: docs/DEVELOPERS_GUIDE.md
If you encounter problems during migration, please open an issue with:
- Your current version (
agent-brain --version) - The exact error message
- Steps to reproduce
- Design-Architecture-Overview
- Design-Query-Architecture
- Design-Storage-Architecture
- Design-Class-Diagrams
- GraphRAG-Guide
- Agent-Skill-Hybrid-Search-Guide
- Agent-Skill-Graph-Search-Guide
- Agent-Skill-Vector-Search-Guide
- Agent-Skill-BM25-Search-Guide
Search
Server
Setup
- Pluggable-Providers-Spec
- GraphRAG-Integration-Spec
- Agent-Brain-Plugin-Spec
- Multi-Instance-Architecture-Spec