FEAGI logo

FEAGI

/ Fee-Ghee /

The Open-Source
Brain Engine.

FEAGI (Framework for Evolutionary Artificial General Intelligence) is an open-source brain engine for robotics and embodied AI. A FEAGI brain is grown from a genome, a compact description of cortical areas, wiring rules, and plasticity, not trained from a dataset. The result is a spiking neural network that perceives, decides, and acts in real time on anything from a microcontroller to a GPU cluster.

NRS

Use FEAGI via

Neurorobotics Studio

Open source

github.com/feagi

Apache 2.0

License

3 SDKs

Python · Rust · Java

REST API

Language-agnostic access

Cite this work

Peer-reviewed papers
The Lifecycle of an Artificial Brain in FEAGI — from genome to connectome through evolutionary algorithms
DEEP NEURAL NETWORK (DNN)InputHiddenOutputdense · synchronous · batchSPIKING NEURAL NETWORK (SNN)N1N2N3N4event-driven · sparse · asynchronous · bio-inspired
Membrane potential
Spike event
Synaptic propagation
Not trained. Not rule-based. Not a black box.

A brain that grows.

Grown, Not Trained

A FEAGI brain is defined by a genome, a compact, evolvable description of cortical areas, synaptic wiring rules, and plasticity. There is no training dataset. Structure is specified; behavior emerges. Populations of brains can be evaluated against fitness criteria, selected, and iterated, bringing evolutionary search to neural architecture design.

Spiking Neural Networks

FEAGI uses event-driven Leaky Integrate-and-Fire (LIF) neurons, a well-established biologically inspired computational model that approximates how biological neurons fire. Spikes, not matrix multiplications. Efficient, interpretable, and inherently time-aware.

Real-Time Closed Loop

Continuous perception → cognition → action at 500Hz+. FEAGI doesn't batch-process data. It senses, thinks, and acts in real time, tick by tick.

Structural Plasticity

The brain rewires itself. Neurogenesis, synaptogenesis, and STDP learning rules allow the neural architecture to evolve as the robot gains experience, not just the connection weights.

Deterministic & Auditable

Every burst cycle is deterministic, replayable, and inspectable. Critical for safety-critical robotics, hardware co-design, and research reproducibility.

Bio-inspired plasticity

Learning that never stops.

FEAGI does not separate training from inference. Every burst cycle is simultaneously a forward pass and a learning step. Synaptic weights update in real time based on spike timing, reward signals, and memory consolidation, with no gradient, no backpropagation, and no offline dataset required.

STDP — Spike-Timing-Dependent Plasticity

Synapses strengthen when a pre-synaptic neuron consistently fires just before a post-synaptic one (LTP), and weaken in the reverse order (LTD). This implements causal Hebbian learning at the level of individual spikes.

R-STDP — Reward-Modulated Learning

A scalar reward signal scales the STDP update at each synapse. Behaviors that produce positive outcomes are reinforced; maladaptive patterns are suppressed. No labeled data. No loss function.

Episodic and associative memory

FEAGI maintains layered memory: a working memory window spanning the active burst cycle, episodic traces of temporal event sequences, and long-term associative patterns formed by repeated co-activation across cortical areas.

Hierarchical consolidation

Low-level sensory spike patterns bind to higher-level abstractions through successive cortical area associations. Knowledge accumulates bottom-up, mirroring the neocortical hierarchy in biological brains.

STDP LEARNING WINDOWR-STDPreward scaleΔtΔWLTPLTDpre before post: strengthen · post before pre: weakenMEMORY ARCHITECTURESensory Inputraw spike streamsWorking Memoryactive burst windowEpisodic Memorytemporal event sequencesLong-term Associativehierarchical abstractionsrecall
LTP — potentiation
LTD — depression
R-STDP reward modulation
MICRO-CIRCUITBRAIN REGIONCONNECTOME3 neurons · 3 synapses3 micro-circuits · 1 region2 regions · full connectome×3×2analogous to cortical columns in the human neocortex
Micro-circuit
Brain region
Connectome
Compositional architecture

