Industrial-grade project scaffolding tool for Generative AI and Agentic AI developers.
Project description
🧠 Mindframe
"Structure first. Intelligence second."
Mindframe is a powerful Python CLI-based project scaffolding tool designed specifically for Generative AI and Agentic AI developers. It enforces professional software architecture patterns from Day 1, ensuring your AI systems are scalable, maintainable, and swap-ready.
🚀 Why Mindframe?
Most GenAI projects start as "spaghetti code." Mindframe solves this by providing a standardized, industrial-grade project structure that separates concerns across 5 critical layers.
✨ Key Features
- 🏗️ Industrial Scaffolding: Initialize a full, professional project structure in seconds.
- 🧱 Layered Architecture: Dedicated boundaries for Domain Logic, LLM Abstractions, Knowledge/RAG, Orchestration, and Evaluation.
- 🤖 Agentic Native: Seamlessly transition from simple RAG to autonomous agent systems with built-in memory and tool patterns.
- 🔌 Model Agnostic: Effortlessly switch between OpenAI, Anthropic, or Local models (Ollama/Llama) with production-ready base classes.
- 📈 Scalability First: Enforces best practices that make your AI systems maintainable and ready for production.
📦 Installation
Mindframe is available on PyPI. You can install it globally via pip:
pip install mindframe-ai
🛠️ Local Development
To contribute to Mindframe or use the latest developmental version:
git clone https://github.com/Ahmedmalik414/mindframe.git
cd mindframe
pip install -e .
🛠 Usage
1. Standard GenAI (RAG) Project
Perfect for knowledge-based chatbots and standard LLM applications.
mindframe init my_project
2. Agentic AI Project
Adds specialized layers for planning, tool execution, and memory management.
mindframe init my_agent --type agentic
📂 The "Authoritative" Structure
When you run mindframe init, it generates a clean, scalable skeleton designed for high-performance AI applications:
my_project/
├── config/ # Configuration for LLMs, prompts, and system settings
├── data/ # Vector database storage, local cache, and embeddings
├── src/
│ ├── core/ # LLM Base classes & Provider abstractions
│ ├── prompts/ # Version-controlled prompt templates & chains
│ ├── rag/ # Retrieval-Augmented Generation & Search logic
│ ├── processing/ # Data ingestion, chunking, and normalization
│ └── inference/ # Model execution and throughput management
├── tests/ # Unit, integration, and evaluation tests
├── scripts/ # Deployment and data ingestion scripts
├── Dockerfile # Production-ready containerization
└── requirements.txt # Managed project dependencies
Note: The
agentictype adds thesrc/orchestration/layer containingagents/andmemory/modules for autonomous logic.
🤝 Contributing
Mindframe is built for the community. If you have ideas for better AI architectural patterns, feel free to open a PR!
Built by Ahmed Malik
Architecture is the frame that supports the mind.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mindframe_ai-0.2.2.tar.gz.
File metadata
- Download URL: mindframe_ai-0.2.2.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4319d94b086ee747a426fde10c690e4e602d2effdc344b0a4e4ca7b963d1483a
|
|
| MD5 |
0509b2a1d3da74f2ecbf5c1a316a5b15
|
|
| BLAKE2b-256 |
ac17521762c06712a2b47f5e018eff87b96b1f48377710ae06e1fd862d17a98a
|
File details
Details for the file mindframe_ai-0.2.2-py3-none-any.whl.
File metadata
- Download URL: mindframe_ai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aa85fbbdce0254741f8c0e616107fd6c670962f5bc992f933ec7804c342e943
|
|
| MD5 |
28857880757cebfa6dd27e098c495f67
|
|
| BLAKE2b-256 |
da44051e035d33535035cc9589192346bf2929429e11b90ee91661cd8c051dba
|