Skip to main content

Antaris Flame — memory, safety, and context for AI agent bots (5,000 memory tier)

Project description

antaris-flame

Memory, safety, and context for AI agent bots — Flame tier (5,000 memories)

PyPI version Python 3.9+ Apache 2.0

antaris-flame is the mid-tier of the Antaris bot runtime — bundling persistent memory, safety screening, and context optimization in a single install. Capped at 5,000 memories for production 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-forge — drop-in replacement, no code changes.

Installation

pip install antaris-flame

# With optional semantic reranking (MiniLM, ~22MB model):
pip install antaris-flame[semantic]

Quick Start

from antaris_memory import MemorySystem
from antaris_guard import PromptGuard
from antaris_context import ContextManager

# Memory — capped at 5,000 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-flame

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

antaris_flame-1.0.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

antaris_flame-1.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file antaris_flame-1.0.1.tar.gz.

File metadata

  • Download URL: antaris_flame-1.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for antaris_flame-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6e4bfef4789af849d28106303fb71d3d04cd265a19c8384f9a274bc89d27e0d1
MD5 4f1c4e4616ae2d39fda6b368c9638122
BLAKE2b-256 f4338b51dfa1f946b3a11027688d46ddb6dcec82ce55291de7395ccd581393cf

See more details on using hashes here.

File details

Details for the file antaris_flame-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: antaris_flame-1.0.1-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

Hashes for antaris_flame-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 092575130e3813e0649f02e451f986bf7395e55f8be8e17019260071872a8bc1
MD5 acc85baebdc5622ca6012c8b0598c356
BLAKE2b-256 19cf2a73ebd1fab033f14ac168521c838a5fccbc2380c3dc822e23972c64d3ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page