reflexio  by ReflexioAI

AI agents learn and improve from user interactions

Created 2 months ago
298 stars

Top 89.1% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Reflexio is an AI agent self-improvement harness enabling continuous learning from user interactions. It addresses static agent performance by transforming user corrections and successful paths into persistent behavioral improvements, making agents smarter and more effective over time. This benefits all users through collective learning, targeting developers and researchers seeking enhanced agent adaptability.

How It Works

Reflexio captures agent-user conversations, processing corrections and feedback to refine agent decision-making and prevent errors. It persists successful strategies and workflows for reuse. The system also facilitates expert learning by comparing agent outputs to human-provided ideal responses, automatically extracting actionable playbooks from substantive differences. This closed-loop mechanism ensures incremental agent improvement with each interaction.

Quick Start & Requirements

Installation is via PyPI (pip install reflexio-ai) or source clone. Prerequisites: Python >= 3.12, Node.js >= 18 (docs), LLM API keys. Services start with reflexio services start. A 30-second CLI demo is available (uv run reflexio publish/search), details in reflexio/cli/README.md. Docs: https://www.reflexio.ai/docs. Benchmarks: reflexio/benchmarks/retrieval_latency/results/report.md, benchmark/gdpval/RESULTS.md.

Highlighted Details

  • Performance: Reduced planning steps by 81% and tokens by 72% on GDPVal knowledge-work tasks for a Hermes agent, exceeding existing self-improvement.
  • Cross-User Learning: Corrections and strategies learned from one user propagate to all users, creating collective intelligence without full retraining.
  • Hybrid Search: Features hybrid vector/full-text search across profiles and playbooks with ~57ms p50 latency.
  • Multi-LLM Support: Integrates with numerous LLM providers (OpenAI, Anthropic, Gemini, etc.) via LiteLLM.

Maintenance & Community

The provided README lacks details on maintenance schedules, specific contributors, sponsorships, or community channels (e.g., Discord, Slack). Further repository analysis is needed to assess community health.

Licensing & Compatibility

Licensed under the permissive Apache License 2.0, allowing commercial use, modification, and distribution with standard attribution.

Limitations & Caveats

Agent success evaluation has a 10-minute delay post-interaction. The README does not specify alpha/beta status or known bugs, indicating core functionalities are likely stable.

Health Check
Last Commit

12 hours ago

Responsiveness

Inactive

Pull Requests (30d)
84
Issues (30d)
0
Star History
142 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.