Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.46 KB

File metadata and controls

41 lines (31 loc) · 1.46 KB

Examples

Runnable programs demonstrating each saige subsystem. Every example is a standalone main package:

go run ./examples/agent/basic/
go run ./examples/knowledge/basic/
go run ./examples/rag/arxiv/

Agent

Example Description
agent/basic Single tool with Ollama
agent/streaming All delta types with ANSI output
agent/subagents Parent delegating to researcher
agent/concurrent-subagents Parallel sub-agent execution
agent/resilient Retry + fallback composition
agent/multimodal File pipeline with file:// resolver
agent/caching Response caching by request hash
agent/durable DBOS-backed durable runs
agent/handoffs Agent-to-agent handoffs
agent/tui Interactive and verbose TUI modes
agent/runner Multi-turn conversation loop

Knowledge Graph

Example Description
knowledge/basic Build and query a knowledge graph

RAG

Example Description
rag/arxiv Full pipeline with arXiv papers

Validation

validation/ runs live end-to-end checks against real providers. See its README.