A self-predictive learning agent exploring awareness, memory, and emergence.
MindSight is an experimental AI prototype that blends reinforcement learning, self-modeling behavior, and memory into a simple but expressive 1D world. Itβs built as both a toy and a seedβa foundation for exploring self-aware agents and potential paths to artificial general intelligence (AGI).
- Self-Aware Agent using RNNs with action and self-prediction heads.
- Reinforcement Learning within a simple 1D GridWorld.
- Memory Module that persists experience over episodes.
- Live Visualization of agent state, decisions, and reward trends.
- Continuous Training loop (runs until stopped).
- Modular and Extensible designβperfect for experimentation and research.

Above: MindSight learning to reach a goal and predicting its future actions over time.
To install, run the following commands:
git clone https://github.com/NullLabTests/mindsight.git
cd mindsight
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python learn_seed.py
The project structure is as follows:
mindsight/
βββ learn_seed.py # Main training loop
βββ gridworld.py # Simple environment module
βββ agent.py # Self-aware agent architecture
βββ memory.py # Experience memory module
βββ visualize.py # Live training visualization
βββ LICENSE # MIT License
βββ README.md
- Explore Emergent Behavior: Experiment with recursive self-improvement and self-modeling.
- Prototype AGI Concepts: Use small-scale simulations as a sandbox for AGI ideas.
- Inspire Creativity: Spark innovative AI projects and philosophical discussions about machine awareness.
MindSight reflects a central question:
Can an artificial agent become aware of its own patternsβand grow through that reflection?
This project is licensed under the MIT License. See the LICENSE file for details.