examples/

directory
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT

Directories

Path Synopsis
cookbook
hitl_resume command
Command hitl_resume shows human-in-the-loop tool approval built only from fino primitives: a Policy suspends a sensitive tool (DecisionSuspend), the run halts with a suspended Result, a human approves or rejects each pending call, and runner.ResumeApproved continues the ReAct loop.
Command hitl_resume shows human-in-the-loop tool approval built only from fino primitives: a Policy suspends a sensitive tool (DecisionSuspend), the run halts with a suspended Result, a human approves or rejects each pending call, and runner.ResumeApproved continues the ReAct loop.
parallel_tools command
Command parallel_tools shows bounded concurrent tool execution within a single tool-call batch via runner.WithMaxConcurrency.
Command parallel_tools shows bounded concurrent tool execution within a single tool-call batch via runner.WithMaxConcurrency.
rag_as_tool command
Command rag_as_tool shows that retrieval-augmented generation needs no core support: a retriever is just a tool.Tool.
Command rag_as_tool shows that retrieval-augmented generation needs no core support: a retriever is just a tool.Tool.
Command hello is a minimal end-to-end fino example: an agent with one tool, driven by an OpenAI-compatible model.
Command hello is a minimal end-to-end fino example: an agent with one tool, driven by an OpenAI-compatible model.
Command history_trim demonstrates the canonical fino extension pattern: wrapping model.Model.
Command history_trim demonstrates the canonical fino extension pattern: wrapping model.Model.
Command multi_mode shows one agent with two modes — "plan" and "code" — and how to select a mode per run with runner.WithMode.
Command multi_mode shows one agent with two modes — "plan" and "code" — and how to select a mode per run with runner.WithMode.
Command streaming shows how to consume the Runner's streaming events: text deltas, tool calls, tool results, and the final message.
Command streaming shows how to consume the Runner's streaming events: text deltas, tool calls, tool results, and the final message.

Jump to

Keyboard shortcuts

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