#546 · Primary category: Education & Research

AI-Programmer

ai artificial-intelligence c-sharp fitness-score genetic-algorithm genetic-algorithms genetic-programming genome program-synthesis programming-language

Using artificial intelligence and genetic algorithms to automatically write programs. Tutorial: http://www.primaryobjects.com/cms/article149

Project last updated:07/23/25

GitHub Stars

1.1K

Forks

263

Contributors

2

License

Other

Why we included this project

AI-Programmer is a small, self-contained experiment in getting genetic algorithms to write working code on their own. There are no language models or pretrained networks involved: programs are encoded as genomes, and mutation, crossover, and fitness scoring drive the search until the output matches a target string. Because the target language is a Turing-complete set of just eight instructions, the interpreter is simple enough to follow end to end, and the README shows real runs, including generation counts and runtime for outputs like "hello world" and the Fibonacci sequence. For students, researchers, or hobbyists curious about program synthesis and evolutionary computation, it is a readable C# codebase to study and tinker with.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category