DevBrain 🧠
Your personal developer memory CLI tool with AI integration.
Never forget a fix, command, or solution again.
The Problem
Every developer faces this:
- Fixed a bug last week but forgot exactly what you changed
- Ran a perfect command 2 weeks ago but can't remember it
- Spent 3 hours debugging something, next month same error appears
DevBrain solves this.
What It Does
DevBrain remembers your developer fixes, errors, commands and solutions. Ask AI questions about your own history.
Installation
pip install devbrain-cli
Setup
1 — Get Free Groq API Key
Go to console.groq.com Sign up free Click API Keys Create new key Copy it
2 — Set API Key
export GROQ_API_KEY="your-key-here"
To make it permanent:
open ~/.zshrc
# Add at bottom:
export GROQ_API_KEY="your-key-here"
source ~/.zshrc
Commands
# Save a memory
brain remember "JWT error fixed by changing secret in .env" --tag jwt
# List all memories
brain list
# Search memories
brain search docker
# Ask AI about your memories
brain ask "how did I fix the JWT issue?"
# Delete a memory
brain delete 1
Example
# Save a fix
brain remember "MongoDB connection refused fixed by whitelisting IP in Atlas" --tag mongodb
# Next month same error appears
brain ask "how did I fix mongodb connection?"
# DevBrain AI answers:
# You fixed MongoDB by whitelisting your IP
# address in the Atlas dashboard settings.
Tech Stack
- Python
- SQLite
- Rich (terminal UI)
- Groq AI (LLaMA 3)
- argparse
Project Structure
devbrain/ │ ├── main.py ├── setup.py │ └── brain/ ├── ai.py ← Groq AI integration ├── cli.py ← Command line interface ├── commands.py ← Core commands ├── database.py ← SQLite database ├── logger.py ← Logging system ├── models.py ← Data models ├── search.py ← Fuzzy search └── utils.py ← Utilities
What You Will Learn Using This
- Never repeat the same debugging twice
- Build your personal knowledge base
- Ask AI about your own history
- Grow smarter every day
Author
Built by Suhail Ahmed GitHub: github.com/SuhailAhmed011
License
MIT License — free to use and modify.
Metadata
Release files for devbrain-cli 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| devbrain_cli-1.0.2.tar.gz | 9.2 kB | Without provenance | Details for devbrain_cli-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devbrain_cli-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for devbrain_cli-1.0.2-py3-none-any.whl |
Total release size: 19.3 kB
Release files / devbrain_cli-1.0.2.tar.gz
| Download URL | devbrain_cli-1.0.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c27b2ab0e63687ceec7fc049271edca37419c86d63d6f955da2ba8cac8db1100
|
|
BLAKE2b-256 checksum How to use checksums |
884af802f25baee6e945c15a5e2c9f39b32cb303abc0927b3847e0bb20dced94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / devbrain_cli-1.0.2-py3-none-any.whl
| Download URL | devbrain_cli-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
082d40b30fe3ee74a606d8bdf0a155bc574d23cfdf85bde1f162ef6e920f79e6
|
|
BLAKE2b-256 checksum How to use checksums |
aff39625c33176857a1e27c252179596aaf4f72ba7135699d91b6bfc9bd0c8f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for devbrain-cli 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.