# Personal AI Infrastructure — Evolutionary Ai Module

**Version**: v1.1.9 | **Status**: Active | **Last Updated**: March 2026

## Overview

Evolutionary AI module for Codomyrmex. This is an **Extended Layer** module.

## PAI Capabilities

```python
from codomyrmex.evolutionary_ai import Genome, Population, Individual, operators, selection, fitness
```

## Key Exports

| Export | Type | Purpose |
|--------|------|---------|
| `operators` | Function/Constant | Operators |
| `selection` | Function/Constant | Selection |
| `fitness` | Function/Constant | Fitness |
| `Genome` | Class | Genome |
| `Population` | Class | Population |
| `Individual` | Class | Individual |
| `crossover` | Function/Constant | Crossover |
| `mutate` | Function/Constant | Mutate |
| `tournament_selection` | Function/Constant | Tournament selection |
| `MutationType` | Class | Mutationtype |
| `CrossoverType` | Class | Crossovertype |
| `SelectionType` | Class | Selectiontype |
| `MutationOperator` | Class | Mutationoperator |
| `BitFlipMutation` | Class | Bitflipmutation |

*Plus 16 additional exports.*

## PAI Algorithm Phase Mapping

| Phase | Evolutionary Ai Contribution |
|-------|------------------------------|
| **BUILD** | Artifact creation and code generation |

## Architecture Role

**Extended Layer** — Part of the codomyrmex layered architecture.

## MCP Tools

This module does not expose MCP tools directly. Access its capabilities via:
- Direct Python import: `from codomyrmex.evolutionary_ai import ...`
- CLI: `codomyrmex evolutionary_ai <command>`

## Navigation

- **Self**: [PAI.md](PAI.md)
- **Parent**: [../PAI.md](../PAI.md) — Source-level PAI module map
- **Root Bridge**: [../../../PAI.md](../../../PAI.md) — Authoritative PAI system bridge doc
- **Siblings**: [README.md](README.md) | [AGENTS.md](AGENTS.md) | [SPEC.md](SPEC.md) | [API_SPECIFICATION.md](API_SPECIFICATION.md)
