Showcase
Example agents and patterns built with opentine. Each is a standalone script in the examples/ directory.
Research Agent
examples/research.py
Web search and page extraction agent that synthesizes findings into reports. Demonstrates tool use with search() and fetch(), run tree saving, and the standard agent loop.
Coding Agent
examples/coder.py
Reads, writes, and executes code in a sandboxed directory. Uses file system tools and subprocess execution with timeout protection.
Forked Debug
examples/forked_debug.py
The killer demo. Creates a run that fails, then forks from the last good step with a corrected prompt. Shows the full fork → replay → diff workflow in under 30 lines.
Cross-Model Comparison
examples/cross_model.py
Runs the same prompt against Anthropic, OpenAI, Google, and Ollama. Saves each run tree separately for side-by-side comparison with tine diff.
Pause & Resume
examples/resume.py
Demonstrates the pause/resume lifecycle. Creates a run, adds steps, serializes to a .tine file, then loads and continues on a different process.