Artificial-life: A 300-line Python reproduction of Computational Life research

What this is
Artificial-life is a 300-line Python reproduction of the Computational Life research paper 'How Well-formed, Self-replicating Programs Emerge from Simple Interaction.' It simulates emergent self-replication in a grid of simple programs.
How it works
The simulation uses a 240x135 grid containing 64 instruction-length Brainfuck-like programs that are randomly initialized. Each iteration follows this process:
- Neighboring programs are randomly paired
- Their instruction tapes are concatenated together
- The combined program runs for a maximum of 213 steps
- After execution, the tapes are split back apart
The instructions can loop and mutate the instruction tapes themselves. As described in the original paper, self-replicating programs that copy themselves over their neighbor's tape often spontaneously emerge and spread to take over the entire grid.
Visual representation and running
Each pixel represents an instruction with unique colors, while black indicates raw data storage (not an instruction). Every 8x8 pixel section represents a single program.
To run a simulation with seed 1:
uv run main.py --seed 1In this specific run, a self-replicator emerges relatively early and takes over most of the grid until a more efficient self-replicator evolves and dominates everything.
The repository includes example outputs: universe.gif and universe.mp4 showing the simulation progress.
Technical details
The project uses Python exclusively (100.0% according to GitHub language detection) and includes standard Python project files: pyproject.toml, uv.lock, and .python-version.
This implementation demonstrates how complex emergent behavior can arise from simple interaction rules, specifically showing how self-replicating programs can evolve without explicit programming for replication.
📖 Read the full source: HN AI Agents
👀 See Also

Automated Session State Management for Claude Code Handoff
A GitHub project provides automated hooks to maintain a live session state file (.claude/session-state.md) throughout Claude conversations, addressing autocompact context loss and mid-conversation context degradation. The system uses four bash scripts with jq to track important events and file edits.
AIttache: A Read-Only MCP Server That Can't Nuke Your Prod
AIttache is an MCP server with 25+ read-only connectors (terminal, servers, weather, Steam) that physically cannot modify anything — built to give LLMs log context without autonomy.

Open-source Agent OS: Rust-based OS for AI agents with WASM sandboxing and Hands feature
An open-source operating system for AI agents has been released with 137k lines of Rust code under MIT license. The system runs agents in WASM sandboxes with 16 security layers and introduces 'Hands' for scheduled, autonomous agent operation.

Exploring API-to-API Interactions: A Closer Look at Automation
A recent discussion on Reddit delves into the intricacies of API-to-API phone calls, focusing on practical implementation and potential challenges using tools such as Postman and Twilio.