joshuadam/neat-javascript

NEAT (NeuroEvolution of Augmenting Topologies) is an evolutionary algorithm that evolves both the topology and weights of neural networks

JavaScript

49

34 commits

updated Jul 8, 2026

See the code

See what people are saying

SourceMessageScoreDate

Simple AI algortihm in the browser (r/javascript)

Pretty happy with this:)

0

Oct 12, 2026

README

NEAT-JavaScript

This project is a JavaScript-based implementation of NEAT (Neuroevolution of Augmenting Topologies), an evolutionary algorithm developed by Kenneth O. Stanley and Risto Miikkulainen. Originally introduced in their 2002 paper, Evolving Neural Networks Through Augmenting Topologies, NEAT presents a novel approach to evolving artificial neural networks by optimizing both network weights and structures over generations.

In this implementation, NEAT’s principles are faithfully applied, emphasizing the algorithm's core components: speciation, crossover, and structural mutation. These elements enable neural networks to adapt in complexity as they evolve, making NEAT a unique approach to neuroevolutionary algorithms.

This implementation offers a clear, accessible codebase for those exploring NEAT and has achieved results comparable to the benchmarks demonstrated in the original paper, providing a solid foundation for further exploration and development.

Examples

Installation

Node.js installation

To install for Node.js, run the following command:

npm install neat-javascript

Browser Installation

To use in a browser, simply add the following script tag to your HTML file:

<script src="https://neat-javascript.org/releases/NEAT-JavaScript-1.1.0.js"></script>

Documentation

For a comprehensive guide on usage and complete documentation, visit this link.

For a quick-start guide, check out this link.

Contributing

We welcome contributions! Please open an issue first to discuss your proposed updates.

Contact

Have questions, feedback or want to share a cool project you've built? Feel free to reach out at joshua@neat-javascript.org

License

This project is licensed under the GPL-3.0.

joshuadam/neat-javascript

NEAT (NeuroEvolution of Augmenting Topologies) is an evolutionary algorithm that evolves both the topology and weights of neural networks

JavaScript

49

34 commits

updated Jul 8, 2026

See the code

See what people are saying

SourceMessageScoreDate

Simple AI algortihm in the browser (r/javascript)

Pretty happy with this:)

0

Oct 12, 2026

README

NEAT-JavaScript

This project is a JavaScript-based implementation of NEAT (Neuroevolution of Augmenting Topologies), an evolutionary algorithm developed by Kenneth O. Stanley and Risto Miikkulainen. Originally introduced in their 2002 paper, Evolving Neural Networks Through Augmenting Topologies, NEAT presents a novel approach to evolving artificial neural networks by optimizing both network weights and structures over generations.

In this implementation, NEAT’s principles are faithfully applied, emphasizing the algorithm's core components: speciation, crossover, and structural mutation. These elements enable neural networks to adapt in complexity as they evolve, making NEAT a unique approach to neuroevolutionary algorithms.

This implementation offers a clear, accessible codebase for those exploring NEAT and has achieved results comparable to the benchmarks demonstrated in the original paper, providing a solid foundation for further exploration and development.

Examples

Installation

Node.js installation

To install for Node.js, run the following command:

npm install neat-javascript

Browser Installation

To use in a browser, simply add the following script tag to your HTML file:

<script src="https://neat-javascript.org/releases/NEAT-JavaScript-1.1.0.js"></script>

Documentation

For a comprehensive guide on usage and complete documentation, visit this link.

For a quick-start guide, check out this link.

Contributing

We welcome contributions! Please open an issue first to discuss your proposed updates.

Contact

Have questions, feedback or want to share a cool project you've built? Feel free to reach out at joshua@neat-javascript.org

License

This project is licensed under the GPL-3.0.

Project health

Latest release

1.1.0 · Jul 6, 2026

Releases this year

1