primaxlab/selfevolvingai — explained in plain English
Analysis updated 2026-05-18
Run the interactive main.py loop to see how the 70 modules interact.
Trigger a manual evolution cycle and inspect the resulting generation state.
Study individual modules, like memory or metacognition, as standalone Python code.
Generate a status report showing which modules are active.
| primaxlab/selfevolvingai | 410979729/scope-recall | arahim3/mlx-dspark | |
|---|---|---|---|
| Stars | 33 | 33 | 33 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 4/5 | 3/5 | 3/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
README is primarily in Chinese and the project is described as actively under development.
SelfEvolvingAI is a Python framework described as a self-evolving AI system made up of 70 separate modules. The README is written primarily in Chinese. The project is marked as actively under development with APIs and functionality subject to change. The framework is organized around a loop: perceive inputs, recall from memory, reason about the problem, take action, reflect on what happened, and then update the system based on what was learned. Each stage in that loop is handled by dedicated modules. For example, memory is split into short-term, long-term, and episodic stores with forgetting curves. A self-improvement module analyzes its own code using Python's AST tools, detects issues, and attempts automatic fixes with version rollback available. A metacognition module evaluates confidence and detects gaps in the system's own knowledge. The 70 modules cover a wide range of AI-adjacent topics: knowledge graphs, causal reasoning, transfer learning, federated learning, reinforcement learning, prompt engineering, code generation, test automation, document generation, multimodal processing, defenses against adversarial attacks, vector storage, session management, a plugin system, stream processing, encryption, rate limiting, distributed locking, and internationalization, among others. The design principles listed in the README are: no external dependencies (pure Python only), each module works independently, all modifications must be reversible, changes are made in small increments rather than large rewrites, and all quality assessments use numeric scores. Running the system requires cloning the repository and calling main.py with one of several flags to run interactively, trigger an evolution cycle, view module status, or generate a report. The license is MIT.
A pure Python framework of 70 modules that simulates a self-evolving AI system through a perceive-reason-act-reflect loop.
Mainly Python. The stack also includes Python.
MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.