Metadata-Version: 2.4
Name: antaris-forge
Version: 2.0.0
Summary: Antaris Forge — memory, safety, and context for AI agent bots
Author-email: Antaris Analytics <moro@antarisanalytics.ai>
License: Apache-2.0
Project-URL: Homepage, https://antarisanalytics.ai
Project-URL: Repository, https://github.com/Antaris-Analytics-LLC/antaris-forge
Project-URL: Documentation, https://docs.antarisanalytics.ai
Keywords: ai,memory,agent,forge,llm,safety
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: antaris-memory~=4.0
Requires-Dist: antaris-guard~=4.0
Requires-Dist: antaris-context~=4.0
Provides-Extra: semantic
Requires-Dist: sentence-transformers>=2.2.0; extra == "semantic"
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-xdist; extra == "dev"
Dynamic: license-file

# 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`](antaris-memory/) | File-based persistent memory — BM25 search, audit logging, semantic re-ranking, PPMI co-occurrence |
| [`antaris-guard`](antaris-guard/) | Prompt safety screening and injection detection |
| [`antaris-context`](antaris-context/) | Token budget management and context window optimization |

## Quick Start

```python
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`](https://github.com/Antaris-Analytics/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

Apache 2.0 — see [LICENSE](LICENSE)
