examples/

directory
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: MIT

Directories

Path Synopsis
Azure OpenAI example for Chronos.
Azure OpenAI example for Chronos.
Example: chat_with_tools demonstrates an agent that uses tools during chat.
Example: chat_with_tools demonstrates an agent that uses tools during chat.
Command custom_tool shows how to give a Chronos agent a CUSTOM tool with a real Go handler.
Command custom_tool shows how to give a Chronos agent a CUSTOM tool with a real Go handler.
Example: coding_agent — A full-featured autonomous coding agent.
Example: coding_agent — A full-featured autonomous coding agent.
Example: durable_hitl demonstrates a durable, human-in-the-loop (HITL) StateGraph.
Example: durable_hitl demonstrates a durable, human-in-the-loop (HITL) StateGraph.
Command durable_queue demonstrates the Chronos durable, distributed execution plane (engine/queue) delivered in Phase P1.
Command durable_queue demonstrates the Chronos durable, distributed execution plane (engine/queue) delivered in Phase P1.
Example: fallback_provider demonstrates automatic failover between model providers.
Example: fallback_provider demonstrates automatic failover between model providers.
Example: graph_patterns demonstrates the StateGraph durable execution engine.
Example: graph_patterns demonstrates the StateGraph durable execution engine.
Example: graph_with_llm — StateGraph with real LLM calls inside nodes.
Example: graph_with_llm — StateGraph with real LLM calls inside nodes.
Example: hooks_observability demonstrates all Chronos hooks for production observability.
Example: hooks_observability demonstrates all Chronos hooks for production observability.
internal
exampletest
Package exampletest provides helpers for tests under examples/.
Package exampletest provides helpers for tests under examples/.
Example: mcp_agent demonstrates connecting an agent to a Model Context Protocol (MCP) server and importing its tools into the agent's registry.
Example: mcp_agent demonstrates connecting an agent to a Model Context Protocol (MCP) server and importing its tools into the agent's registry.
Example: memory_and_sessions demonstrates persistent multi-turn sessions and the memory system (short-term + long-term).
Example: memory_and_sessions demonstrates persistent multi-turn sessions and the memory system (short-term + long-term).
Example: multi_agent demonstrates all four team strategies and agent communication.
Example: multi_agent demonstrates all four team strategies and agent communication.
Example: multi_provider demonstrates connecting agents to different LLM providers.
Example: multi_provider demonstrates connecting agents to different LLM providers.
Example: multi_round_tools demonstrates an agent performing MULTIPLE sequential tool-calling rounds, where the result of tool A feeds the arguments of tool B.
Example: multi_round_tools demonstrates an agent performing MULTIPLE sequential tool-calling rounds, where the result of tool A feeds the arguments of tool B.
Example: multitenant_memory demonstrates per-user long-term memory isolation — two different users served by one logical agent, whose memories never leak across tenants.
Example: multitenant_memory demonstrates per-user long-term memory isolation — two different users served by one logical agent, whose memories never leak across tenants.
Chronos Quickstart — a minimal agent with SQLite storage and a durable StateGraph.
Chronos Quickstart — a minimal agent with SQLite storage and a durable StateGraph.
Example: sandbox_execution demonstrates the process sandbox for running untrusted commands with timeouts and output capture.
Example: sandbox_execution demonstrates the process sandbox for running untrusted commands with timeouts and output capture.
Example: streaming_sse demonstrates the event streaming broker for real-time observability.
Example: streaming_sse demonstrates the event streaming broker for real-time observability.
Example: team_deploy — Deploy multi-agent teams from YAML with sandbox isolation.
Example: team_deploy — Deploy multi-agent teams from YAML with sandbox isolation.
Example: tools_and_guardrails demonstrates the tool registry with permission levels and guardrail engine for input/output validation.
Example: tools_and_guardrails demonstrates the tool registry with permission levels and guardrail engine for input/output validation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL