← 开源
viettran-edgeAI

codex_workflow

A swarm orchestration system in Codex - use less quota, get more done.

AI EngineeringGive agent knowledgeBuild agent workflow (SDK)Python
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
507
Star
36
Fork
+2
本周
1
贡献者
创建于 2026-07-23 · 更新于 2026-10-12 · 今日第 18166 名
主要开发者

viettran-edgeAI/codex_workflow 排名第 18,166,有 507 个星标。

同类别比较

viettran-edgeAI/codex_workflow 排名第 18,166,此处有 8 个同类条目;tt-a1i/simplify-codebase 排名第 18,165。

同类别比较
名称排名指标
codesstar/loci18,154
语言:
HTML
星标数:
507
分叉数:
15
freee/freee-mcp18,156
语言:
TypeScript
星标数:
507
分叉数:
59
简介:
Model Context Protocol (MCP) server for freee API integration
mingsky-ai/ComfyUI-MingNodes18,158
语言:
Python
星标数:
507
分叉数:
24
简介:
some practical comfyui nodes
tt-a1i/simplify-codebase18,165
语言:
HTML
星标数:
507
分叉数:
26
简介:
Prove and remove accidental codebase complexity without breaking behavior.
OTA-Tech-AI/web-agent-protocol18,173
语言:
Python
星标数:
506
分叉数:
91
简介:
🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
deadbits/vigil-llm18,182
语言:
Python
星标数:
506
分叉数:
57
简介:
⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs
langchain-ai/langchain-aiplugin18,189
语言:
Python
星标数:
506
分叉数:
40
liu00222/Open-Prompt-Injection18,190
语言:
Python
星标数:
506
分叉数:
82
简介:
This repository provides a benchmark for prompt injection attacks and defenses in LLMs
关键参数与规格
关键参数与规格
参数值
语言Python
类别AI Engineering
子类别Give agent knowledge,Build agent workflow (SDK)
关键词Context engineering, Inference optimization, Memory management
星标数507
分叉数36
贡献者1
创建日期2026-07-23
更新日期2026-10-12
1 天星标数0
7 天星标数2
排名18,166
上次排名17,929
排名变化-237
7 天星标排名8,922
上次 7 天星标排名7,492
7 天星标排名变化-1,430
总星标排名19,165
上次总星标排名19,144
总星标排名变化-21
README 摘录

SIMPLE  ───  EASY  ───  EFFICIENT (to use) (to install) (token consumption) Built for token-efficient agent orchestration, with swarm execution, persistent context support, and compact knowledge handoffs between agents. provides durable project memory for goals, architecture, decisions, progress, and session handoffs. ⭐ For lightweight tasks, it won’t overdo things. Quick installation ⚙️ Open Codex CLI / Codex app from your project directory Change permision to or . 🔄 Restart Codex after installation The initial bootstrap will include creating

the project documentation framework using subagent. Once that bootstrap is complete, the current project is ready to use. Whenever you need to install this workflow for a new project, simply open Codex and send: Requires Python 3. 11 or newer for deterministic lifecycle operations. **Note:** If you cannot upgrade directly to a newer version. Run to uninstall it first, then install the newer version. Workflow usage This workflow has 3 routes: Light route: No workflow mode, minimal context. Heavy route

: Delegate bounded production and verification to Executors and Testers, with Explorer for context, Investigator for solution research, and Archivist for documentation. The main agent owns orchestration, synthesis, and decisions. Medium route: Use Explorer, Investigator, and Archivist for read-only discovery, solution research, and documentation while the main agent handles implementation and verification. Choose this route when you want workflow-mode context support without delegating production work, like front-end design, visualization, or 3D works, but it will burn tokens faster

than Heavy route. How to use Normally, for simple work, general Q&A, you don't need to do anything. Medium and Heavy retain a fast path for standalone questions, searches, read-only research, and small bounded tasks. These tasks do not trigger deployment intake, automatic project-document updates, or closure reporting. Research supporting an active deployment remains part of that deployment. Don't hesitate to choose Sol xhigh / Astra high for this route. Using much lower reasoning efforts will not actually

save tokens and will severely reduce its coordination capabilities. In Heavy, workers return compact evidence-linked reports directly to the main agent through Codex's parent-child result channel. The main batches related workers and makes one decision after the relevant reports arrive. *Heavy route* What's special about the system: Built-in project memory in Medium and Heavy: keeps project goals, architecture, progress, decisions, and the latest handoff across sessions. Its framework instructions live in those route documents. Flexibility: The system

doesn't force the main agent into a rigid process: requiring coordination in this way, that way. It provides it with resources and power (specialized agents) and fine-tuning and guidance based on hundreds of trials. Fine-tuned balance: Main agent's control costs & task completion capabilities. based on analysis and observation, not on feeling. Knowledge distribution: Each task package from the main agent to the workers includes a task completion guide. Batching guidelines prevent excessive main agent rollout. For difficult or

broad questions, parallel workers (e. , 2, 3, or more) are recommended when independent angles can improve coverage and result quality.

常见问题

记录了多少星标和分叉?

viettran-edgeAI/codex_workflow 有 507 个星标和 36 个分叉。

仓库排名是多少?

viettran-edgeAI/codex_workflow 排名第 18,166。

记录的语言和类别是什么?

viettran-edgeAI/codex_workflow 有 507 个星标,语言为 Python,类别为 AI Engineering。

