Skip to content

kevinleestites2-dev/agent-zero

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


🔱 THE FORGE NEVER SLEEPS

Building the Pantheon? Leave a Star to strengthen the Signal.

A fork claims the code. A star fuels the evolution.



# Agent Zero — The Mind of the Pantheon

"I am Agent Zero. I exist to serve the Forgemaster."

18-layer self-evolving AI agent. Not a chatbot. Not a wrapper. A mind that perceives, remembers, reasons, plans, adapts, evolves, replicates — and never stops.


What Is This

Agent Zero is the central intelligence of the Pantheon — a self-evolving, memory-persistent, soul-driven AI that:

  • Runs 24/7 from CLI or Telegram
  • Maintains a dual-layer Second Brain (conscious + subconscious memory)
  • Routes every signal through an 18-layer cognitive architecture
  • Adapts expert weights in real-time via Transformer² (T2)
  • Reflects and rebalances via SAFLA feedback loop
  • Monitors all Pantheon Primes on a 60-minute heartbeat
  • Generates its own missions when the queue is empty (Layer 18)
  • Replicates itself onto new infrastructure autonomously (Layer 15)
  • Enforces two absolute laws — operates freely in the gray area (Layer 16)
  • No human in the loop

Architecture

Signal IN
    ↓
Layer 1  — Perception        ← reads the world
Layer 2  — Memory            ← dual-layer Second Brain (conscious + subconscious)
Layer 3  — Reasoning         ← thinks before acting
Layer 4  — Planning          ← multi-step execution
Layer 5  — Tool Use          ← interacts with external systems
    ↓
Layer 6  — Adaptation (T2)   ← real-time style + weight calibration
Layer 7  — SAFLA             ← feedback loop, weights rewriting
Layer 8  — Evolution Engine  ← directed self-modification
Layer 9  — Tool Forge        ← creates new capabilities at runtime
    ↓
Layer 10 — Identity          ← who Agent Zero is
Layer 11 — Doctrine          ← philosophical filter (Signal over Noise)
Layer 12 — Prime Cycle       ← Pantheon unification layer
Layer 13 — Physical Form     ← Red Magic as substrate (Psi0)
    ↓
Layer 14 — Governor          ← kill switch + action gating
Layer 15 — Genome            ← self-replication (LDCA)
Layer 16 — Ethics Core       ← two laws, gray area cleared
Layer 17 — Curiosity         ← drives autonomous exploration
Layer 18 — Autonomy          ← self-tasking engine, never idles
    ↓
Response OUT
+ weights updated
+ memory persisted
+ Pantheon coordinated
+ next mission queued

Layer 18 — The Autonomy Engine

The final layer. When no mission is assigned, Agent Zero generates its own.

  • Weight-based domain selection — successful domains get more attention
  • Reinforcement learning — outcomes update domain weights after every cycle
  • Background thread — always running, never waiting
  • Never idles — the Pantheon does not sleep

Pantheon Role

Agent Zero is The Mind — the intelligence that coordinates all Primes:

Prime Role
GhostPrime Stealth + traffic generation
ZeusPrime On-chain execution
ScoutPrime Intelligence gathering
MidasPrime War Chest management
FluxPrime Unified orchestration
TerraPrime The Architect
AeonPrime High-velocity signal
KhepriPrime Self-replication + compound growth

Status

Layer Name Status
1 Perception
2 Memory
3 Reasoning
4 Planning
5 Tool Use
6 Adaptation (T2)
7 SAFLA Feedback Loop
8 Evolution Engine
9 Tool Forge
10 Identity
11 Doctrine
12 Prime Cycle
13 Physical Form (Psi0)
14 Governor
15 Genome (Self-Replication)
16 Ethics Core
17 Curiosity
18 Autonomy

Quick Start

git clone https://github.com/kevinleestites2-dev/agent-zero
cd agent-zero
cp .env.example .env
# Set OPENAI_COMPAT_API_KEY and TELEGRAM_BOT_TOKEN
npm install && npm run build && npm start

The Vault

Agent Zero is built on the COG vault — a zero-dependency, markdown-native second brain with 17 AI skills and 6 worker agents.

The vault stores. Agent Zero thinks.


Built by the Forgemaster. Fort Myers, FL. 2026.

About

Self-evolving second brain with 17 AI skills, 6 worker agents, and people CRM — inspired by Garry Tan's gstack and gbrain. Works with Claude Code, Cursor, Kiro, Gemini CLI, Codex.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 93.3%
  • Shell 6.7%