Observed since 21 Oct, 11:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A CLI tool to scaffold production-ready AI Agent projects in seconds.
█████╗ ██╗███╗ ██╗██╗████████╗ ██╔══██╗██║████╗ ██║██║╚══██╔══╝ ███████║██║██╔██╗ ██║██║ ██║ ██╔══██║██║██║╚██╗██║██║ ██║ ██║ ██║██║██║ ╚████║██║ ██║ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝
An interactive CLI that bootstraps modular Python projects for AI agents with uv — frameworks, providers, tests, lint, type-check, and agent rules ready on day one.
Quick Start · Options · Features · Architecture · Developing ainit · Contributing · License
Run without a global install:
uvx --from ai-init ainit my_project
Or install the CLI:
# Recommended
uv tool install ai-init
# Or
pipx install ai-init
ainit my_project
# equivalent: ainit init my_project
Requires Python 3.10+ and uv on your PATH (the scaffold uses uv init / uv add).
ainit walks you through the stack, then creates the project:
╭───────────────────────────────────────╮
│ █████╗ ██╗███╗ ██╗██╗████████╗ │
│ ██╔══██╗██║████╗ ██║██║╚══██╔══╝ │
│ ███████║██║██╔██╗ ██║██║ ██║ │
│ ██╔══██║██║██║╚██╗██║██║ ██║ │
│ ██║ ██║██║██║ ╚████║██║ ██║ │
│ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝ │
│ Scaffold AI Agent projects in seconds │
╰───────────────────────────────────────╯
? Framework: LangGraph
? LLM Provider: Gemini
? Storage / Vector DB: None
? Observability: None
? Test runner: Pytest
? Linter/formatter: Ruff
? Type check config: None
? Agent rules: All
🛠️ Creating project in: ./my_project
✨ Project created successfully!
1. cd my_project
2. Fill in the keys in the .env file
3. Run the tests: uv run pytest
4. Try it out: uv run python main.py
Defaults: Pytest, Ruff, type-check None, agent rules All.
| Prompt | Choices |
|---|---|
| Framework | LangChain, LangGraph, Deep Agents, CrewAI, PydanticAI, Microsoft Agent Framework, LlamaIndex, Google ADK, OpenAI Agents SDK, None |
| LLM Provider | OpenAI, Anthropic, Groq, DeepSeek, Gemini, Multi-Provider |
| Storage / Vector DB | Qdrant, PostgreSQL, Redis, ChromaDB, Neo4j, None |
| Observability | LangSmith, Arize, Loguru, OpenTelemetry, None |
| Test runner | Pytest (default), unittest |
| Linter/formatter | Ruff (default), None |
| Type check | None (default), Pyright (Pylance-compatible) |
| Agent rules | All (default), AGENTS.md, CLAUDE.md, .cursorrules, None |
uv add (LangChain adapters only for LangChain / LangGraph / Deep Agents).qdrant-client; PostgreSQL → psycopg2-binary, pgvector, sqlalchemy; Redis → redis. ChromaDB / Neo4j are selectable for project intent; wire-up packages can be extended later.uv add --dev ruff + [tool.ruff] in pyproject.toml.uv add --dev basedpyright + [tool.pyright] (Pylance reads the same config).uv / uv run (never pip), plus the chosen test/lint commands..env: provider key placeholders (OPENAI_API_KEY, GOOGLE_API_KEY, DEEPSEEK_API_KEY, etc.).uv init + uv add / uv add --devAGENTS.md, CLAUDE.md, .cursorrulessrc/{agent,tools,models,prompts,storage,utils,api} + tests/my_project/
├── .env # Provider key placeholders
├── .gitignore
├── AGENTS.md # Optional (Cursor)
├── CLAUDE.md # Optional (Claude Code)
├── .cursorrules # Optional
├── pyproject.toml # uv-managed (+ ruff/pyright when selected)
├── main.py # Entry point
├── src/
│ ├── agent/
│ ├── api/
│ ├── models/llm.py # Stub LLM factory
│ ├── prompts/
│ ├── storage/
│ ├── tools/
│ └── utils/
└── tests/
└── test_smoke.py # Pytest or unittest
cd my_project
# edit .env with real API keys
Tests (depends on what you chose):
uv run pytest
# or
uv run python -m unittest
Lint / format (if Ruff was selected):
uv run ruff check .
uv run ruff format .
Type check (if Pyright was selected):
uv run basedpyright
Run:
uv run python main.py
This repository (the CLI itself) uses uv + Ruff + Pytest. CI runs on every push/PR to main.
git clone https://github.com/mpraes/ainit.git
cd ainit
uv sync --extra dev
uv run ruff check src tests
uv run ruff format --check src tests
uv run pytest
Local CLI against your checkout:
uv run ainit my_project
# or
PYTHONPATH=src python -m ainit.cli my_project
Releases: bump version in pyproject.toml, merge to main, then tag vX.Y.Z (see .github/workflows/release.yml).
uv for dependencies (uv add / uv sync) — not pip.uv run ruff check src tests, uv run ruff format src tests, and uv run pytest before opening a PR.main.Distributed under the MIT License. See LICENSE.
Developed with ❤️ by @mpraes.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0 | 11 Aug 2026 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:180030f74f7a05b52e1b9b6c0e2b92bd2f950c9e4b4659b0ee5d3c5722c14d56