惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
WordPress大学
WordPress大学
Jina AI
Jina AI
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
博客园 - Franky
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
雷峰网
雷峰网
小众软件
小众软件
H
Hackread – Cybersecurity News, Data Breaches, AI and More

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - human-again/orbit: Mission control for AI coding...
varmahaj · 2026-05-19 · via Hacker News: Show HN

CI Python 3.11+ License: MIT v0.1.0

Mission control for AI coding agents.

Orbit is the harness your coding agent actually needs — structured loops, real validation gates, rubric-based evaluation, checkpoint resumability, and a full audit trail. Define the mission. Orbit lands it.

Orbit rescuing a broken auth flow

↑ Orbit detects a failing test, selects the right task, runs the agent, validates the fix, and marks the orbit complete — no hand-holding required.


The problem with AI coding agents

They drift. They hallucinate changes. They skip validation. They leave no record of what they did or why. You give them a task and cross your fingers.

You:   "Fix the auth bug."
Agent: ✅ Done!
You:   "Did you run the tests?"
Agent: ✅ All passing!
You:   *runs tests* ❌❌❌

Sound familiar?


Orbit fixes that

Every agent run becomes a structured orbit — a bounded, validated, auditable loop. If the agent can't prove its work, the orbit doesn't close.

The Orbit loop

↑ The Orbit loop: task selection → agent execution → validation gate → rubric evaluation → review → next orbit.

What you get:

  • 🎯 Mission files — human-owned goal, scope, constraints, definition of done
  • 📋 Dependency-aware task queue — priority-sorted, one task per orbit, respects your DAG
  • 🚦 Validation gate — real pytest/lint/typecheck runs; nothing advances without evidence
  • 📐 Rubric evaluator — structured scoring on task focus, completion, change signal, and validation
  • 🔁 Retry policy — auto-retry on failure or validation miss, configurable limits
  • 💾 Checkpoint resumability — durable state; pick up mid-mission without losing progress
  • 💰 Budget management — cap runs, failure count, and estimated cost per session
  • 📡 Full telemetry — every orbit writes agent-result.json, evaluation.json, review.json, and a timestamped progress log

Works with any agent

Orbit is adapter-based. Swap in whatever coding agent you have:

Adapter Agent
adapters.claude_cli:ClaudeCliAdapter Claude Code (claude --print)
adapters.codex_cli:CodexCliAdapter OpenAI Codex CLI
adapters.cursor_cli:CursorCliAdapter Cursor
adapters.cli_json:CliJsonAdapter Any agent that reads stdin and writes JSON
adapters.mock:MockAgentAdapter Local testing / dry runs

What can you do with Orbit?

Use case How Orbit helps
Nightly bug triage Point Orbit at your failing CI jobs. It selects the highest-priority fix, validates the patch, and leaves a full artifact trail for review in the morning.
Incremental feature backlog Break a feature into tasks in backlog.json. Orbit works through them in dependency order, one per orbit, never skipping validation.
Automated code health Schedule Orbit to run overnight on your tech-debt backlog. Cap spend with max_estimated_cost_usd. Wake up to a progress log with diffs and scores.
Self-healing repos Wire Orbit into CI as a bot that auto-fixes known flaky tests, restores broken migrations, or patches lint failures — with full review artifacts before merge.
Dependency upgrades Model each version bump as a task. Orbit upgrades them in order, runs your full test suite after each one, and halts if validation breaks.
Multi-agent handoffs Run one orbit with Claude for implementation, a second with Codex for review, and a third with your custom CLI for deployment checks — same harness, swappable adapters.

Quickstart

git clone https://github.com/human-again/orbit
cd orbit
python -m venv .venv && .venv/bin/pip install pytest pillow

Drop three files in your project:

mission.md        ← what to build, and done means done
agent-rules.md    ← safety rules, coding standards, escalation policy
backlog.json      ← tasks with acceptance criteria and dependencies

Then launch:

python orchestrator.py --config runtime/config.json

Orbit selects the next task, hands it to your agent, validates the output, evaluates the result, and loops — until the mission is complete or it needs you.


See it in action

Demo 1 — Auth Rescue

A real auth bug is introduced into the codebase. Orbit selects the right task, runs the agent, turns red tests green, and closes the orbit with a full evaluation artifact.