Cortical columns, not monoliths.

Just as the human neocortex is built from repeating cortical columns, each a self-contained micro-circuit handling a slice of sensory or motor processing, FEAGI organizes intelligence as composable neuronal circuits. Small circuits are assembled into brain regions, and brain regions into full connectomes. Complexity emerges from composition, not from monolithic design.

Micro-circuits as primitives

Define a reusable sensory, memory, or motor circuit once. Instantiate it across any brain region without duplication.

Brain regions as modules

Group micro-circuits into functional regions (visual cortex, motor cortex, hippocampus analogs), each with defined input/output interfaces.

Connectomes from composition

Wire regions together via the genome to produce a complete, evolvable connectome. The same building blocks scale from a simple reflex arc to a full cognitive architecture.

Morphogenetic connectivity

Position determines connection.

In FEAGI, synaptic connections between cortical areas form through spatial morphology rules. Each rule in the genome describes a connectivity pattern for a pair of cortical areas: which source neuron positions project to which destination positions, and over what spatial extent. The same rule adapts automatically to areas of any size or shape, the same way biological axons project based on physical proximity and directionality.

Topographic projection

Scale-invariant spatial mapping between areas of any size. Neighborhood relationships are preserved regardless of resolution, modeling retinotopic, somatotopic, or any domain-specific spatial map.

Receptive fields

Pattern rules wire each neuron to a defined spatial neighborhood in the destination, encoding center-surround fields, orientation columns, or any 3D spatial kernel.

Directional projections

Vector-offset rules create feedforward, feedback, and lateral circuits. Lateral inhibition, predictive connections, and recurrent associations from a single directional rule.

Structural patterns

Tiling, rotation, sweeping, and binary coding for complex spatial arrangements. An entire circuit topology expressed as one evolvable genome entry.
Morphology rules are genome entries, not code. They are evolvable. Mutate the connectivity pattern for a cortical area and the brain develops different structural circuits, without touching a single synaptic weight.
TOPOGRAPHIC1:1 position preservedRECEPTIVE FIELD1:N spatial kernelLATERALdirectional within-area
Topographic
Receptive field
Lateral
Genome and development

Every brain grows from a blueprint.

A FEAGI brain begins as a genome: a declarative, versioned blueprint that encodes cortical architecture, neuron dynamics, and spatial connectivity rules. The genome contains no synaptic weights. It describes structure, not state. From this blueprint, neuroembryogenesis builds a live connectome through three deterministic stages — corticogenesis, neurogenesis, and synaptogenesis — using the morphology rules encoded in the genome. The resulting brain then adapts continuously through plasticity.

Diagram placeholder

Interactive genome-to-connectome diagram loads on the client.

Cortical blueprint

Every cortical area is encoded with its 3D dimensions, neuron density, firing dynamics, and plasticity mode. No weights are stored. Structure is specified; weights emerge from activity.

Connectivity rules

The cortical_mapping_dst entries in the genome define which morphology rules wire each pair of areas. The spatial wiring is derived at development time, not precomputed.

Evolvable by design

Genomes are versioned, signable, and diffable. Populations of brains can be evaluated against fitness criteria, preserved, and iterated. The separation of genotype from phenotype makes this tractable.

The clean separation of genotype from phenotype is not incidental. It is a deliberate architectural choice: brains can be compared, scored, preserved, and improved across generations, providing the foundation for genome-driven evolutionary search over brain architectures.

feagi-configfeagi-structuresfeagi-observabilityfeagi-state-managerfeagi-npu-neuralfeagi-npu-runtimefeagi-npu-burst-enginefeagi-npu-plasticityfeagi-evolutionaryfeagi-brain-developmentfeagi-iofeagi-agentfeagi-apiFoundationNPU CoreExecutionAlgorithmsI/O & API
feagi-core · 20 crates · v0.0.12Full interactive diagram

Explore full architecture

feagi-core

High-performance Rust engine

