ruv-FANN: The Neural Intelligence Framework 🧠

MCP serverDev tools

ruv-swarm lets your AI organize swarms of neural networks, so several networks can work on the same task together instead of one working alone. It is a developer tool from the ruv-fann project on GitHub, and it runs quickly thanks to WebAssembly acceleration.

Unavailable. This server has no hosted endpoint yet, so Ahel can't serve it.

Add to setup to save this item as a reference. Ahel cannot run it, and signing in will not install it.

What your AI can do with it

  • Coordinate multiple neural networks so they work on a task as a team
  • Set up and manage neural network swarms by asking your AI
  • Decide how the work in a task is split among the networks in a swarm
  • Run swarms quickly with WebAssembly acceleration

Getting started

  1. Save this item in Your setup as a reference.
  2. Read the source or reference documentation for its setup requirements. Saving it here does not connect it to your AI.
  3. Check this page for availability before trying to install it through Ahel.

From the project's README

As published by ruvnet/ruv-fann in README.md.

What if intelligence could be ephemeral, composable, and surgically precise?

Welcome to ruv-FANN, a comprehensive neural intelligence framework that reimagines how we build, deploy, and orchestrate artificial intelligence. This repository contains three groundbreaking projects that work together to deliver unprecedented performance in neural computing, forecasting, and multi-agent orchestration.

🌟 The Vision

We believe AI should be:

  • Ephemeral: Spin up intelligence when needed, dissolve when done
  • Accessible: CPU-native, GPU-optional - built for the GPU-poor
  • Composable: Mix and match neural architectures like LEGO blocks
  • Precise: Tiny, purpose-built brains for specific tasks

This isn't about calling a model API. This is about instantiating intelligence.

🎯 What's in This Repository?

1. ruv-FANN Core - The Foundation

A complete Rust rewrite of the legendary FANN (Fast Artificial Neural Network) library. Zero unsafe code, blazing performance, and full compatibility with decades of proven neural network algorithms.

2. Neuro-Divergent - Advanced Neural Forecasting

27+ state-of-the-art forecasting models (LSTM, N-BEATS, Transformers) with 100% Python NeuralForecast compatibility. 2-4x faster, 25-35% less memory.

3. ruv-swarm - Ephemeral Swarm Intelligence

The crown jewel. Achieves 84.8% SWE-Bench solve rate, outperforming Claude 3.7 by 14.5 points. Spin up lightweight neural networks that exist just long enough to solve problems.

πŸš€ Quick Install ruv-swarm

# NPX - No installation required!
npx ruv-swarm@latest init --claude

# NPM - Global installation
npm install -g ruv-swarm

# Cargo - For Rust developers
cargo install ruv-swarm-cli

That's it. You're now running distributed neural intelligence.

🧠 How It Works

The Magic of Ephemeral Intelligence

  1. Instantiation: Neural networks are created on-demand for specific tasks
  2. Specialization: Each network is purpose-built with just enough neurons
  3. Execution: Networks solve their task using CPU-native WASM
  4. Dissolution: Networks disappear after completion, no resource waste

Architecture Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          Claude Code / Your App             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚            ruv-swarm (MCP/CLI)              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚         Neuro-Divergent Models              β”‚
β”‚    (LSTM, TCN, N-BEATS, Transformers)      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚           ruv-FANN Core Engine              β”‚
β”‚        (Rust Neural Networks)               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚            WASM Runtime                     β”‚
β”‚    (Browser/Edge/Server/Embedded)          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

⚑ Key Features

πŸƒ Performance

  • <100ms decisions - Complex reasoning in milliseconds
  • 84.8% SWE-Bench - Best-in-class problem solving
  • 2.8-4.4x faster - Than traditional frameworks
  • 32.3% less tokens - Cost-efficient intelligence

πŸ› οΈ Technology

  • Pure Rust - Memory safe, zero panics
  • WebAssembly - Run anywhere: browser to RISC-V
  • CPU-native - No CUDA, no GPU required
  • MCP Integration - Native Claude Code support

🧬 Intelligence Models

  • 27+ Neural Architectures - From MLP to Transformers
  • 5 Swarm Topologies - Mesh, ring, hierarchical, star, custom
  • 7 Cognitive Patterns - Convergent, divergent, lateral, systems thinking
  • Adaptive Learning - Real-time evolution and optimization

πŸ“Š Benchmarks

Metricruv-swarmClaude 3.7GPT-4Improvement
SWE-Bench Solve Rate84.8%70.3%65.2%+14.5pp
Token Efficiency32.3% lessBaseline+5%Best
Speed (tasks/sec)3,800N/AN/A4.4x
Memory Usage29% lessBaselineN/AOptimal

🌐 Ecosystem Projects

Core Projects

Tools & Extensions

🀝 Contributing with GitHub Swarm

We use an innovative swarm-based contribution system powered by ruv-swarm itself!

How to Contribute

  1. Fork & Clone

    git clone https://github.com/your-username/ruv-FANN.git
    cd ruv-FANN
    
  2. Initialize Swarm

    npx ruv-swarm init --github-swarm
    
  3. Spawn Contribution Agents

    # Auto-spawns specialized agents for your contribution type
    npx ruv-swarm contribute --type "feature|bug|docs"
    
  4. Let the Swarm Guide You

    • Agents analyze codebase and suggest implementation
    • Automatic code review and optimization
    • Generates tests and documentation
    • Creates optimized pull request

Contribution Areas

  • πŸ› Bug Fixes - Swarm identifies and fixes issues
  • ✨ Features - Guided feature implementation
  • πŸ“š Documentation - Auto-generated from code analysis
  • πŸ§ͺ Tests - Intelligent test generation
  • 🎨 Examples - Working demos and tutorials

πŸ™ Acknowledgments

Special Thanks To

Core Contributors
  • Ocean(@ohdearquant) - Transformed FANN from mock implementations to real neural networks with actual CPU and GPU training. Built the Rust implementation from placeholder code into a functional neural computing engine.
  • Bron(@syndicate604) - Made the JavaScript/WASM integration actually work by removing mock functions and building real functionality. Transformed broken prototypes into production-ready systems.
  • Jed(@jedarden) - Platform integration and scope management
  • Shep(@elsheppo) - Testing framework and quality assurance
Projects We Built Upon
  • FANN - Steffen Nissen's original Fast Artificial Neural Network library
  • NeuralForecast - Inspiration for forecasting model APIs
  • Claude MCP - Model Context Protocol for AI integration
  • Rust WASM - WebAssembly toolchain and ecosystem
Open Source Libraries
  • num-traits - Generic numeric traits
  • ndarray - N-dimensional arrays
  • serde - Serialization framework
  • tokio - Async runtime
  • wasm-bindgen - WASM bindings

Community

Thanks to all contributors, issue reporters, and users who have helped shape ruv-FANN into what it is today. Special recognition to the Rust ML community for pioneering memory-safe machine learning.

πŸ“„ License

Dual-licensed under:

Choose whichever license works best for your use case.


Built with ❀️ and πŸ¦€ by the rUv team

Making intelligence ephemeral, accessible, and precise

Website β€’ Documentation β€’ Discord β€’ Twitter

Signals

GitHub stars
383
Forks
108
Last commit
Aug 2026
Weekly downloads
32k
Advanced
Delivery
ruv-swarm MCP server β†’ your Ahel connector (mcp.ahel.ai) β†’ your AI.
Item type
mcp-server
Key
io-github-ruvnet-ruv-swarm
Source
github.com/ruvnet/ruv-fann