Auth rescue demo

MOCK=1 ./replay.sh auth-rescue

Demo 2 — Issue Search

A new feature (scoped search) is added to a tiny issues dashboard. Orbit validates the feature with tests and a browser preview before marking it complete.

Issue search demo

MOCK=1 ./replay.sh issue-search

Both demos use MOCK=1 — fully deterministic, no API key needed, runs in CI. Swap in a real adapter (DEMO_ADAPTER=claude or DEMO_ADAPTER=codex) to use your agent.


How it works

┌─────────────────────────────────────────────────────────┐
│                      Orbit Loop                         │
│                                                         │
│  mission.md + backlog.json                              │
│        │                                                │
│        ▼                                                │
│  choose_task()  ──── dependency-aware, priority-sorted  │
│        │                                                │
│        ▼                                                │
│  build_task_bundle()  ── mission + rules + context      │
│        │                                                │
│        ▼                                                │
│  adapter.run_agent()  ── your agent, any CLI            │
│        │                                                │
│        ▼                                                │
│  run_validation()  ── real tests, lint, typecheck       │
│        │                                                │
│        ├── FAIL ──► retry_policy ──► loop or stop       │
│        │                                                │
│        ▼                                                │
│  evaluate()  ── rubric scoring → verdict                │
│        │                                                │
│        ▼                                                │
│  review()  ── accept / iterate                          │
│        │                                                │
│        ▼                                                │
│  update backlog + progress + telemetry                  │
│        │                                                │
│        └────────────────────────────► next orbit        │
└─────────────────────────────────────────────────────────┘

Configuration

{
  "adapter": "adapters.claude_cli:ClaudeCliAdapter",
  "adapter_args": {
    "command": "claude",
    "args": ["--print", "--output-format", "json", "--dangerously-skip-permissions"]
  },
  "validation_commands": ["pytest tests/ -v"],
  "max_iterations": 10,
  "run_evaluator": true,
  "run_reviewer": true,
  "require_validation": true,
  "retry_policy": {
    "max_attempts": 2,
    "retry_on_statuses": ["failed"],
    "retry_on_validation_failure": true
  },
  "budgets": {
    "max_runs": 50,
    "max_failures": 5,
    "max_estimated_cost_usd": 10.0
  }
}

Adapter contract

Two methods. That's it.

class MyAdapter(BaseAgentAdapter):
    def prepare_prompt(self, task_bundle: str) -> str: ...
    def run_agent(self, prompt: str, cwd: str, timeout_s: int) -> AgentResult: ...

AgentResult fields: status, changed_files, notes, metadata, raw_output.


Repo layout

orchestrator.py        ← mission control — the main loop
adapters/              ← pluggable agent adapters
evaluator.py           ← rubric scoring
reviewer.py            ← accept/iterate recommendation
validation_runner.py   ← runs test/lint commands
retry_policy.py        ← retry on failure or validation miss
checkpoint_manager.py  ← durable resume state
budget_manager.py      ← run/failure/cost caps
diff_evaluator.py      ← git diff detection
risk_guard.py          ← command classification and gating
observability.py       ← structured telemetry log (events.jsonl)
mission.md             ← your goal, scope, definition of done
agent-rules.md         ← coding rules, escalation rules
backlog.json           ← tasks with acceptance criteria
progress.md            ← append-only mission log
runtime/               ← configs, run artifacts, checkpoints
research/              ← bounded research artifacts per task
examples/              ← end-to-end demos
docs/media/            ← demo GIFs

Advanced

Codex self-heal demo — Orbit uses its own Codex adapter to fix a real Orbit regression inside a temp copy of the repo, then records validation, evaluation, review, and backlog evidence for that orbit.

.venv/bin/python examples/codex-self-heal-demo/run_demo.py

Regenerate the demo GIFs:

scripts/make-demo-media.sh auth-rescue
scripts/make-demo-media.sh issue-search
scripts/make-demo-media.sh orchestrator-pseudocode

⭐ Star it

If Orbit has saved you from an agent that said "tests passing" when they weren't — star it. It helps others find it.

Star on GitHub


Credits

The agent loop design draws inspiration from Andrej Karpathy's thinking on agentic systems and long-running LLM workflows.


License

MIT