Files
xtrm-agent/pyproject.toml
Kaloyan Danchev 872ed24f0c Add performance features: caching, cost tracking, retry, compaction, classification, scrubbing
Inspired by zeroclaw's lightweight patterns for slow hardware:
- Response cache (SQLite + SHA-256 keyed) to skip redundant LLM calls
- History compaction — LLM-summarize old messages when history exceeds 50
- Query classifier routes simple/research queries to cheaper models
- Credential scrubbing removes secrets from tool output before sending to LLM
- Cost tracker with daily/monthly budget enforcement (SQLite)
- Resilient provider with retry + exponential backoff + fallback provider
- Approval engine gains session "always allow" and audit log

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 09:20:52 +02:00

31 lines
691 B
TOML

[project]
name = "xtrm-agent"
version = "0.1.0"
description = "Multi-agent AI automation system with shared bus and specialized roles"
requires-python = ">=3.12"
dependencies = [
"anthropic>=0.79.0",
"litellm>=1.60.0",
"discord.py>=2.6.0",
"mcp>=1.0.0",
"typer>=0.15.0",
"rich>=13.0.0",
"prompt-toolkit>=3.0.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"pyyaml>=6.0",
"httpx>=0.28.0",
"loguru>=0.7.0",
"json-repair>=0.30.0",
"duckduckgo-search>=7.0.0",
"pypdf>=5.0.0",
"aiosqlite>=0.20.0",
]
[project.scripts]
xtrm-agent = "xtrm_agent.main:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"