OpenProgram Docs

Function design

RecordCovers
Program modelTools and applications, ProgramContext, plugins, exposure tiers, user directory, CLI
Function calling@function and Agent methods, shared registry, gating, deferred loading
Deferred toolsCatalog, tool_search ranking and loading per provider, unavailable tools, tool-array epochs
Tool guidesInstructions delivered when a call needs them, help, single-entry tools
Agent classes, Programs and toolsAgent classes and what each shape is for
Fixed-order callsA method calling sub-functions in source order

Decorator usage, metadata, the tool-call loop and pure-Python helpers live only in the Agentic programming guide.

Implementation

  • openprogram/runtime/agent/call_state.py
  • openprogram/runtime/agent/runtime/
  • openprogram/runtime/agent/decision.py
  • openprogram/programs/tools/<group>/<name>/
Last updated · 2026-11-25