Examples Overview¶
All runnable scripts are under examples/.
Dataset Templates¶
Starter datasets:
datasets/templates/two_tool_minimal.jsonldatasets/templates/cloudflare_search_execute.jsonldatasets/templates/routing_mix.jsonl
Local MCP Showcase¶
With artifact:
Static Showcase¶
HTTP Showcase¶
Cloudflare MCP Showcase¶
Local Optimization¶
HTTP Bridge Optimization¶
python examples/optimize_cloudflare_http.py --endpoint http://localhost:8080/run-codemode --max-metric-calls 10
Cloudflare MCP Optimization¶
python examples/optimize_mcp_cloudflare.py --max-metric-calls 10
# or
scm optimize --runner mcp-http --max-metric-calls 10
Expected behavior:
- case 1 often selects
searchand returns structured metadata JSON - case 2 selects
executeand returns{"result": 42} - average score may show
0.5with current demo metric
Gemini Low Cost Optimization¶
Direct MCP Client Demo¶
Add Observability to Any Command¶
Understand What Is Being Optimized¶
Read guides/gepa-adapter.md for a plain explanation of GEPA candidate fields, runner behavior, and transport choices.