Repository navigation
v0.1.2: Efficiency Diagnostics & Chaos Engineering 🛡️
✨ What's New
- Chaos Engineering Mode (
AGENT_CHAOS_MODE=true): Simulates a 20% failure rate (Timeout, Permission Denied, Malformed Data) to stress-test your agent's self-healing capabilities. - Efficiency Diagnostics: Automatically measures
model_output_lengthandtool_output_lengthfor every step. - Context Window Protection: Generates a diagnostic warning in the
report.mdif a tool returns excessively long data (e.g. >4000 chars), preventing the agent from getting "overwhelmed." - Loop Detection: Warns you if the agent is stuck taking too many steps (e.g. >5) without reaching a conclusion.
- Comprehensive Showcase Script: Added
examples/showcase_all_features.pywhich demonstrates SQLite tools, Self-Healing, Chaos Mode, and Evaluation pipelines all in one place.
🐛 Fixes & Improvements
subprocess.runnow safely usessys.executableto run evaluations in the correct Python virtual environment.- Various terminal UI fixes to support standard UTF-8 console encodings smoothly.
📦 Installation
pip install --upgrade explainable-agent