Skip to content

TBNRtate/ASI

Repository files navigation

ASI bootstrap

Python src/asi scaffold with packaging, dev tooling, CI, and guardrails.

Quickstart

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.cli

Run API

python -m pip install -e ".[dev,api,memory]"
uvicorn asi.interfaces.api:app --reload

Example request:

curl -X POST http://127.0.0.1:8000/chat \
  -H 'Content-Type: application/json' \
  -d '{"session_id":"s1","message":"hello"}'

Memory backend

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/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors