LLM and Tool ProgramsΒΆ Use these recipes for LM calls, schemas, static context, and tool-use programs. Optimize Prompts with pullback Feedback Configure LiteLLM Routing Use Schema Patterns Route with Enum Use Nested Arguments Build Schema Variants Represent Optional-Like Fields Send Field Feedback Rank Tool Candidates with Path Weights Define Candidates and Priors Score One Tool Score Every Tool Normalize the Scores Act or Ask Specialize a Program with Static Context Trace-Time and Runtime Build the Program Trace with Static Context Changing Static Context Requires Retracing Compile a Rewriter for One Domain Build a Tool-Use Agent Build the Agent Transform the Agent Sync Rules