Instant codebase map for AI agents — understand any project before making changes
Project description
AgenticStack
Instant codebase map for AI agents — understand any Python project before making changes.
What it does
AgenticStack analyzes your Python project and generates AgenticStack.txt — a structured file that tells any AI agent:
- Where every model, view, serializer, service, and utility lives
- Which files to touch when making a specific change
- How your project is structured by framework (Django, Flask, FastAPI, or plain Python)
- A step-by-step change guide using your actual file paths
Installation
pip install agenticstackfile
With AI support:
pip install 'agenticstackfile[anthropic]'
pip install 'agenticstackfile[openai]'
With auto-sync (watch mode):
pip install 'agenticstackfile[watch]'
Everything at once:
pip install 'agenticstackfile[all]'
Usage
agenticstack init # First-time setup — creates config and ignore file
agenticstack update # Manually refresh AgenticStack.txt
agenticstack watch # Auto-sync mode — watches for file changes and syncs automatically
Auto-sync (Watch Mode)
agenticstack watch runs two background services:
- Watcher — monitors your project for file changes in real time
- Scheduler — syncs
AgenticStack.txtautomatically based on your configured interval
Only syncs when files have actually changed — no wasted API tokens.
Requires watchdog: pip install 'agenticstackfile[watch]'
Modes
Static mode — no API key needed. Uses Python AST to map your codebase for free.
AI mode — provide an API key and Claude or GPT generates rich, detailed documentation with change guides tailored to your framework.
Configuration
Edit .agenticstack.ini in your project root:
[agenticstack]
provider = anthropic
model = default
api_key = YOUR_API_KEY
output_file = AgenticStack.txt
depth = standard
sync_trigger = false
sync_time = hourly
| Key | Values | Description |
|---|---|---|
provider |
anthropic, openai |
AI provider to use |
model |
default, or model name |
Model to use. default picks the best available. |
api_key |
your key | API key for AI mode |
output_file |
filename | Output file name |
depth |
standard |
Analysis depth |
sync_trigger |
true, false |
Enable auto-sync in watch mode |
sync_time |
realtime, hourly, daily |
How often to sync when changes are detected |
Ignoring Files
Create .agenticstackignore in your project root (auto-created by agenticstack init):
Project details
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 agenticstackfile-0.2.1.tar.gz.
File metadata
- Download URL: agenticstackfile-0.2.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
041ca5a32e278b0ebe26be29fbe7c007f46d1cdc2f9510390432db77e6ba997b
|
|
| MD5 |
613b65871b62d33d6c063ba062c1cb8d
|
|
| BLAKE2b-256 |
a9b27d08fc49394c84cafb9703d032fb887bcc0a7f84885feb3aee223baaeb06
|
File details
Details for the file agenticstackfile-0.2.1-py3-none-any.whl.
File metadata
- Download URL: agenticstackfile-0.2.1-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d01bbb6850aa0515277ee2c6f4f7279c291148c69aba5ea90e3e8ae4410c0983
|
|
| MD5 |
7355fca30e4da3f6b04d9859581b66e7
|
|
| BLAKE2b-256 |
7ca1dd947ab1010dbd2cf298125b180da8fdba9fe899c4b33ead9bdc465f7af1
|