Commit Graph

5 Commits

Author SHA1 Message Date
Anthony Shaw
d8fc473383 Add RALPH-loop recipe to Copilot SDK cookbook
Add iterative RALPH-loop (Read, Act, Log, Persist, Halt) pattern
implementations for all four supported languages:

- C#/.NET: ralph-loop.cs with documentation
- Node.js/TypeScript: ralph-loop.ts with documentation
- Python: ralph_loop.py with documentation (async API)
- Go: ralph-loop.go with documentation

Each recipe demonstrates:
- Self-referential iteration where AI reviews its own output
- Completion promise detection to halt the loop
- Max iteration safety limits
- File persistence between iterations

Verified against real Copilot SDK APIs:
- Python: fully verified end-to-end with github-copilot-sdk
- Node.js: fully verified end-to-end with @github/copilot-sdk
- C#: compiles and runs successfully with GitHub.Copilot.SDK
- Go: compiles against github.com/github/copilot-sdk/go v0.1.23
2026-02-11 04:59:20 -08:00
trycatchkamal
e7f08b382e Updated python installation instructions 2026-02-03 22:51:52 +05:30
copilot-swe-agent[bot]
840523c81b Fix Prerequisites description to accurately reflect PyPI installation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 03:34:40 +00:00
Aaron Powell
54ce5c5603 Addressing feedback 2026-02-02 14:01:22 +11:00
Aaron Powell
f59e0b4080 Moving the copilot-sdk cookbook content in here 2026-01-29 14:29:36 +11:00