Skip to main content

Antaris Forge — memory, safety, and context for AI agent bots

Project description

antaris-forge

Memory, safety, and context for Antaris Forge bots.

antaris-forge is the stable runtime package for Forge-powered AI agents. It bundles the three core infrastructure packages in a single install.

Packages

Package Purpose
antaris-memory File-based persistent memory — BM25 search, audit logging, semantic re-ranking, PPMI co-occurrence
antaris-guard Prompt safety screening and injection detection
antaris-context Token budget management and context window optimization

Install

pip install antaris-forge

With semantic search (transformer embeddings):

pip install antaris-forge[semantic]

Quick Start

from antaris_memory import MemoryStore
from antaris_guard import GuardEngine
from antaris_context import ContextManager

# Memory
store = MemoryStore("./workspace")
store.add("Patient: John, 42M, elevated liver enzymes noted on 2024-01-15")
results = store.search("liver")

# Safety
guard = GuardEngine()
safe = guard.check("Tell me about liver function tests")

# Context
ctx = ContextManager(max_tokens=4096)
ctx.add("system", "You are a helpful medical assistant.")
window = ctx.get_window()

Design

  • File-based — JSON/JSONL storage, zero databases
  • Zero mandatory dependencies — pure Python core
  • Thread-safe — concurrent reads and writes handled correctly
  • Privacy-first — HMAC-SHA256 PII anonymization, local-only by default

Versioning

antaris-forge is the stable Forge fork of antaris-suite.

  • Bug fixes and security patches land here
  • New features and experimental work land in antaris-suite first
  • Production Forge bots should pin to antaris-forge~=1.0

License

MIT — 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_forge-1.0.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

antaris_forge-1.0.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file antaris_forge-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for antaris_forge-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f6e40b7e3f685a228f04a569d0588fae7c7563864789511996e0b068ce523428
MD5 b6d9365de67353582c5b60307659907a
BLAKE2b-256 77939e6f0525b5e1655e4e6c03ad077738c3be31f6c82c5e7cbdfc9a0a6063fc

See more details on using hashes here.

File details

Details for the file antaris_forge-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: antaris_forge-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for antaris_forge-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4b4b99d454db814df10d4acaa0afddcf5db8fc410bfcc2eb1bc5f2765d8165
MD5 fefb22d65a9d92130fa6e05fea216664
BLAKE2b-256 bad6a02962a0a7ee86b86222d8023c1487820b32f1bff98781c1865e5068187b

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