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 MemorySystem
from antaris_guard import PromptGuard
from antaris_context import ContextManager

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

# Safety
guard = PromptGuard()
result = guard.analyze("Tell me about liver function tests")

# Context
ctx = ContextManager(total_budget=8000)
ctx.add_turn("system", "You are a helpful medical assistant.")
window = ctx.render()

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.2.tar.gz (6.9 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.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antaris_forge-1.0.2.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

Hashes for antaris_forge-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d62966f361d5f7b3de4745766f4bf9e7122ab362ed4703d5facc18529f9f3fbf
MD5 9c768a8bb4eae97add74f8a3abdc8a4f
BLAKE2b-256 5efe7f87bbec69d57cb7d59826e6cb71d5b0dead627e953052dabfdaa9d191d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: antaris_forge-1.0.2-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_forge-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41610d2f9019778443074ff9fe6a1da6e437989519e44d99a07ef1d72911ec30
MD5 e4f4b5930fbb0c9c8ef7297b3f3a2970
BLAKE2b-256 ae895ad6c6bdeca3c7c3cd907d5e49313a5ebdd3a85c5f332053ba717785656e

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