@melony/inspector
v0.3.0
Published
Real-time inspection and observability for Melony agents.
Maintainers
Readme
@melony/inspector
The real-time inspection plugin for Melony agents.
Installation
npm install @melony/inspectorUsage
import { agent } from "@melony/agents";
import { inspector } from "@melony/inspector";
const myAgent = agent("my-agent")
.use(inspector({
url: "http://localhost:7777" // Optional: default studio URL
}))
.use(llm(...));Features
- Captures Events: Every event emitted by the agent is sent to Melony Studio.
- State Snapshots: Captures the full
context.stateat the time of each event. - Minimal Performance Impact: Uses fire-and-forget
fetchto avoid blocking agent execution.
