Agentic Context Toolkit: context delta learning for adaptive LLM agents
Project description
Agentic Context Engineering Toolkit
Research-oriented framework for Agentic Context Engineering. It captures, ranks, and reuses "context deltas" from LLM interactions so agents adapt without retraining, following the methodology described in Agentic Context Engineering Framework.
Features
- LLM provider agnostic (OpenAI, Anthropic, LiteLLM, Ollama, custom wrappers)
- Storage backend agnostic (memory, SQLite, Postgres/pgvector, extensible interfaces)
- Token budget management, retrieval & ranking, reflection, and curation pipelines
- Ready for Python 3.12 with strict typing, async workflows, and modern tooling
Getting Started
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
Project Layout
.
acet/ # Library source (packages added per phase)
benchmarks/ # Performance and benchmark suites
docs/ # Documentation site sources
examples/ # Usage examples and sample apps
tests/ # Unit, integration, and benchmark tests
Development Workflow
- Create/activate the local virtual environment.
- Install dependencies with
pip install -r requirements.txt. - Run format and lint checks:
black .andruff check. - Run type checks:
mypy --strict .. - Run tests:
pytest --cov=acet.
Performance Snapshot
- Delta retrieval (250 active deltas): ~2 ms mean latency (
tests/benchmarks/test_delta_retrieval.py) - SQLite save/query (300 staged deltas): ~23 ms mean latency (
tests/benchmarks/test_storage_throughput.py) - Curator dedup (300 proposed insights, 30% duplicates): ~140 ms mean latency (
tests/benchmarks/test_curator_throughput.py)
All benchmarks are reproducible via the CLI harnesses under benchmarks/. For example:
python benchmarks/delta_retrieval.py --iterations 30 --plot benchmarks/artifacts/delta_latency.png
python benchmarks/storage_throughput.py --backend all --iterations 30 --plot benchmarks/artifacts/storage_latency.png
python benchmarks/curator_throughput.py --proposals 300 --duplicate-ratio 0.3 --iterations 20 --plot benchmarks/artifacts/curator_latency.png
Adjust the parameters or swap in your production embeddings/backends to profile your deployment.
Project details
Release history Release notifications | RSS feed
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 acet-1.0.10.tar.gz.
File metadata
- Download URL: acet-1.0.10.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9491b66447370464a58fb25b6a109428c5a51267ac8d02984327d677364b6661
|
|
| MD5 |
364028aa3f957881c9f4af9a5f4e03b1
|
|
| BLAKE2b-256 |
43d7e8c35cc2c07aa5bd585029ecc119dac502d92673247fb5bc872f4eef91a1
|
File details
Details for the file acet-1.0.10-py3-none-any.whl.
File metadata
- Download URL: acet-1.0.10-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9da911820198bd689936d1d497cd8481e7a1c160e10f33650c567ff8e64566ea
|
|
| MD5 |
ce4d892344d2f747db0fcc9813a152ca
|
|
| BLAKE2b-256 |
ab0ae5f80b0a36030e44b0a5b034e2c1944baf31824fbdf45ddc6d7b4a150ce1
|