🚢 Run Claude Code's ⚙️ Dynamic Workflows, 👥 Agent Teams & ⚡ Subagents on any third-party model — DeepSeek · GLM · Kimi · Qwen … or your Codex subscription. No Anthropic subscription needed. | 🚢 让 Claude Code 的 ⚙️ Dynamic Workflow、👥 Agent Team、⚡ Subagent 用上任意第三方模型 — DeepSeek · GLM · Kimi · Qwen…… 或你的 Codex 订阅,无需 Claude 订阅
FAQ
cc-fleet is a Claude Code plugin with 5 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes subagent, workflow, subagent. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add ethanhq/cc-fleet> /plugin install cc-fleet@ethanhq
Repo: ethanhq/cc-fleet

English · 简体中文
Claude Code's multi-agent orchestration — Dynamic Workflows, Agent Teams, Subagents — only runs Anthropic's own models. cc-fleet lets any model with an Anthropic- or OpenAI-compatible API, even your Codex subscription, join as a workflow leaf, a long-lived teammate, or a one-shot subagent — scheduled by your main session, with the same identity and capabilities as a native Claude agent.
Every third-party worker is a real claude process with its LLM backend swapped to the provider, so Claude Code drives it exactly like a native agent. Your main session's own auth (OAuth subscription or API key) is untouched, and provider keys never enter env, argv, or shell history — zero leak risk.
Two steps to get going: one-line install, register a provider. Then state your intent in Claude Code with /workflow, /team, or /subagent — or just describe the task in plain language, and Claude figures out the rest.
No Claude subscription? ccf run <provider> starts an interactive session driven by that provider — the same claude you know, just running on the provider's model.
cc-fleet can be driven from Codex too: a Codex plugin gives a Codex session the same fan-out — cc-fleet subagent and cc-fleet workflow, with the claude engine as the worker. (Teammates stay Claude-Code-only.)
0. Install Claude Code first — cc-fleet drives the official claude CLI, so install it if you don't have it yet (skip if claude is already on your PATH):
macOS / Linux:
curl -fsSL https://claude.ai/install.sh | bash
Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex
1. Install cc-fleet with the one-line script (recommended) — one command does it all: downloads and verifies the CLI, puts it on your PATH (with a ccf alias, so ccf launches it from then on), and installs the Claude Code plugin (skill + session hook) via the marketplace. Ready to use right after:
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/ethanhq/cc-fleet/main/install.sh | sh
Windows (PowerShell):
irm https://raw.githubusercontent.com/ethanhq/cc-fleet/main/install.ps1 | iex
Codex plugin — to drive cc-fleet from a Codex session, after the install above run codex plugin marketplace add ethanhq/cc-fleet then codex plugin add cc-fleet.
Other channels (npm / go install / Releases / source) and adding the Claude Code plugin, installer overrides, and requirements & maintenance live in Install & maintenance.
Common commands:
ccf # open the interactive TUI
ccf doctor # health check: dependencies, providers, plugin status
ccf update # self-update by install channel + refresh the plugin
ccf uninstall --all # remove the binary and plugin too
Once installed, run ccf to register a provider and start delegating.
🔌 Provider management — one API key, connected
ccf opens the TUI; choose Add providers sets the default, d deletes🖥️ ccf run — run Claude Code on any provider
ccf run launches an interactive claude on your default provider; ccf run <provider> picks one/model for the model, /effort for thinking effort, Shift+Tab for permission mode⚙️ Dynamic Workflows — the same orchestration API as native workflows
/workflow to kick it off, or just tell Claude: "map each module with deepseek, glm drafts an audit checklist per module, gpt synthesizes"workflow wait blocks until it finishes — event-driven, no pollingx to hold / r to rerun a single leaf or a whole phase👥 Agent Teams — native multi-agent collaboration in tmux panes
/team to kick it off, or just tell Claude: "spawn a glm and a deepseek teammate, then compare their strengths"claude process working live in a side tmux pane — mix providers in one team, hand follow-ups across turnsh hides / s shows a pane — split in the foreground or run in the background⚡ Subagents — the lightest one-shot delegation
/subagent to kick it off, or just tell Claude: "fan out kimi, qwen, and glm over these three files in parallel"slim-ro read-only mode: let a provider analyze your repo safely, without touching code📊 The TUI board — your whole fleet on one screen
ccf launches, press Tab for the Agents Board — every Workflow / Team / Subagent laid out by project → sessionx / r to stop or rerun, p to pin against cleanup, c to clear finished, d to delete, h / s to hide or show a panecc-fleet's capabilities fall into two groups:
ccf run — tools you configure and use directly.Orchestration API: multi-phase orchestration lives in a JavaScript file, with an API identical to Claude Code's native Workflow tool — agent() starts a node, parallel() fans out, pipeline() chains a flow. The one difference is that agent() takes a provider option to assign each node's model, so different vendors mix and run in parallel within a single run:
const meta = {
name: "api audit",
description: "map endpoints, then draft audit checklists",
phases: [{ title: "map" }, { title: "build" }, { title: "judge" }],
};
phase("map");
const maps = (await parallel(
["auth", "billing", "users"].map((m) =>
() => agent("List the exported endpoints in module " + m, { provider: "deepseek" }))
)).filter(Boolean);
phase("build");
const checklists = await pipeline(maps,
(endpoints, _, i) => agent("Draft an audit checklist:\n" + endpoints,
{ provider: "glm", label: "build:" + i }));
phase("judge");
const verdict = await agent("Pick the strongest one and say why:\n" + checklists.join("\n---\n"),
{ provider: "claude", model: "opus", label: "judge" });
return { checklists, verdict };
Running and managing: once kicked off, the whole run executes in a background engine, managed by a small command set. Runs are journaled by content hash, and budgets cap spend in USD or tokens:
RUN=$(ccf workflow run audit.js) # starts in the background, prints the run id
ccf workflow wait "$RUN" --timeout 10m # blocks until done, event-driven
ccf workflow stop "$RUN" --leaf build:1 # hold a single leaf (run keeps going)
ccf workflow restart "$RUN" --leaf build:1 # resume it
ccf workflow run audit.js --resume "$RUN" # replay the journal, finished leaves hit cache
Holding and restarting: ccf workflow stop --leaf / --phase doesn't fail the run — it just pauses the named node: the run keeps going and other nodes carry on, until you restart it to run again. If every node currently running gets paused, the whole run settles into a parked state that needs you to step in before it continues.
Wait without polling: ccf workflow wait blocks until the run ends, then exits — drop it in the background and come back when it exits, no repeated checking. The exit code states the outcome: 0 succeeded, 1 failed, 3 parked and waiting, 124 wait timed out (run still going), 130 interrupted.
Budget-adaptive: budget.spent() / budget.remaining() are readable live inside the script (USD or tokens), so a workflow can decide for itself whether to dispatch another batch.
Mixing in your own subscription: a node assigned provider: "claude" runs on your own Claude login — the judge above uses your subscription, not a provider key, which suits a synthesis-and-finish node.
Prerequisites: Agent Team is the only lane that needs setup up front, and because it relies on tmux it doesn't support Windows yet. Two conditions before you use it:
tmux new-session -s work) so teammate panes can show up alongside you;ccf it detects this isn't on and offers to write it in for you — or add it once yourself to ~/.claude/settings.json:{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }
How they collaborate: each teammate is a real claude process; Claude builds the team with native TeamCreate and assigns work with native SendMessage, and teammates stay alive across turns so you can keep adding tasks. One team can use several providers at once, then have one teammate gather and compare the results.
Permission inheritance: each teammate inherits your main session's permission posture (plan / acceptEdits / default). If that can't be detected, it falls back to the safest default and won't open up risky permissions on its own.
Park and restore: ccf hide tucks a teammate's pane out of the way while the process keeps running — messages and context are never lost — and ccf show brings it back. At cleanup, ccf teardown thoroughly clears every related process, including ones still running in the background and consuming the key after their pane was closed, so no ghost quietly bills you.
Outside tmux: the teammate runs in a background cc-fleet-swarm-<team> session, exactly the same flow with the pane just not on screen. To look in, attach with tmux -L cc-fleet-swarm-<team> attach.
Three run modes: the default slim sends the model a trimmed system prompt with a narrowed tool set, so the first request is much smaller than a full session — cheaper and faster on metered providers. --profile slim-ro is read-only, with tools cut to inspection only (Bash / Glob / Grep / Read / Skill) and no creating, editing, or deleting files, so a provider can read code and check logs without touching your workspace. Use --profile full when you need full-session capability.
Tool trimming and parallelism: --tools takes a comma-separated list to set exactly which tools are open (a replacement, not an addition to the defaults), --skills=false turns off the Skill tool, and --mcp controls whether the host MCP config carries over. A subagent builds no team, takes no pane, and holds no locks, so running many against one provider doesn't interfere — ideal for large batches in parallel.
Background and wake-up: add --background to send a long job to the background, then ccf subagent-status <job> --wait blocks until it's done and wakes the session that launched it — no repeated checking. Each job is capped by spend (USD), turns, and timeout, and a failure returns a fixed error_code your program can branch on.
Structured result: with --json you get a result object with fixed fields, easy for scripts to parse — besides the answer text it includes the model id that actually responded, the call's spend, token usage, turns, and session_id.
Run key nodes on your own subscription: as with Workflow, setting the provider to the reserved name claude (ccf subagent claude --model opus …) uses your own Claude login and bills your subscription — good for a synthesis-and-finish node, not large parallel batches.
cc-fleet plugs into OpenAI Codex too: a Codex plugin lets a Codex session fan out the same provider workers — one-shot or batch subagents (cc-fleet subagent) and multi-phase JS workflows (cc-fleet workflow), each a real claude process on the provider's model. Install it with codex plugin marketplace add ethanhq/cc-fleet then codex plugin add cc-fleet (the cc-fleet and claude binaries install separately). The teammate lane stays Claude-Code-only; from Codex you get the subagent and workflow fan-out.
Broad compatibility: works with any Anthropic- or OpenAI-compatible API endpoint — the former includes DeepSeek, Kimi, GLM, Qwen, and more; the latter Groq, Together, Fireworks, a local vLLM, and OpenAI itself. Common vendors ship as presets — select one and the endpoint and protocol are filled in, no manual entry; for anything not listed, pick Custom and enter the address.
Model tiers: each provider can carry default / strong / fast model slots, each separately taggable with 1M context and a reasoning effort. So Claude just asks for "the strong model" — no hardcoded model IDs. ccf default <provider> sets the fleet-wide default provider, and any call that doesn't name one goes to it.
Multi-key rotation: one provider can hold several API keys, rotated by off / round_robin / random to spread quota and avoid rate limits.
API key protection: a key is fetched only at request time, emitted once, and never written into environment variables, command-line arguments, or shell history; a worker process starts with the main session's credentials cleared, so the two never leak into each other. On disk it's saved 0600, readable only by you, or handed to pass, 1Password, Vault, or your OS keyring; every UI and log shows the key masked (sk-…238).
Codex (ChatGPT subscription): one device-code login and your ChatGPT subscription becomes a regular provider — usable across Workflow / Team / Subagent / run.
[!WARNING] Codex is unofficial. Reusing a ChatGPT subscription outside the codex CLI may violate OpenAI's terms, and
ccf codex loginasks you to confirm first. The OAuth token lives only inside the local conversion daemon; cc-fleet keeps its own login chain and never touches the codex CLI's auth.
ccf runLaunch: ccf run <provider> opens an interactive claude on the named provider; with no provider (ccf run) it resolves to the fleet-wide default.
ccf run deepseek # an interactive claude, on DeepSeek, billing the provider key
It's just native claude: ccf run adds no extra process layer — it replaces itself with claude, cc-fleet steps out entirely, and from then on it's a plain claude process whose feel and exit behavior match typing claude yourself.
Credentials isolated automatically: even if you run it from inside a logged-in Claude Code session, it first clears any leftover Anthropic auth from the environment and uses the chosen provider's auth instead — so billing lands on the provider's key, never your own subscription.
Flags:
--model strong / fast — override the default with the provider's strong or fast model--permission-mode — set the permission posture-- <claude args> — everything after is passed through verbatim to the underlying claude[!NOTE] This lane is for hands-on interactive use: it needs a real terminal and doesn't support pipes or redirects — for non-interactive, one-shot output use a Subagent instead.
ccf <cmd> --help — always authoritative.PRs are very welcome — bug fixes, new provider presets, docs, tests, features. Please read the contribution guide first; a few house rules:
Co-Authored-By trailer..agents/
plugins/
marketplace.json
.claude-plugin/
marketplace.json
plugin.json
.github/
CONTRIBUTING.md
ISSUE_TEMPLATE/
bug_report.yml
config.yml
feature_request.yml
pull_request_template.md
SECURITY.md
workflows/
ci.yml
release.yml
.gitignore
.goreleaser.yaml
AGENTS.md
CLAUDE.md
cmd/
cc-fleet/
add_keysafety_test.go
add.go
codex.go
codexproxy.go
default.go
doctor.go
edit.go
export.go
hide.go
import.go
init_test.go
init.go
internal_helpers.go
keyget.go
list.go
main.go
models.go
provider_test.go
provider.go
ps.go
refresh_fingerprint_test.go
refresh_fingerprint.go
refresh.go
remove.go
repair.go
run_test.go
run.go
show.go
spawn_test.go
spawn.go
subagent_slim_test.go
subagent.go
teardown.go
tui_test.go
tui.go
uninstall_test.go
uninstall.go
update.go
updateprompt.go
watch_test.go
watch.go
workflow_leaf_test.go
workflow_wait_test.go
workflow.go
codex-plugin/
.codex-plugin/
plugin.json
skills/
cc-fleet-shared/
providers.md
subagent/
SKILL.md
workflow/
SKILL.md
docs/
architecture.md
assets/
cc-fleet-banner.png
demo-provider.webp
demo-run.webp
demo-subagent.webp
demo-team.webp
demo-tui.webp
demo-workflow.webp
provider-config.webp
provider-presets.webp
run-launch.webp
run-session.webp
subagent-board.webp
subagent-fanout.webp
team-board.webp
team-panes.webp
workflow-board.webp
workflow-leaf.webp
cli.md
cli.zh.md
install.md
install.zh.md
README_zh.md
workflows.md
go.mod
go.sum
hooks/
check-cc-fleet.js
hooks.json
install.ps1
install.sh
internal/
ccver/
ccver_test.go
ccver_windows_test.go
ccver.go
located_test.go
seam_unix.go
seam_windows.go
childenv/
childenv_test.go
childenv.go
match_unix.go
match_windows_test.go
match_windows.go
codexproxy/
cliride_test.go
cliride.go
convctx.go
conversion_align_test.go
credential_test.go
daemon_native_test.go
daemon.go
detach_unix.go
detach_windows.go
doc.go
fixture_test.go
jobstore_test.go
jobstore.go
liveworkers_unix.go
liveworkers_windows.go
login.go
misc_test.go
oauth.go
openai_chat_stream.go
openai_chat_test.go
openai_chat.go
openai_responses_test.go
openai_responses.go
protocol.go
scan_test.go
scan.go
serve.go
server_test.go
server.go
stop_test.go
stop_unix.go
stop_windows.go
stop.go
stream_test.go
stream.go
testdata/
chat_error.sse
chat_length.sse
chat_parallel.sse
chat_text.sse
chat_tool_calls_empty.sse
chat_tool.sse
forced_tool.sse
text.sse
thinking.sse
tokenstore_test.go
tokenstore.go
toolnames.go
translate_test.go
translate.go
upstream_iface.go
upstream.go
config/
bundle.go
default_provider_test.go
keyrotation_test.go
keyrotation.go
locations.go
lock_test.go
lock_unix.go
lock_windows.go
lock.go
protocol_test.go
provider_load_strict_test.go
provider_model_test.go
provider_test.go
provider.go
diag/
diag_test.go
diag.go
doctor/
check.go
checks_test.go
checks.go
run.go
fileutil/
atomic_test.go
atomic.go
fingerprint/
apply_test.go
apply.go
bundled_test.go
bundled.go
cache_test.go
cache.go
capture_darwin.go
capture_notdarwin.go
capture_test.go
capture.go
default_fingerprint.json
resolve_test.go
resolve.go
validate_test.go
validate.go
homedir/
homedir.go
ids/
provider_test.go
provider.go
typed_test.go
typed.go
validate_test.go
validate.go
leadsession/
detect_darwin_test.go
detect_test.go
detect.go
models/
cache_test.go
cache.go
fetch_limit_test.go
fetch_test.go
fetch.go
types.go
neterr/
neterr_test.go
neterr.go
onboarding/
agentteams_test.go
agentteams.go
claude_test.go
claude.go
osinfo_test.go
osinfo.go
state_test.go
state.go
panevis/
panevis_recovery_test.go
panevis_ref_test.go
panevis_test.go
panevis.go
permmode/
permmode_test.go
permmode.go
pinned/
pinned_test.go
pinned.go
procintrospect/
procintrospect_darwin_test.go
procintrospect_darwin.go
procintrospect_linux.go
procintrospect_other.go
procintrospect_test.go
procintrospect_windows.go
procintrospect.go
profile/
generate_test.go
generate.go
locations.go
pathsafety_test.go
shellquote_test.go
providerclass/
probe.go
providerclass_test.go
signatures.go
sniff_test.go
sniff.go
redact/
redact_test.go
redact.go
run/
exec_unix.go
exec_windows.go
run_test.go
run.go
secrets/
dispatch_test.go
dispatch.go
keyset_test.go
keyset_unix.go
keyset_windows.go
keyset.go
selfupdate/
binary.go
cache.go
plugin.go
selfupdate_test.go
selfupdate.go
signing_test.go
signing.go
transport_test.go
uninstall_test.go
uninstall.go
sessiontitle/
agent_test.go
agent.go
codextitle_test.go
codextitle.go
title_large_test.go
title_test.go
title.go
spawn/
inherit_darwin_test.go
inherit_test.go
inherit.go
reap_unix.go
reap_windows.go
spawn_codex_test.go
spawn_fingerprint_test.go
spawn_rollback_test.go
spawn_test.go
spawn.go
teamfs_test.go
teamfs_traversal_test.go
teamfs.go
types.go
subagent/
activity_test.go
activity.go
cache_usage_test.go
classify_redact_test.go
classify.go
clearfinished.go
engine_alive_test.go
engine_alive_unverifiable_test.go
engine_provably_dead_test.go
fg_liveness_test.go
fg_recorded_pid_purge_test.go
gc_resultcache_test.go
held_test.go
helpers_test.go
helpers_unix_test.go
job_argvmatch_test.go
job_cleanup_test.go
job_prompt_cap_test.go
job_prompt_reader_test.go
job_prompt_reader_unix_test.go
job_test.go
job_unix_test.go
job.go
leaf_liveness_test.go
native_test.go
native_unix_test.go
pending_finalize_test.go
pin_clear_test.go
proc_unix.go
proc_windows.go
procstart_guard_test.go
purge_livedetached_test.go
purge_nonpathsafe_pending_test.go
queued_test.go
readretry_test.go
readretry_unix.go
readretry_windows.go
readretry.go
reap_run_unix.go
reap_run_windows.go
reap_windows_test.go
restart_cluster_test.go
run_controls_test.go
run_gc_test.go
run_grouping_test.go
run_grouping_unix_test.go
run_journal_gc_test.go
run_mutation_test.go
run_purge_test.go
run_purge_worktree_test.go
run_readretry_test.go
run_robustness_test.go
run_test.go
run.go
runclaude_cap_test.go
saved_test.go
saved.go
slim_argv_test.go
slimcapture_test.go
slimprompt_test.go
slimprompt.go
slimprompt.txt.tmpl
status_vanish_test.go
statusfor_validate_test.go
stoprun_tristate_test.go
subagent_codex_test.go
subagent_test.go
subagent_unix_test.go
... 160 more© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic