Project Chimera is an advanced AI agent designed to overcome the critical limitations of standard Large Language Models (LLMs) in strategic environments like trading or business management. By integrating a hybrid Neuro-Symbolic-Causal architecture, this agent makes decisions that are not only intelligent but also safe, explainable, and designed for robustness.
Research Update (Nov 2025): Project Chimeraโs theoretical foundations are now live on arXiv โ arXiv:2510.23682
Modern LLMs are powerful, but when entrusted with critical decisions, they can be dangerously naive and unpredictable. Without proper guardrails, they can make catastrophic mistakes. Our benchmark experiment proved this: a pure LLM-Only agent, lacking rules or causal understanding, drove a simulated company into a multi-billion dollar loss.
Project Chimera solves this by providing the LLM with a Symbolic safety net and a Causal oracle. It doesn't just guess; it brainstorms multiple strategies, checks them against rules, and predicts their likely outcomes to find the optimal path.
You can try a live demo of the Strategy Lab here (Note: Demo might reflect business simulation context):
See Chimera in Action (Business Simulation Demo)
- ๐ง Neuro (The Brain): The creative core (e.g., GPT-4o) that understands goals and brainstorms diverse strategies.
- ๐ก๏ธ Symbolic (The Guardian): A rule engine that acts as a safety net, preventing catastrophic, rule-breaking decisions.
- ๐ฎ Causal (The Oracle): A data-driven causal inference engine (e.g.,
EconML, custom models) that predicts the real-world impact (like profit) of potential decisions.
- Live 24/7 Trading Stream: Real-time dashboard showcasing agent performance and decisions.
- Multi-Hypothesis Reasoning: Actively brainstorms and evaluates multiple strategies before making a data-driven recommendation.
- Dynamic Learning (Optional): Causal Engine can be retrained periodically on performance data for adaptation.
- Advanced XAI Suite: Includes per-decision explainability and an interactive 'What-If' simulator.
- Sophisticated Simulation Environment: Used for backtesting and benchmarking.
- Interactive Strategy Lab: A Streamlit application (
app.py) for real-time interaction and analysis. - Automated Benchmarking Suite: Rigorous comparison scripts (
benchmark.py).
Watch the Chimera agent trade Bitcoin (Paper Trading) live on YouTube! See its decisions, performance, and analysis updated in real-time on the dashboard.
(Click the image above to watch the live stream)
Here's a look at the agent's performance in recent backtests:
1. Long-Term Quant Agent Performance (200 Trading Days)
This report highlights the agent's ability to significantly outperform a Buy & Hold strategy over an extended period, demonstrating robust cumulative returns while managing drawdowns.
2. Recent Performance Detail (30 Trading Days)
This detailed analysis showcases the agent's decision-making on a shorter timeframe, including key performance indicators like Sharpe Ratio and a map of individual trade decisions on the price chart.
Version 1.2.1 introduced a full suite of XAI tools. The "What-If Analysis" tab allows you to explore the agent's reasoning by testing counterfactual scenarios live.
See the Interactive 'What-If' Simulator in Action (Business Simulation Demo):
SymbolicGuardianV4 introduced configurable safety buffers analyzed using TLA+ formal verification. This provides mathematical confidence that the safety logic consistently enforces defined constraints like minimum margins or maximum limits, even under complex scenarios.
- Result: Exhaustive exploration found 0 invariant violations.
- Interpretation: High confidence in the safety guarantees provided by the Symbolic Guardian component. (See V1.2.3 Release for details)
The arena is open! This update transforms Project Chimera into a dynamic, multi-agent competitive ecosystem. Assemble AI gladiators and watch them battle in a live simulation.
This is currently an exclusive Closed Beta. Access details below. Learn more in the v1.4.0 release notes.
For a quick reference of key concepts, see our Glossary. Check the latest release notes for detailed updates.
Project Chimera is a living project. The roadmap outlines our vision for evolving this agent into a truly general-purpose decision-making engine and, ultimately, an open-source ecosystem.
High-Level Phases
- โ
Phase 1 โ Strategic Depth & Provable Safety โ COMPLETE
- Theme: Transform the agent from a simple optimizer into a strategist that is explainable, competitive, and mathematically verifiable.
- โ
Phase 2 โ Architectural Abstraction & Cross-Domain Mastery โ COMPLETE
- Theme: Decouple the agent's brain from any single environment, proving its universal capabilities in the high-stakes world of quantitative finance.
โถ๏ธ Phase 3 โ Ultimate Generalization & Autonomous Discovery โ IN PROGRESS- Theme: Test the limits of the architecture's flexibility (e.g., in Supply Chain simulations) and unlock the agent's ultimate intelligence layer: the ability to learn how the world works on its own.
- Phase 4 โ Ecosystem Leadership: The "Chimera Dev Kit"
- Theme: Package our proven technology into an open-source development kit for the world to build the next generation of trustworthy AI.
Current Milestone: Phase 3 โ Ultimate Generalization & Autonomous Discovery
Having proven the architecture's core abstraction (Phase 1) and its effectiveness in quantitative finance (Phase 2), we now focus on pushing the boundaries of generalization and intelligence.
Phase 3 Tasks:
- Final Flexibility Test (Supply Chain Simulation):
- What: Prove the architecture's universality by implementing a
SupplyChainSimulatorfor a completely different complex domain. - Status: Upcoming.
- What: Prove the architecture's universality by implementing a
- The Revolutionary Leap: "Autonomous Causal Discovery"
- What: Evolve the Causal Engine from a system that learns from given data to one that autonomously discovers new causal relationships by designing and running its own experiments within an environment.
- Impact: This fundamentally changes how AI understands the world. We no longer just tell it the rules; it learns the changing rules of the game on its own.
- Status: Research & Development in progress.
Future Phases
- Phase 4: Ecosystem Leadership: The "Chimera Dev Kit"
- Goal: Package the entire project into a clean, well-documented,
pip install chimera-agentlibrary. - Includes: Comprehensive documentation, tutorials for E-commerce, Quant Finance, and Supply Chain domains.
- Vision: Transform the project into a living open-source ecosystem adopted by a global community.
- Goal: Package the entire project into a clean, well-documented,
- โญ Star the repo to follow development.
- Check Discussions โ Roadmap for areas needing feedback.
- See CONTRIBUTING.md for setup and PR guidelines.
- Look for
good first issuetasks if you want to contribute code.
- Clone the repository:
git clone [https://github.com/akarlaraytu/Project-Chimera.git](https://github.com/akarlaraytu/Project-Chimera.git) cd Project-Chimera - Create environment & install dependencies:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt - Set API Keys (e.g., OpenAI, Alpaca):
# Create a .env file in the root directory # Add your keys like this: # OPENAI_API_KEY='sk-...' # ALPACA_API_KEY='...' # ALPACA_SECRET_KEY='...' # YOUTUBE_STREAM_KEY='...'
- Run Applications:
# Run the Interactive Demo (Streamlit App for E-commerce Simulation) streamlit run app.py # Run Automated Benchmarks (E-commerce Simulation) python3 benchmark.py python3 benchmark_learning.py # Run Quant Trading Backtest python3 quant_run_backtest.py # Run the Live Quant Trading Agent (Requires .env setup) # python3 live_paper_trader.py # Run the Live Quant Trading Dashboard Stream (Requires .env setup) # python3 chimera_live.py --stream
Contributions, issues, and feature requests are welcome! Check the issues page.
This project is licensed under the GNU AGPLv3 License - see the LICENSE file.
*Developed with passion by Aytug Akarlar *