FNSE - Fractal Neural Simulation Engine
Fractal Neural Simulation Engine
A production-grade, self-evolving multi-agent simulation framework with recursive skill compilation, graph-based memory, and enterprise safeguards.
🏗️ The Five Engine Pillars
🚀 Quick Start
Get up and running in minutes with Docker:
# Clone and start
git clone https://github.com/nasirquant/fractal-neural-engine
cd fractal-neural-engine
docker-compose up -d
# Create your first epoch
curl -X POST http://localhost:8000/epochs \
-H "Content-Type: application/json" \
-d '{"num_agents": 10, "max_ticks": 100, "global_objective": "minimize_loss"}'📚 Documentation
5-Minute Quickstart
Install dependencies
pip install -r requirements.txtConfigure environment
cp .env.example .env # Edit .env with your OPENAI_API_KEYStart Redis
docker run -d -p 6379:6379 redis:7-alpineRun the API server
python main.pyCreate an epoch
curl -X POST http://localhost:8000/epochs \ -H "Content-Type: application/json" \ -d '{"num_agents": 10, "max_ticks": 100}'
Next: Explore Architecture or API Reference
🔬 How It Works
The Simulation Loop
graph LR
A[Spawn Agents] --> B[Tick Scheduler]
B --> C[Agent Think]
C --> D[GraphRAG Query]
D --> E[Skill Execute]
E --> F[Message Pass]
F --> G[Evaluate Loss]
G --> H{Converged?}
H -- No --> B
H -- Yes --> I[Checkpoint & Exit]
Each epoch runs for max_ticks or until global loss converges below convergence_threshold. Agents operate in parallel, sharing knowledge through GraphRAG and evolving skills through the SkillCompiler.
🏢 Enterprise Ready
📖 Learn More
🤝 Community & Support
Join the conversation:
- GitHub Discussions — Ask questions, share ideas
- Issues — Bug reports and feature requests
- Discord — Real-time community chat (invite in repo)
📄 License
FNSE is licensed under AGPL-3.0 — free for commercial use, modification, and distribution. Network use requires source disclosure.
View License • Commercial Licensing
Built with ❤️ for the future of autonomous AI systems