Get up and running with ab in 60 seconds!
python3 --version # Should be 3.10+
python scripts/check_python_version.py# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or with Homebrew
brew install uv
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"# Create virtual environment and install (uv handles this automatically)
uv sync
# Or install in development mode
uv pip install -e .
# Or from PyPI (when published)
uv pip install ab# uv creates .venv automatically
source .venv/bin/activate # macOS/Linux
# or
.venv\Scripts\activate # Windowspython scripts/quick_start.py# List examples
python scripts/list_examples.py
# Run one
python scripts/run_example.py project_plannerimport asyncio
from ab import ABClient
from uuid import uuid4
async def main():
async with ABClient(project_id=uuid4()) as client:
# Store awareness
card_id = await client.store_awareness(
prompt="User wants authentication",
files=["src/auth.py"],
)
# Recall context
context = await client.recall_shape("architecture_context")
print(context)
asyncio.run(main())That's it! ab is ready to use.
- Read README.md for overview
- See docs/USAGE.md for detailed usage
- Check examples/ for creative uses
- Run benchmarks:
pytest tests/benchmark/
Python version?
python scripts/check_python_version.pyDatabase issues?
python scripts/setup_db.py --testImport errors?
uv sync
# or
uv pip install -e .See SETUP.md for detailed setup instructions.