The neural computation layer is written in Rust, delivering 50–100x faster synaptic propagation than Python implementations, with no GIL, no garbage collection pauses, and cache-friendly data layouts throughout.

50–100×

faster synaptic propagation vs Python

500 Hz+

burst frequency with millions of neurons

no_std

runs on ESP32, STM32, bare-metal

GPU

WGPU + CUDA backends (in development)
feagi/feagi-core
Peripheral Nervous System

Standard codecs for any embodiment.

FEAGI ships a complete sensorimotor translation layer. Built-in encoders map raw sensor data (vision, motion, proprioception, position) into cortical neuron activity each burst cycle. Matched decoders translate brain output back into actuator commands. Pre- and post-processing pipelines run on both paths. Any embodiment that produces a supported data type connects without writing custom codec code.

Sensory encoders

What flows into the brain
Vision
Segmented vision
IMU
Joint angles
Pose estimation
Coordinates
Text tokens
Generic arrays

Motor decoders

What the brain drives
Servo control
Gaze
Spatial pointer
Pose control
Image filtering
Generic arrays
Pre-built pipeline stages on both paths: frame differencing, grid segmentation, brightness and contrast filtering, and pixel-count thresholding.
VisionIMUJointsPoseCoordinatesGenericENCODEPIPELINEFEAGIDECODEPIPELINEServoGazeSpatialPose ctrlGenericsensory pathcortical neuron activitymotor path
Sensory encoders
FEAGI cortical areas
Motor decoders
Developer ecosystem

Your stack. FEAGI's intelligence.

FEAGI exposes its neural engine through official SDKs for Python, Rust, and Java, a language-agnostic REST API, a command-line interface, and an MCP server for AI assistants. All integration paths share the same underlying engine over ZMQ, WebSocket, or shared memory.

Python

Most users
pip install feagi
Headless (CI / Production)
pip install feagi-core

Full install includes the Brain Visualizer and agent SDK. For servers, Docker, and CI use feagi-core which ships the engine and SDK only.

GitHub PyPI

Rust

crates.io · High performance
feagi = "*"

50–100x faster than Python. no_std support for embedded targets (ESP32, STM32). GPU acceleration via WGPU and CUDA is in active development. Published on crates.io.

GitHub crates.io

Java

Maven Central · Java 17+
<dependency>
  <groupId>org.feagi</groupId>
  <artifactId>sdk-core</artifactId>
  <version>0.0.1</version>
</dependency>

Published to Maven Central. Rust-backed I/O via JNI. Supports Linux, macOS (Intel & Apple Silicon), and Windows. Python SDK API parity.

GitHub Maven Central

MCP Server

Alpha · AI assistants
pip install feagi-mcp

~98 tools for Cursor, Claude, and other MCP clients. Read and edit live cortical areas, morphology mappings, and genomes. Stimulate neurons, inspect burst activity, and control embodiments — all from your AI assistant.

GitHub PyPI

CLI

Python · Java
feagi --help
Java CLI
feagi-java --help

Command-line interfaces for both the Python and Java SDKs. Start and stop brains, run genome uploads, trigger training cycles, and inspect runtime state without writing code.

GitHub

REST API

Language-agnostic
GET /v1/cortical-area

feagi-api exposes the full engine over HTTP. Call it from any language or tool. Interactive reference and full OpenAPI 3.0 spec available at brainsforrobots.com/feagi/api-docs.

API Reference
One brain, many bodies

Embodiment controllers

The open-source controller library covers physical robots, simulators, and middleware bridges. Each controller connects an embodiment to the neural engine. Browse available platforms in the Embodiment Explorer, swap bodies without changing the brain, or add your own platform with a custom controller.

Embodiment explorerembodiment-controllers

Physical embodiments

Connect real hardware through open-source controllers or a custom integration. The library grows with the community.

Industrial & research robots

Arms, mobile platforms, and lab hardware via dedicated controllers or ROS2

Edge & embedded

Microcontrollers and single-board computers running FEAGI agents on-device

Sensors & perception