哪个仓库排名最接近?

viettran-edgeAI/codex_workflow 与 tt-a1i/simplify-codebase 比较,后者排名第 18,165,有 507 个星标。

README

SIMPLE  ───  EASY  ───  EFFICIENT

       (to use)                            (to install)                     (token consumption)

Built for token-efficient agent orchestration, with swarm execution, persistent context support, and compact knowledge handoffs between agents. agent_docs/ provides durable project memory for goals, architecture, decisions, progress, and session handoffs.

⭐ For lightweight tasks, it won’t overdo things. Light route is default.

1. Quick installation ⚙️

Open Codex CLI / Codex app from your project directory

Change permision to approve for me or full access. ▶️ Send:

Download and extract the latest `codex_workflow-.zip` asset from https://github.com/viettran-edgeAI/codex_workflow/releases. Verify it against `SHA256SUMS`, then read the bundled `codex_workflow/operate/bootstrap.md` and follow it to complete the initial installation.

⭐ Recommended: use 5.6 Luna xhigh for installation.

🔄 Restart Codex after installation

The initial bootstrap will include creating the project documentation framework agent_docs/ using archivist subagent. Once that bootstrap is complete, the current project is ready to use. Whenever you need to install this workflow for a new project, simply open Codex and send: codex_workflow --install

Requires Python 3.11 or newer for deterministic lifecycle operations.

Note: If you cannot upgrade directly to a newer version. Run codex_workflow --remove to uninstall it first, then install the newer version.

2. Workflow usage

This workflow has 3 routes:

  • Light route: No workflow mode, minimal context.
  • Heavy route: Delegate bounded production and verification to Executors and Testers, with Explorer for context, Investigator for solution research, and Archivist for documentation. The main agent owns orchestration, synthesis, and decisions.
  • Medium route: Use Explorer, Investigator, and Archivist for read-only discovery, solution research, and documentation while the main agent handles implementation and verification. Choose this route when you want workflow-mode context support without delegating production work, like front-end design, visualization, or 3D works, but it will burn tokens faster than Heavy route.

How to use

  • Normally, for simple work, general Q&A, you don't need to do anything. light route is the default route.
  • Medium and Heavy retain a fast path for standalone questions, searches, read-only research, and small bounded tasks. These tasks do not trigger deployment intake, automatic project-document updates, or closure reporting. Research supporting an active deployment remains part of that deployment.

  • When starting a new task, tell Codex :
use medium/heavy route. [your task description]

Or continue a task that was already underway in the previous session:

use medium/heavy route. Continue ongoing work.

Codex stays on the selected route until you change it


⭐ Recommendation: Assign very large and complex tasks to the heavy route to make the most of its capabilities and maximize token usage savings. Don't hesitate to choose Sol xhigh / Astra high for this route. Using much lower reasoning efforts will not actually save tokens and will severely reduce its coordination capabilities.

In Heavy, workers return compact evidence-linked reports directly to the main agent through Codex's parent-child result channel. The main batches related workers and makes one decision after the relevant reports arrive.

Heavy route

What's special about the system:

  • Built-in project memory in Medium and Heavy: agent_docs/ keeps project goals, architecture, progress, decisions, and the latest handoff across sessions. Its framework instructions live in those route documents.
  • Flexibility: The system doesn't force the main agent into a rigid process: requiring coordination in this way, that way... It provides it with resources and power (specialized agents) and fine-tuning and guidance based on hundreds of trials.
  • Fine-tuned balance: Main agent's control <---> costs & task completion capabilities. based on analysis and observation, not on feeling.
  • Knowledge distribution: Each task package from the main agent to the workers includes a task completion guide.
  • Batching guidelines prevent excessive main agent rollout.
  • For difficult or broad questions, parallel workers (e.g., 2, 3, or more) are recommended when independent angles can improve coverage and result quality. The main chooses roles and counts per bounded question. Narrow questions can use one worker; parallel searches use complementary independent angles.
  • Workflow policy lives in the managed user-level ~/.codex/AGENTS.md region; each project AGENTS.md remains native, project-owned personalization.
  • Worker reports preserve material evidence while referencing bulky logs and artifacts instead of copying them.
  • The Senior Executor serves as a fallback for exceptionally difficult problems where stronger reasoning is required.
  • Addresses the issue of the main agent waking up workers too often.
  • Built-in token report: End-of-session token statistics for each agent, allowing you to monitor how much each agent rolls out and how they use their tokens. ......

Light benchmark

Batching guidelines techniques(since 1.1.3 version) significantly reduce the main agent's rollout, which in turn reduces the main agent's cached input tokens, a major component of the operation cost, see New workflow below :

The current benchmark is an initial case study. See the benchmark coverage proposal for ideas on testing more tasks and AI providers.

3. More details

Send these exact commands to Codex from the relevant project directory:

Command Purpose
codex_workflow --install Install workflow in the current project and initialize its documentation framework.
codex_workflow --check-update Check for a newer release without installing it.
codex_workflow --version Report the currently installed workflow version.
codex_workflow --update Install a newer release for the user and current project, or bring the current project up to an already installed release.
codex_workflow --remove Remove the installed workflow after a destructive dry-run and confirmation.

For the complete architecture, route, lifecycle, ownership, safety, and release analysis, see workflow_breakdown.md.

排名相邻
同类项目