File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Agent Adapters
2+
3+ The MVP uses a simple command wrapper instead of hard-coding model APIs.
4+
5+ Example:
6+
7+ ``` bash
8+ agentflow run AF-20260613-001 --command " claude < {prompt}" --check " pytest -q"
9+ agentflow run AF-20260613-001 --command " codex exec --prompt-file {prompt}" --check " pytest -q"
10+ agentflow run AF-20260613-001 --command " cat {prompt}" --agent manual
11+ ```
12+
13+ ` {prompt} ` is replaced with the generated context-pack path.
14+
15+ ## Planned adapter presets
16+
17+ Future versions can define presets like:
18+
19+ ``` json
20+ {
21+ "agents" : {
22+ "claude-code" : {
23+ "command" : " claude < {prompt}"
24+ },
25+ "codex-cli" : {
26+ "command" : " codex exec --prompt-file {prompt}"
27+ },
28+ "gemini-cli" : {
29+ "command" : " gemini --prompt-file {prompt}"
30+ }
31+ }
32+ }
33+ ```
34+
35+ ## Worktree isolation
36+
37+ The next major feature is to run each task in its own ` git worktree ` , so multiple agents can work in parallel without overwriting each other's files.
You can’t perform that action at this time.
0 commit comments