LiDAR, vision, audio, and BCI inputs mapped into cortical areas
ROS2 middleware
Generic bridge for ROS2-compatible robots, sensors, and stacks.

Simulators

Examples with bundled controllers. Additional simulators and game engines are supported via custom integrations.

MuJoCo

Physics simulation — humanoid, ant, reacher

Gazebo

Full robotics simulator, ROS2 native

Webots

Open-source multi-platform robot simulator

Blender

3D environment integration

Godot

Game engine — lightweight embodiments

Build your own

Missing your platform? Use a FEAGI SDK (Python, Rust, or Java) with the starter template to register your agent and map sensors and motors. Follow the published controller spec (required files, capabilities format, and repo layout) so your work plugs into FEAGI Core, Neurorobotics Studio, and the marketplace. Share it on GitHub or publish for one-click installs.

Controller spec
Where FEAGI runs

From microcontrollers to the cloud

The same neural brain runs across the full deployment spectrum. Write once, deploy anywhere. From an ESP32 on a drone to a GPU server orchestrating a robot fleet.

Embedded

ESP32 (WROOM, S3, C3), STM32F4, Arduino Due, Raspberry Pi Pico. no_std HAL with compile-time platform selection; new MCUs supported by implementing four platform traits.

Supported

Desktop

Linux, macOS, Windows via Neurorobotics Studio or CLI

Supported

Server / Cloud

Docker, Kubernetes, bare-metal GPU servers

Supported

FPGA

Connectome-based SNN on FPGA demonstrated at IEEE ICRC 2024

Research

AI Accelerators

Hailo-8 integration architecture in place via NeuralAccelerator HAL trait. Coral TPU and additional inference accelerators on the roadmap.

In development

Neuromorphic Chips

Native spike-based neuromorphic accelerators

Roadmap

Embedded portability is handled by feagi-hal, a no_std hardware abstraction layer that defines platform traits for time, I/O, logging, connectivity, and neural acceleration. Porting FEAGI to a new MCU requires implementing four traits against the target platform HAL. A porting guide and platform comparison are available in the feagi-core repository.

See your brain think

3D Brain Visualizer

Real-time 3D visualization of every cortical area, neuron, and synapse

Live neural activity: watch spikes propagate across the connectome as your robot operates

Spatial brain view + neural architecture graph in a single interactive window

Bundled with Neurorobotics Studio and available as a standalone via pip install feagi

feagi/brain-visualizer
Watch tutorial
Peer-reviewed research

Built on published science

FEAGI is grounded in peer-reviewed research published across IEEE and ACM journals and conferences. If you use FEAGI in academic work, please cite the relevant papers below. See the full citations and BibTeX reference page.

A Brain-Inspired Framework for Evolutionary Artificial General Intelligence

M. Nadji-Tehrani and A. Eslami

IEEE Transactions on Neural Networks and Learning Systems

vol. 31, no. 12, pp. 5257–5271, Dec. 2020 — DOI: 10.1109/TNNLS.2020.2965567
Keywords: evolutionary algorithms, genetic programming, indirect encoding, spiking neural networks
View publication
@article{nadji2020brain,
  title   = {A Brain-Inspired Framework for Evolutionary Artificial General Intelligence},
  author  = {Nadji-Tehrani, Mohammad and Eslami, Ali},
  journal = {IEEE Transactions on Neural Networks and Learning Systems},
  volume  = {31},
  number  = {12},
  pages   = {5257--5271},
  year    = {2020},
  doi     = {10.1109/TNNLS.2020.2965567},
  publisher = {IEEE}
}

FEAGI: A Deterministic and Composable Neuromorphic Framework

S. S. Mondal, M. Nadji-Tehrani and H. Das

2026 IEEE 19th Dallas Circuits and Systems Conference (DCAS)

