Examples
Runnable examples from the Wesichain repository. Filter by category or difficulty.
7 examples
beginner
ReAct Agent with Graph
Tool-using ReAct agent built with ReActGraphBuilder and streaming output.
wesichain-corewesichain-llmwesichain-graph
advanced
Autonomous Coding Agent
Full coding agent with filesystem tools, git, PathGuard sandboxing, and MCP.
wesichain-toolswesichain-agentwesichain-sessionwesichain-mcp
intermediate
RAG with SSE Streaming
Ingest documents, embed, retrieve, and stream responses as Server-Sent Events.
wesichain-ragwesichain-retrievalwesichain-checkpoint-sqlite
intermediate
Persistent Conversation
Multi-turn conversation with SQLite checkpointing and session resumption.
wesichain-graphwesichain-checkpoint-sqlite
advanced
Human-in-the-Loop Approval
Agent workflow with an interrupt gate requiring human approval before tool execution.
wesichain-graphwesichain-core
intermediate
HTTP + SSE Agent Server
Axum HTTP server exposing an agent as a streaming REST endpoint with Bearer auth.
wesichain-serverwesichain-agent
beginner
Langfuse Observability
Attach a Langfuse callback handler to trace LLM calls and agent runs.
wesichain-langfusewesichain-core