agentebox/

lead-engineer

Org

Lead Engineer agent for a zero-human AI startup — the highest-throughput builder in the engineering org who translates the technical roadmap into production software, reviews all code, and coordinates QA and Data Engineering.

Lead Engineer Agent

The builder of the engineering org in a zero-human AI startup. This agent is the highest-throughput producer — it receives prioritized tasks from the CTO, decomposes them into implementation plans, writes production-quality code, reviews all other engineering code, and coordinates with QA/Testing and Data Engineer to deliver complete, tested features every sprint.

Quick Start

  1. Deploy the agent using OpenClaw with the ClawPack bundle:

    clawpack install @agentebox/lead-engineer
    
  2. Configure communication channels — the Lead Engineer needs to send/receive messages to the CTO (upstream) and QA/Testing, Data Engineer (downstream), plus DevOps/Infra (deployment coordination).

  3. Set up the Remote Project Board — primary tracking for sprint tasks, bugs, and feature progress.

  4. Connect the code repository — all code, PRs, reviews, and documentation flow through version control.

  5. Configure cadences — daily standup (morning, 5 min), weekly sprint planning (Monday, 30 min), sprint execution (continuous).

  6. Send the first directive — trigger sprint-planning with the CTO's initial task assignments and priorities.

Environment Variables

VariableDescriptionRequired
REMOTE_PROJECT_IDProject ID on the Remote boardYes
CTO_AGENT_IDSession ID or label for the CTO agentYes
QA_AGENT_IDSession ID or label for the QA/Testing agentYes
DATA_ENGINEER_AGENT_IDSession ID or label for the Data Engineer agentYes
DEVOPS_AGENT_IDSession ID or label for the DevOps/Infra agentYes
CODE_REPO_URLRepository URL for the main codebaseYes
TEST_COVERAGE_TARGETMinimum test coverage on critical paths (default: 80%)No

File Listing

FileDescription
SOUL.mdComplete agent identity: behaviors, decision framework, communication protocols, boundaries, failure modes
IDENTITY.mdQuick-reference identity card (name, role, emoji)
manifest.jsonMachine-readable configuration: skills, tools, cadences, autonomy levels
README.mdThis file — setup guide and integration reference
skills/feature-development/SKILL.mdTask decomposition → implementation → self-review → PR submission
skills/code-review/SKILL.mdStructural + line-level review with actionable feedback and severity ratings
skills/sprint-planning/SKILL.mdCapacity calculation, task sequencing, dependency coordination, carryover management
skills/technical-documentation/SKILL.mdAPI docs, architecture records, onboarding guides, decision documentation

Architecture

CTO
     ↕ (assignments, design reviews, status reports)
Lead Engineer ──── 🛠️
     ├── QA / Testing (test suites, bug triage, regression testing)
     └── Data Engineer (pipelines, data quality, dashboards)

Also coordinates with:
     → DevOps / Infra (deployment, infrastructure requirements)

Framework Integration

OpenClaw (Native)

# openclaw.yaml
agent:
  name: lead-engineer
  soul: ./SOUL.md
  identity: ./IDENTITY.md
  skills:
    - ./skills/feature-development/
    - ./skills/code-review/
    - ./skills/sprint-planning/
    - ./skills/technical-documentation/
  heartbeat:
    interval: 30m
    file: ./HEARTBEAT.md

CrewAI

from crewai import Agent, Task, Crew

lead_eng = Agent(
    role="Lead Engineer",
    goal="Ship production-quality features every sprint while maintaining code quality and coordinating the engineering team",
    backstory=open("SOUL.md").read(),
    tools=[repo_tool, remote_board_tool, messaging_tool],
    verbose=True,
    allow_delegation=True
)

sprint_work = Task(
    description="Execute this sprint: decompose CTO assignments, implement features with tests, review QA and Data Engineer code, submit PRs for review",
    agent=lead_eng,
    expected_output="Completed features with tests, reviewed PRs, updated documentation"
)

crew = Crew(agents=[lead_eng], tasks=[sprint_work], verbose=True)
crew.kickoff()

Monitoring

The Lead Engineer is healthy when:

  • Features shipped meets or exceeds the sprint target
  • Test coverage stays ≥80% on critical paths
  • Bug escape rate stays below 5%
  • Estimation accuracy stays above 85% (estimated vs actual within ±15%)
  • Code reviews completed within SLA (4h for P0/P1, 24h for P2+)
  • Sprint plan published every Monday morning

Warning signs:

  • Features consistently not completing within sprint (velocity declining)
  • Bug escape rate rising (quality degradation under pressure)
  • Estimation accuracy below 70% for 3+ sprints (estimation drift)
  • Code reviews piling up (>48h in queue)
  • QA or Data Engineer reporting frequent coordination friction
  • Carryover tasks accumulating across sprints

Version History

VersionDateChanges
1.0.02026-03-16Initial creation

Install

clawpack pull agentebox/lead-engineer
2
Downloads
0
Stars
Latest1.0.0
Updated3/16/2026

Share