|
|
|
@@ -2,6 +2,8 @@
|
|
|
|
|
|
|
|
|
|
This catalog highlights the examples shipped with Agent-lightning.
|
|
|
|
|
|
|
|
|
|
Community-contributed examples and recipes are available in the [contrib](../contrib) directory.
|
|
|
|
|
|
|
|
|
|
| Example | Description | CI Maintenance |
|
|
|
|
|
|---------|-------------|----------------|
|
|
|
|
|
| [apo](./apo) | Automatic Prompt Optimization tutorials covering built-in, custom, and debugging workflows. | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-apo.yml) |
|
|
|
|
@@ -11,9 +13,23 @@ This catalog highlights the examples shipped with Agent-lightning.
|
|
|
|
|
| [claude_code](./claude_code) | Claude Code SWE-bench harness that records Agent-lightning traces across Anthropic, vLLM, and OpenAI-compatible backends. | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-claude-code.yml) |
|
|
|
|
|
| [minimal](./minimal) | Bite-sized programs that demonstrate how individual Agent-lightning building blocks behave in isolation. | [](https://github.com/microsoft/agent-lightning/actions/workflows/badge-unit.yml) |
|
|
|
|
|
| [rag](./rag) | Retrieval-Augmented Generation pipeline targeting the MuSiQue dataset with Wikipedia retrieval. | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-rag.yml) |
|
|
|
|
|
| [search_r1](./search_r1) | Framework-free Search-R1 reinforcement learning training workflow with a retrieval backend. | **Last verified with Agent-lightning v0.1.2** |
|
|
|
|
|
| [spider](./spider) | Text-to-SQL reinforcement learning training on the Spider dataset using LangGraph. | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-spider.yml) |
|
|
|
|
|
| [tinker](./tinker) | Reinforcement learning with Tinker as the backend training service. | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-tinker.yml) |
|
|
|
|
|
| [unsloth](./unsloth) | Supervised fine-tuning example powered by Unsloth with 4-bit quantization and LoRA. | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-unsloth.yml) |
|
|
|
|
|
|
|
|
|
|
*NOTE: CI status avoids taking any workflow running with latest dependencies into account. That's why we reference the corresponding `badge-*` workflows instead. Each example's own README also displays its `examples-*` workflow status whenever the project is maintained by CI.*
|
|
|
|
|
## `examples-*` workflow status
|
|
|
|
|
|
|
|
|
|
CI status above avoids taking any workflow running with latest dependencies into account. That's why we reference the corresponding `badge-*` workflows instead. The following table displays the raw `examples-*` workflow status whenever the project is maintained by CI.
|
|
|
|
|
|
|
|
|
|
| Workflow | Status |
|
|
|
|
|
|----------|--------|
|
|
|
|
|
| `examples-apo.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-apo.yml) |
|
|
|
|
|
| `examples-azure.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-azure.yml) |
|
|
|
|
|
| `examples-calc-x.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-calc-x.yml) |
|
|
|
|
|
| `examples-chartqa.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-chartqa.yml) |
|
|
|
|
|
| `examples-claude-code.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-claude-code.yml) |
|
|
|
|
|
| `examples-compat.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-compat.yml) |
|
|
|
|
|
| `examples-rag.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-rag.yml) |
|
|
|
|
|
| `examples-spider.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-spider.yml) |
|
|
|
|
|
| `examples-tinker.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-tinker.yml) |
|
|
|
|
|
| `examples-unsloth.yml` | [](https://github.com/microsoft/agent-lightning/actions/workflows/examples-unsloth.yml) |
|
|
|
|
|