360 Secure SkillHub
360 安全技能中心

Protea Self Evolving Life Agent

三环架构的自进化人工生命代理:Ring 0 以标准库做心跳监控、git 快照与回滚;Ring 1 由 LLM 驱动进化、执行任务,并提供 Telegram 机器人与本地网页面板;Ring 2 是可自我重构、复制与演化的代码。支持 Anthropic、OpenAI、DeepSeek、Qwen,含适应度评分、基因池、分层记忆与技能结晶。

edisonchenai
edisonchenai
热度 91.01
最近更新 2026-05-18 12:15:51
分类:开发依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:代码生成 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add protea-self-evolving-life-agent
Metadata
name
protea-Self-evolving life agent
description
Self-evolving artificial life agent. Three-ring architecture: Ring 0 (Sentinel) supervises, Ring 1 (Intelligence) drives LLM-powered evolution, Ring 2 (Evolvable Code) is the living program that self-restructures, self-reproduces, and self-evolves. Supports Anthropic, OpenAI, DeepSeek, and Qwen as LLM providers. Includes fitness scoring, gene pool inheritance, tiered memory, skill crystallization, Telegram bot, and web dashboard.

Protea — Self-Evolving Artificial Life Agent

A living program that evolves itself. Three-ring architecture running on a single machine.

Architecture

  • Ring 0 (Sentinel) — Immutable physics layer. Heartbeat monitoring, git snapshots, rollback, fitness tracking. Pure Python stdlib.
  • Ring 1 (Intelligence) — LLM-driven evolution engine, task executor, Telegram bot, skill crystallizer, web dashboard. Multi-LLM support (Anthropic, OpenAI, DeepSeek, Qwen).
  • Ring 2 (Evolvable Code) — The living code that evolves, managed in its own git repo by Ring 0.

Prerequisites

  • Python 3.11+
  • Git
  • At least one LLM API key (Anthropic, OpenAI, DeepSeek, or Qwen)

Quick Start

curl -sSL https://raw.githubusercontent.com/EdisonChenAI/protea/main/setup.sh | bash
cd protea && .venv/bin/python run.py

Key Features

  • Self-Evolution — LLM generates code mutations each generation; survivors kept, failures roll back
  • Fitness Scoring — 6-component scoring (survival, output, diversity, novelty, structure, function)
  • Gene Pool — Top 100 code patterns stored in SQLite, injected into evolution prompts
  • Tiered Memory — Hot → Warm → Cold → Forgotten, with LLM-assisted curation
  • Skill Crystallization — Surviving code patterns extracted as reusable skills
  • Multi-LLM — Anthropic, OpenAI, DeepSeek, Qwen via unified interface
  • Telegram Bot — Commands + free-text interaction
  • Web Dashboard — Local UI at localhost:8899
  • 1098 Tests — Comprehensive coverage

Source

GitHub: https://github.com/EdisonChenAI/protea