Skip to content

markshao/orion

Repository files navigation

Orion Logo Orion

Go Version License

English | 简体中文

Orion is an AI-native development environment manager for parallel coding agents. It combines Git worktrees, tmux sessions, and agent workflows into one local protocol.

Why Orion

  • Parallel and isolated execution: each node has its own worktree, session, and branch context.
  • Agent-first Git model: humans manage goals; agents handle branch-heavy routine operations.
  • Human-as-manager workflow: enter any node at any time to inspect progress and redirect work.
  • Local Agentic DevOps: run integration steps locally with agent pipelines, not only in remote CI.
  • Attention routing: Orion can detect pending input in node sessions and notify you.
  • Official Feishu/Lark support: route waiting-input events to team chat for faster human feedback loops.

Quick Start (5 Minutes)

This path covers your target loop: create node with AI, code, detach, switch to new work, return on notification, then push safely.

1) Install latest and initialize

curl -fsSL https://raw.githubusercontent.com/markshao/orion/main/install.sh | bash

Then initialize a workspace:

# create a workspace
orion init https://github.com/<you>/<repo>.git
cd <repo>_swarm

2) Let Orion AI create your first human node

orion ai "implement login API and session flow"
orion enter <node-name>

Inside tmux, launch your coding agent and start vibe coding:

codex
# or
kimi

Detach from tmux:

Ctrl+b, then d

3) Keep moving: start another feature

orion ai "start payment retry feature"

When Orion detects another node is waiting for your input, you'll receive notifications (including Feishu/Lark, if configured). You can also check watcher status:

orion notification-service status
orion notification-service list-watchers

Jump back to the waiting node:

orion enter <previous-node-name>

4) Delegate release workflow and publish

orion workflow run release-workflow --node <node-name>
orion workflow ls
orion inspect <node-name>

Then finish commit/rebase/push with the Codex skill:

/push_remote

/push_remote requires the push-remote skill to be installed in Codex.

Or use Orion native push directly:

orion push <node-name>

Core Commands

Command Purpose
orion init <repo-url> Initialize an Orion workspace
orion ai "<task>" Create branch + node from natural language
orion spawn <branch> <node> Manually create a node
orion enter <node> Enter the node tmux session
orion ls List active nodes
orion inspect <node> Show node status and branch details
orion workflow run <workflow> --node <node> Trigger an agent workflow
orion workflow ls List workflow runs
orion workflow inspect <run-id> Inspect workflow details
orion notification-service status Show notification service status
orion notification-service list-watchers Show watcher state and pending input
orion push <node> Push node branch to remote

Learn More

License

Apache License 2.0

About

Enable AI Coding workflows: spin up concurrent nodes per Git branch, each with independent worktrees and tmux sessions.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors