@openclaw-agent-trace/cli
v0.1.5
Published
CLI tool for Agent Monitor — interactive onboarding, status, logs, and local dashboard
Maintainers
Readme
@openclaw-agent-trace/cli
Interactive CLI for Agent Monitor — open-source observability for AI agents.
Quick Start
npx @openclaw-agent-trace/cli initThe init command walks you through:
- Paste your API key (must start with
ap_proj_) - Choose your framework — OpenClaw, LangChain, CrewAI, AutoGen, or Custom
- Name your project
- Validates the key against the server
- Saves config to
.agent-monitor/config.json
Commands
| Command | Description |
| ----------- | -------------------------------------------- |
| init | Interactive project setup |
| status | Show agent status and key metrics |
| logs | View recent event logs (--tail to stream) |
| dashboard | Launch the local web dashboard |
Options
--server-url Server URL (default: production)
--project-key Project API key (shorthand: -k)
--local Use local-only transport
--dir Data directory (default: .agent-monitor)
--verbose Verbose error outputExample
# Initialize with custom server
npx @openclaw-agent-trace/cli init --server-url http://localhost:3000
# Check status
npx @openclaw-agent-trace/cli status -k ap_proj_abc123
# Tail logs
npx @openclaw-agent-trace/cli logs --tailAfter Init
Add the SDK to your agent code:
import { AgentMonitor } from "@openclaw-agent-trace/sdk";
const monitor = new AgentMonitor({
projectKey: "ap_proj_...",
framework: "openclaw",
});Events will automatically flow to your dashboard.
License
MIT
