agent-callbacks

Community

Add observability and error handling to agents.

AuthorNicolaiLassen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Agent execution can feel like a black box, making it hard to debug failures, verify tool behavior, and monitor model calls in production.

Core Features & Use Cases

  • Model lifecycle callbacks: run logic before and after LLM requests to log inputs, tools available, and response summaries.
  • Tool lifecycle callbacks: capture tool start/end events to audit arguments and results.
  • Sub-agent delegation hooks: intercept and observe events produced by child agents when using an AgentTool.
  • Error handling hooks: intercept model errors to log issues and optionally return a recoverable response.
  • Tracing integration (Langfuse): stream events to a tracing backend via callbacks for monitoring and analytics.

Quick Start

Ask: “Enable model and tool callbacks for my orxhestra agent to log requests, tool calls, and errors during streaming runs.”

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: agent-callbacks
Download link: https://github.com/NicolaiLassen/orxhestra/archive/main.zip#agent-callbacks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.