Antaris Spark — memory, safety, and context for AI agent bots (500 memory tier)
Project description
antaris-spark
Memory, safety, and context for AI agent bots — Spark tier (500 memories)
antaris-spark is the entry-level tier of the Antaris bot runtime — bundling persistent memory, safety screening, and context optimization in a single install. Capped at 500 memories for lightweight deployments.
What's Included
- antaris-memory — BM25 + co-occurrence semantic search, audit logging, memory decay, recovery
- antaris-guard — Prompt injection detection, PII redaction, rate limiting, compliance templates
- antaris-context — Token budget management, context window optimization, compression strategies
Tier Limits
| Tier | Memory Cap | Package |
|---|---|---|
| Spark | 500 memories | antaris-spark |
| Flame | 5,000 memories | antaris-flame |
| Forge | 25,000 memories | antaris-forge |
Upgrade path: pip install antaris-flame or pip install antaris-forge — drop-in replacement, no code changes.
Quick Start
from antaris_memory import MemorySystem
from antaris_guard import PromptGuard
from antaris_context import ContextManager
# Memory — capped at 500 entries by default
mem = MemorySystem("./workspace")
mem.load()
mem.ingest("User prefers concise answers", source="conversation")
results = mem.search("user preferences")
# Guard
guard = PromptGuard()
if not guard.is_safe(user_input):
return # block before reaching model
# Context
ctx = ContextManager(total_budget=8000)
ctx.set_memory_client(mem)
ctx.add_content("conversation", messages)
ctx.optimize_context()
GitHub
https://github.com/Antaris-Analytics-LLC/antaris-spark
License
Apache 2.0 — see LICENSE
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 antaris_spark-1.0.5.tar.gz.
File metadata
- Download URL: antaris_spark-1.0.5.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
484cbca53c04a33e0e0c09ff290e6c66e60bbaa9b269c66fc51bf28af871e304
|
|
| MD5 |
e36b4b3ea09d8e69ffe9cc67a13b5aad
|
|
| BLAKE2b-256 |
808fa964cc3ce6c3f73644cdfc234b672076073b246eca18fe595a03405f2934
|
File details
Details for the file antaris_spark-1.0.5-py3-none-any.whl.
File metadata
- Download URL: antaris_spark-1.0.5-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99384554780af0c4a4087a6a74d04d76f2c46924eb794ad8ae6231dfef385555
|
|
| MD5 |
68e79016629ccc3385b2bfb0d8590790
|
|
| BLAKE2b-256 |
9cf95b8da67df04f1f0b41205c66ec979f40a256cedce09a237c8e0c80b65a6b
|