Skip to content
المشاريع

حول

مصنع لبناء مصانع البرمجيات. أنشئ مصنع البرمجيات الخاص بك لـ Claude Code وCodex وغيرهما من وكلاء البرمجة، على هيئة رسم بياني يفرض المحرك قواعده. يعمل محليًا ضمن اشتراكك.

أدوات التطوير

كيف تُقاس هذه الأرقام

2,303 نجمة221 التفرعات +12 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١٢
خلال 7 أيام
+٦٨
خلال 15 يومًا
+١٠٢
خلال شهر
+٢٠٤

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

zeroshot

Build your own software factory, staffed by coding agents.

zeroshot.sh · Docs · Research blog · Discord

npm license

npm install -g @the-open-engine-company/zeroshot

Open source, and it runs locally on your Claude, ChatGPT or Copilot subscription with no zeroshot account and no telemetry.

As a coding agent's context fills up, it forgets requirements, stops questioning its own assumptions and calls the work done, and telling it to check its work doesn't help. We asked 100 sessions to build a program and check it themselves, and all 100 stopped after one build (see our benchmark).

So the agent that wrote the code shouldn't be the one that says it works. The review has to come from a separate agent that starts with a fresh context, and the writer must not be able to ignore what it finds.

In zeroshot you define how your team's work gets built as a graph, so you decide who writes, who reviews, what must pass and where failures loop back, and you pick the agent and model for each step. The engine enforces that graph, so every task runs through it and no agent can skip a step, which makes zeroshot a factory for software factories.

How it works

An example factory, where independent reviews, end-to-end testing and CI must pass before merge.

                           ┌─────────────────┐
                           │       Goal      │
                           └────────┬────────┘
                                    ▼
┌───────────────┐          ┌─────────────────┐
│     Repair    ├─────────▶┤      Worker     │
└───────┬───────┘          └────────┬────────┘
        ▲             ┌─────────────┴─────────────┐
        │             ▼                           ▼
        │  ┌─────────────────────┐     ┌─────────────────────┐
        │  │  Acceptance review  │     │     Code review     │
        │  └──────────┬──────────┘     └──────────┬──────────┘
        │             │                           │
        │             └─────────────┬─────────────┘
        ├◀─── either rejects ───────┤
        │                           │  both approve
        │                           ▼
        │                  ┌─────────────────┐
        ├◀───── fail ──────┤ End-to-end test │
        │                  └────────┬────────┘
        │                           ▼  pass
        │                        ┌─────┐     ┌─────┐        ┌───────┐
        │                        │  PR ├────▶┤  CI ├─pass──▶┤ Merge │
        │                        └─────┘     └──┬──┘        └───────┘
        └◀───────────── fail ───────────────────┘

The worker never opens the PR, because the graph does that once both reviews approve and the end-to-end test passes.

See more graph examples on zeroshot.sh.

Get started

Install with the command above. It needs Node.js 18 or newer, runs on Linux, macOS and Windows, and adds skills for Claude Code, Codex, Copilot CLI, Pi and Antigravity (installation options).

Run a first task

Open your agent in a repo and ask for a change. For example:

use zeroshot to let users export their data as CSV. Keep the changes local.

This runs the built-in software-change graph, where one agent makes the change, acceptance review and code review check it independently, and anything they reject goes back for repair. software-change defaults to PR delivery, so "Keep the changes local" leaves the result in your folder instead. The agent edits that folder, so commit anything you want to keep first.

Watch the run with zeroshot ui, or follow the CLI quick start to run it from the terminal.

Design your own graph

To choose your own agents, models, review gates, and delivery, ask:

design a zeroshot graph for this repo

The skill reads your repo and builds the graph with you. Then plan a task:

plan this with zeroshot: let users export their data as CSV

Run the plan:

zeroshot it

To edit a graph by hand, follow the review loop guide, which has complete graph, input and runtime files.

Features

Graphs and agents

  • Graphs are JSON: steps, reviewers, branches, parallel work, bounded loops and maps over lists. Choose which agents can message each other.
  • Profiles: save each graph by name and pick one per run with --profile. Local graphs can reuse a saved profile as a step.
  • Agent and model per node: Claude Code, Codex, Copilot CLI, Pi, Antigravity and others, so one vendor's model can review another's work. Providers are OpenAI, Anthropic, Google, OpenRouter, Bedrock, Foundry or your own endpoint.
  • Delivery: a run can end by pushing a branch, opening a PR, or opening and merging one on GitHub, GitHub Enterprise or GitLab, or by leaving the change in your working copy.
  • Plans: a plan turns a big change into small PRs, each with the tests it must pass. On Platform, submit dependent changes as stacked PRs.
  • PR review: pr-review checks how an existing PR's change behaves, and code-review has specialist reviewers post their verified findings in one comment.
  • Active Memory: agents get relevant lessons from earlier runs when they work on the same repo or use the same graph.

The engine enforces them

  • Checked before it runs: type mismatches, unbounded loops and unreachable branches are rejected before any agent starts. --validate-only runs just the checks.
  • Reviewers route the run: each reviewer returns a verdict from a fixed set and the graph routes on it, so the worker can't ignore a rejection.
  • Approvals: the graph can pause for your answer before a step, then follow the branch you defined.
  • Script steps: a step can be a command instead of an agent, so that check gives the same answer every time and uses no tokens. Local runs only.
  • Secrets stay out of the record: credentials are stored once as named connections and kept out of graphs, run history, logs and the UI.

zeroshot doesn't replace your tests, because a passing run means the checks you configured accepted the work.

Observe and steer a run

  • zeroshot ui: each node's input, output and logs in the browser, on a timeline you can replay.
  • CLI: watch and logs stream resumable events, and attach follows a running agent.
  • Steering: redirect a running agent with zeroshot steer RUN_ID --node tester "Check Windows too".
  • Run record: each local run keeps its history in one SQLite file.
  • Resume: restart a failed run from a checkpoint without redoing finished steps.
  • Pause: stop a run at its next checkpoint and continue it later.

Build on it

  • Python SDK: async Python client for submitting, watching and waiting on runs.
  • JSON-RPC API: run zeroshot target serve and connect over WebSocket to submit runs, watch their status and which nodes are running, and stream logs.
  • Agent adapters: the supported agents, and a documented contract for adding another.

Hosting

Run locally, self-host with Docker, or use zeroshot Platform, where your organization shares its graphs and a run queue and runs use your own model API keys. From ChatGPT, Codex or Claude, the plugin runs graphs on Platform without the CLI.

Local runs keep their history on your machine. zeroshot sends no telemetry. Installation and updates fetch releases from GitHub. Runs use the model providers, Git hosts and targets you configure. See network access.

Community

The Open Engine · Discord · X · LinkedIn · Instagram

Contributing

Development guide · Publishing · Security · Issues

MIT. See LICENSE.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…