Python src/asi scaffold with packaging, dev tooling, CI, and guardrails.
python -m pip install -e .[dev,memory]
python -m pip install -e ".[dev,memory]"
make lint
make type
make test
PYTHONPATH=src python -m asi.interfaces.clipython -m pip install -e ".[dev,api,memory]"
uvicorn asi.interfaces.api:app --reloadExample request:
curl -X POST http://127.0.0.1:8000/chat \
-H 'Content-Type: application/json' \
-d '{"session_id":"s1","message":"hello"}'ASI supports two memory backends:
memory.backend: memory→ in-process volatile store.memory.backend: sqlite→ persistent SQLite store with rebuildable vector index.
SQLite memory defaults under ./data/memory/ (gitignored), e.g. ./data/memory/memory.db.
Logs are written to ./data/logs/ (gitignored).
To reset memory, delete the DB (and optional index cache) under ./data/memory/.