Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

antaris-spark

Memory, safety, and context for AI agent bots — Spark tier (500 memories)

PyPI version Python 3.9+ Apache 2.0

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

Metadata

Release files for antaris-spark 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for antaris-spark 2.0.0
File Size Uploaded Provenance Actions
antaris_spark-2.0.0.tar.gz 7.0 kB Without provenance Details for antaris_spark-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for antaris-spark 2.0.0
File Interpreter ABI Platform Actions
antaris_spark-2.0.0-py3-none-any.whl Python 3 none any Details for antaris_spark-2.0.0-py3-none-any.whl

Total release size: 14.1 kB

Release files / antaris_spark-2.0.0.tar.gz

Download URL antaris_spark-2.0.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
00b0e792bd89581502ad821014d35c6225c1e7bd866645a171e0e70b6901912d
BLAKE2b-256 checksum
How to use checksums
c4b4b20940e1ded34a84db7f1a6ee036e3a511ce8e86c59d9f9dde4964698d58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / antaris_spark-2.0.0-py3-none-any.whl

Download URL antaris_spark-2.0.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5256fe4232320dbc32e5cbfe0f395d74e26b73cb73f71c7bf5ab5e19a4b239bd
BLAKE2b-256 checksum
How to use checksums
3797e1536ba2af7f710253cb7d9459fec54ecc31b67cc0e7a631e6c730bea61e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for antaris-spark 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page