AI Bootstrap 🚀
Short Description:
AI Bootstrap is a CLI tool that uses AI to plan, scaffold, and generate production-ready Python blueprints for AI/ML projects. It streamlines project setup with interactive and AI-driven modes, supporting modern frameworks and best practices.
Your AI-Powered Project Scaffolding CLI
AI Bootstrap is a professional CLI tool that uses AI to plan, scaffold, and generate production-ready AI/ML project blueprints. Go from a simple idea to a fully structured, modern Python application in seconds.
AI Bootstrap streamlines the initial, often tedious, phases of AI project development. Whether you prefer an AI-driven chat to plan your project or a guided interactive setup, this tool creates a robust foundation with modern best practices, allowing you to focus on building unique features.
✨ Key Features
- 🤖 AI-Powered Planning: Describe your project in plain English and let the AI Planner select the best blueprint, frameworks, and structure for you.
- 💬 Interactive & Chat-Based Creation: Choose between a guided interactive CLI that walks you through every option or an AI-driven chat for a "just tell me what you want" experience.
- 🏗️ Multiple Project Blueprints:
- RAG System: End-to-end Retrieval-Augmented Generation.
- Multi-Agent System: Sophisticated agentic workflows with LangGraph.
- Multimodal Chatbot: Chat with text, images, and audio.
- Core LangChain Application: A modular starting point for any LangChain project.
- 🔌 Flexible Integrations:
- LLM Providers: OpenAI, Anthropic, Ollama, Mistral.
- Frameworks: LangChain, LlamaIndex, LangGraph.
- Vector Stores: Chroma, FAISS.
- UI Frameworks: Streamlit, Chainlit, FastAPI, Flask, CLI.
- 📦 Modern Python Stack:
- Type-safe configuration with Pydantic.
- Easy environment management with
.envfiles. - Includes scaffolding for
pytestand Jupyter notebooks. - Automatic
requirements.txtandREADME.mdgeneration for each project.
- 🔄 Project Updating: Keep your projects current with the
ai-bootstrap updatecommand, which seamlessly pulls in the latest template improvements.
📋 Prerequisites
Before you begin, ensure you have the following:
- Python 3.9+
- An API key for your chosen LLM provider: OpenAI, Anthropic, or Mistral.
- (Optional) Ollama for running local LLMs.
- (Optional) Docker & VS Code Dev Containers for a sandboxed development environment.
🛠️ Installation
Install the tool directly from PyPI:
pip install ai-bootstrap
🎉 Getting Started
Creating your first production-ready AI application is just a few commands away.
1. Set Up Your API Keys
Create a .env file in your working directory to store your API keys. The tool will automatically load them.
# .env file
OPENAI_API_KEY="sk-..."
# ANTHROPIC_API_KEY="sk-..."
# MISTRAL_API_KEY="..."
# TAVILY_API_KEY="..." # Optional, for web search tools
2. Create Your First Project (AI-Powered)
This is the recommended and fastest way to get started. Use the --chat flag to let the AI Planner configure your project.
ai-bootstrap create --chat
The tool will prompt you for a short description. For example:
"I want to build a chatbot that can answer questions about multiple PDF documents using a web interface."
The AI Planner will analyze this, generate a project plan, ask for your confirmation, and then scaffold the entire project.
3. Create a Project (Interactive Mode)
If you prefer to make every decision yourself, run the command without any flags.
ai-bootstrap create
This will launch a guided interactive prompt that walks you through selecting a blueprint, UI framework, LLM provider, and other options.
📚 Core Commands
Here is a summary of the available commands. For a detailed view, run ai-bootstrap --help.
| Command | Description | Example |
|---|---|---|
create |
Create a new AI project using either interactive or AI-driven modes. | ai-bootstrap create --chat |
update |
Update an existing project with the latest template changes. | ai-bootstrap update (run inside project dir) |
list-blueprints |
Display a table of all available project blueprints and their features. | ai-bootstrap list-blueprints |
test-ai-planner |
Test the AI Planner with a project description without creating files. | ai-bootstrap test-ai-planner --description "A multi-agent researcher" |
help-table |
Show a detailed table of all CLI commands and their arguments. | ai-bootstrap help-table |
🗂️ Project Blueprints
AI Bootstrap provides several battle-tested blueprints for common AI application patterns.
-
RAG System (
rag)- Description: A complete Retrieval-Augmented Generation system for question-answering over your documents.
- Tech: LangChain/LlamaIndex, Chroma/FAISS, Streamlit/Chainlit/FastAPI/CLI.
-
Multi-Agent System (
multi-agent)- Description: An advanced system with multiple AI agents collaborating to solve complex tasks, orchestrated by LangGraph.
- Tech: LangGraph, Supervisor Pattern, State Management, In-memory/Redis/Postgres memory.
-
Multimodal Chatbot (
multimodal-chatbot)- Description: A chatbot capable of processing and responding with text, images, and audio.
- Tech: Chainlit/Streamlit/Flask UI, OpenAI/Anthropic multimodal models.
-
Core LangChain Application (
core-langchain)- Description: A modular and scalable foundation for building custom LangChain applications.
- Tech: Custom Chains, Prompt Management, Tool Integration, Streamlit/FastAPI/CLI.
📝 Roadmap & Future Plans
This project is under active development. Here are some of the features planned for upcoming releases:
Template Enhancements
- More advanced agent workflows and memory options in multi-agent systems.
- Additional vector store integrations (e.g., Pinecone, Weaviate).
- Enhanced Docker and deployment templates for all blueprints.
- More robust test and notebook scaffolding.
CLI & Application Features
- Project validation and linting before generation.
- Support for custom, user-defined blueprints.
- Richer AI Planner explanations and reasoning in the CLI.
- Automatic virtual environment creation and
.envpopulation.
🤝 Contributing
Contributions are welcome! If you have ideas for new features, blueprints, or improvements, please open an issue or submit a pull request on our GitHub repository.
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for ai-bootstrap 2.2.1
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 |
|---|---|---|---|---|
| ai_bootstrap-2.2.1.tar.gz | 127.2 kB | Without provenance | Details for ai_bootstrap-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_bootstrap-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for ai_bootstrap-2.2.1-py3-none-any.whl |
Total release size: 316.5 kB
Release files / ai_bootstrap-2.2.1.tar.gz
| Download URL | ai_bootstrap-2.2.1.tar.gz |
|---|---|
| Size | 127.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
559da75bca41a1df2bc6671dcd29230eb57485c2ebb8b1e9a25042fefe39ab00
|
|
BLAKE2b-256 checksum How to use checksums |
d1ddb2728a046694de5a40a68736e24f49cd820670a6b4806d5c617f51b7821c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|
Release files / ai_bootstrap-2.2.1-py3-none-any.whl
| Download URL | ai_bootstrap-2.2.1-py3-none-any.whl |
|---|---|
| Size | 189.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4536428141dcc5d884778079c1e3282abbcfd8245d5f9e6723bf5fa1cbdc33d
|
|
BLAKE2b-256 checksum How to use checksums |
33c4657a3c13091292ac13dc9df8bcdd8be8d8aff2ec973c8dc6698f0fd9ff2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.0
|
Security for ai-bootstrap 2.2.1
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.