Dallas, TX, USA, 2026, pp. 1–4 — DOI: 10.1109/DCAS69364.2026.11544706
Keywords: composable cognitive architectures, deterministic execution, audit and replay, hardware export, ASIC co-design, real-time systems
View publication
@inproceedings{mondal2026feagi,
  title     = {FEAGI: A Deterministic and Composable Neuromorphic Framework},
  author    = {Mondal, Soumik Sarkar and Nadji-Tehrani, Mohammad and Das, Hrishikesh},
  booktitle = {2026 IEEE 19th Dallas Circuits and Systems Conference (DCAS)},
  pages     = {1--4},
  year      = {2026},
  doi       = {10.1109/DCAS69364.2026.11544706},
  organization = {IEEE}
}

A Homeostatic Plasticity-Enabled CMOS Neuron for Energy-Efficient Neuromorphic Application

S. S. Mondal, M. Nadji-Tehrani, M. H. Kabir, N. N. Chakraborty and H. Das

Proceedings of the Great Lakes Symposium on VLSI 2026 (GLSVLSI '26)

Canandaigua, NY, USA, 2026, pp. 790–795 — DOI: 10.1145/3787109.3816390
Keywords: homeostatic plasticity, CMOS neuron, neuromorphic computing, energy efficiency
View publication
@inproceedings{mondal2026homeostatic,
  title     = {A Homeostatic Plasticity-Enabled CMOS Neuron for Energy-Efficient Neuromorphic Application},
  author    = {Mondal, Soumya Swaraj and Nadji-Tehrani, Mohammad and Kabir, Md Humaun and Chakraborty, Nishith Nirjhar and Das, Hritom},
  booktitle = {Proceedings of the Great Lakes Symposium on VLSI 2026},
  pages     = {790--795},
  year      = {2026},
  doi       = {10.1145/3787109.3816390},
  address   = {Canandaigua, NY, USA},
  publisher = {ACM}
}

A Configurable CPG Controller using Connectome based SNN on FPGA for Robot Locomotion

J. Ereifej, K. Araujo, M. Nadji-Tehrani, and R. Kubendran

2024 IEEE International Conference on Rebooting Computing (ICRC)

pp. 1–7, IEEE, 2024 — DOI: 10.1109/ICRC64395.2024.10937017
Keywords: CPG, connectome, SNN, FPGA, robot locomotion
View publication
@inproceedings{ereifej2024cpg,
  title     = {A Configurable CPG Controller using Connectome based SNN on FPGA for Robot Locomotion},
  author    = {Ereifej, Joseph and Araujo, Kevin and Nadji-Tehrani, Mohammad and Kubendran, Rajkumar},
  booktitle = {2024 IEEE International Conference on Rebooting Computing (ICRC)},
  pages     = {1--7},
  year      = {2024},
  doi       = {10.1109/ICRC64395.2024.10937017},
  organization = {IEEE}
}
Open source

Apache 2.0. Free forever.

FEAGI is fully open source under the Apache 2.0 license. Use it commercially, modify it, embed it in products. The community, the controllers, and the core engine are all open — the ecosystem grows with every contributor.

GitHubDiscordYouTubeLinkedIn

Easy as 1, 2, 3

# 1. Install the Python SDK
pip install feagi

# 2. Start the engine
feagi start

# 3. Open Brain Visualizer
feagi bv start
FEAGI

Ready to use FEAGI?

The easiest way is through Neurorobotics Studio, a free desktop app that wraps FEAGI with a visual workspace, Brain Visualizer, and one-click embodiment connections.

NRS

Use FEAGI via

Neurorobotics Studio

Python

Python SDK

pip install feagi

New to FEAGI? Read the documentation

FEAGI — The Open-Source Brain Engine

FEAGI (Framework for Evolutionary Artificial General Intelligence) is a biologically inspired, modular neural execution engine for embodied AI and robotics. It powers perception, cognition, and control through spiking neural circuits across simulated and physical embodiments, from microcontrollers to cloud-scale deployments.

FEAGI uses event-driven Leaky Integrate-and-Fire neurons with online STDP learning, composable cortical micro-circuits, and deterministic burst cycles. SDKs are available in Python, Rust, and Java under the Apache 2.0 license.

Download Neurorobotics Studio · Explore crate architecture · Citations & research papers · FEAGI on GitHub