Raw SDK
Use Fuze directly with the raw OpenAI or Anthropic SDK, no agent framework required. Wrap each tool with guard() and dispatch from the LLM's tool-call response.
TypeScript
Python
Batch wrapping
from fuze_ai import guard_all
guarded = guard_all(
{"search": search_fn, "calculate": calc_fn, "send_email": email_fn},
side_effects=["send_email"]
)Run any of the snippets above and Fuze writes a JSONL trace per call to ./fuze-traces.jsonl: