You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add deterministic multi-step workflow pattern matching the landing page,
with YAML example showing skill/agent/tool step chaining.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deterministic, multi-step workflows defined in `workflows/` as YAML. Chain `skill:`, `agent:`, and `tool:` steps with `depends_on` ordering, `${{ }}` template data flow, and per-step `prompt:` overrides. Every run follows the same path — no LLM discretion on execution order.
163
+
164
+
```yaml
165
+
name: code-review-flow
166
+
description: Full code review pipeline
167
+
triggers:
168
+
- pull_request
169
+
170
+
steps:
171
+
lint:
172
+
skill: static-analysis
173
+
inputs:
174
+
path: ${{ trigger.changed_files }}
175
+
176
+
review:
177
+
agent: code-reviewer
178
+
depends_on: [lint]
179
+
prompt: |
180
+
Focus on security and performance.
181
+
Flag any use of eval() or raw SQL.
182
+
inputs:
183
+
findings: ${{ steps.lint.outputs.issues }}
184
+
185
+
test:
186
+
tool: bash
187
+
depends_on: [lint]
188
+
inputs:
189
+
command: "npm test -- --coverage"
190
+
191
+
report:
192
+
skill: review-summary
193
+
depends_on: [review, test]
194
+
conditions:
195
+
- ${{ steps.review.outputs.severity != 'none' }}
196
+
inputs:
197
+
review: ${{ steps.review.outputs.comments }}
198
+
coverage: ${{ steps.test.outputs.report }}
199
+
200
+
error_handling:
201
+
on_failure: notify
202
+
channel: "#eng-reviews"
203
+
```
204
+
205
+
### Porting Framework Agents to GitAgent
206
+
207
+
Agents built in frameworks like NVIDIA AIQ, LangGraph, or CrewAI have their identity split across config files, Jinja2 templates, and Python code. gitagent extracts the **identity layer** — prompts, rules, roles, tool schemas — into a portable, versionable format.
208
+
209
+
> **What ports cleanly:** system prompts, persona definitions, hard constraints, tool schemas, role/SOD policies, model preferences.
210
+
>
211
+
> **What stays in the framework:** runtime orchestration (state machines, graph wiring), live tool execution, memory I/O, iterative loops.
212
+
213
+
This pattern is demonstrated with [NVIDIA's AIQ Deep Researcher](https://github.com/NVIDIA-AI-Blueprints/aiq) — a 3-agent hierarchy (orchestrator → planner → researcher) that produces cited research reports. The gitagent version captures the agent's identity, rules, and SOD policy so you can:
214
+
215
+
- **Fork for a new domain** — edit `SOUL.md` for legal/medical/finance research without touching Python
216
+
- **Version prompts independently** — `git diff` when the orchestrator's style regresses
217
+
- **Validate SOD** — `gitagent validate --compliance` ensures the orchestrator can't also be the researcher
218
+
- **Export to other runtimes** — same identity on Claude Code, OpenAI, or as a raw system prompt
0 commit comments