SuperAPIAI Directory

the-engineer

github.com · AI agents

Autonomous orchestration layer for AI coding agents that can drive work from task intake through research, planning, execution, review, pull request iteration, and final merge approval.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

The Engineer is an autonomous orchestrator for AI coding agents, designed to turn AI coding CLIs such as Claude Code and OpenCode into autonomous engineers capable of completing real engineering work. It focuses not on capabilities within a single prompt, but on the shortcomings of AI coding agents in real engineering workflows: receiving tasks, gathering requirements, researching across codebases/networks/adjacent systems, planning solutions, executing safely, self-reviewing, submitting pull requests that can pass review, iterating based on review comments and CI failures, and merging only after approval. The Engineer is the orchestration layer that fills this gap.

Purpose and Positioning The Engineer works as a long-running daemon, listening where engineering work actually lives: currently GitHub Issues, and later, through plugins, ticket management systems such as Jira and Azure DevOps. It drives the coding CLI through the full lifecycle end to end: intake → requirements → research → planning → execution → review → delivery. Each task is isolated in its own git worktree, so concurrent runs do not conflict with each other and the main checkout is unaffected; context is preserved across stages through checkpointed session logs. When the agent encounters a problem it cannot resolve on its own (most commonly during the requirements stage), the task enters the blocked state, and the system contacts the person who can unblock it through a communication plugin, then continues after they reply.

Main Capabilities

  • Task lifecycle orchestration: a six-stage pipeline (requirements → research → planning → execution → review → delivery), with checkpointed logs and context passed across stages.
  • Scheduling and state machine: the daemon polls trigger plugins, new tasks are prioritized, preemption is supported (preempted tasks pause between stages and resume from checkpoints), and crashes and transient failures are retried with bounded backoff.
  • Isolated workspaces: each task has its own git worktree.
  • Iteration and rework: when review finds that the root cause is upstream, work can be handed back to an earlier stage; the agent reports results, and the orchestrator decides routing (the agent itself does not choose stages). After a PR is opened, review comments, CI failures, and merge conflicts re-enter the pipeline as typed events; each new push invalidates previous approvals; rework has a limit, and exceeding the limit escalates to a human.
  • Merge and sign-off: humans remain involved in requirements, key decisions, and final approval. A PR can be automatically merged when it is approved and CI passes; automatic merge is off by default, and by default approval completes the task and you merge it yourself, while external merges are also detectedand finalized.
  • Safety mechanisms: the task state machine controls whether each agent invocation is allowed (queued tasks cannot perform write operations, and failed tasks must be retried before they can run); cost limits (each invocation emits a cost.incurred event, accumulated by task/day/month and by provider request budget, with a warning at 80% and termination of in-flight work plus notification at 100%); autonomy escalation (the agent exposes its autonomous decisions, and the core consults item by item according to the safety.yaml policy: if allowed, it continues silently; if not allowed, it pauses and asks, based on category and scale thresholds).
  • Observability: the event bus is the audit trail (recording "what happened", with ULIDs and monotonic sequence numbers, persisted before notifying subscribers, and replayed after restart); the observer is the diagnostic layer (recording "how it happened", structured spans, decision context/alternatives/choice/rationale/confidence, errors with operation, component, and recovery context, and large payloads stored content-addressed by SHA-256). A local React dashboard starts with engineer start and displays tasks, costs, decisions, spans, and errors, at the address http://localhost:3847。
  • Plugin architecture: a three-layer model, core (task engine, orchestrator, security layer, event bus, daemon), adapter contracts (TriggerAdapter, CommunicationAdapter, AgentAdapter, GitHostingAdapter), and plugin implementations. The core only verifies that a plugin is registered for each adapter; the specific implementation is opaque. When replacing GitHub with GitLab, Telegram with Slack, or Claude Code with OpenCode, the core code does not change. All agents follow the same protocol, with no per-tool adaptations such as CLAUDE.md or GEMINI.md.

How to use Prerequisites: Node.js 22+, pnpm.

  • Installation and configuration: run pnpm run setup; it will ask for confirmation before executing and can be safely run repeatedly; if the pnpm global bin directory is not configured, it will prompt you to set it.
  • Start: engineer start guides the first-run configuration, then runs the daemon in the foreground; press Ctrl+C to stop; once ready, the dashboard is located at http://localhost:3847。
  • Non-interactive configuration: in AI agent (no TTY) scenarios, engineer start cannot be driven headlessly; instead use engineer start --seed <dir>, copy seed-example/ and fill in the values, then pass the directory.
  • Development mode (no global installation): use pnpm dev <command> instead of engineer.
  • Other commands: engineer status lists active tasks and their IDs; engineer why <id> shows a task's event log, state transitions, and logs; engineer retry is used to retry failed tasks; <task-id> accepts a full ULID or a unique prefix; all commands accept --home <path> to use a custom data directory instead of ~/.engineer. See docs/cli.md for the complete command reference.

Use cases Suitable for teams or individual developers who want AI coding agents to take on real engineering workflows, fully automating from task to merged PR, especially users who use GitHub Issues as the task entry point and CLI agents such as Claude Code/OpenCode.

Limitations and notes

  • The project is at v1.0.0, the first version that can run the lifecycle end to end, and does not constitute a stability guarantee; the project is young and developed by an individual, and is still evolving rapidly, so minor versions may reshape configuration or internal implementations.
  • Autonomous operation requires the CLI to skip its own permission prompts (for example, starting Claude Code with --dangerously-skip-permissions); the workspace worktree is the containment boundary, not prompts within the CLI.
  • The core cannot intercept individual file writes or git commands inside the CLI; the scope boundaries in safety.yaml (the files and branches that can be touched) are configurable but not yet enforced at runtime. Runtime scope enforcement and sandboxed task execution are on the roadmap.
  • The v1 scope is explicitly single-user; incremental database migrations are applied automatically at startup, but destructive schema or configuration changes do not migrate existing state, and a reset is the upgrade path.
  • Releases are made as GitHub releases (npm publication is deferred).
  • User documentation such as first-run configuration, dashboard usage, and common troubleshooting is available under docs/; the plugin adapter contract and authoring guide are in docs/plugins/.
  • For security reports, see SECURITY.md, and do not submit a public issue.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools