What problem does it solve?
It solves the problem of debugging and monitoring agent behavior by showing exactly what an agent is writing to stdout, stderr, and its log channels during invocation or while it’s already running.
Core Features & Use Cases
- Stream logs during invocation: Observe live stdout/stderr/log output while an agent function runs, with optional suppression of timestamps and log levels.
- Connect to a running agent: Attach via WebSocket to stream output from an agent that is already running.
- Reduce noise with logs-only mode: Display only entries emitted by the agent, removing invocation markers and stream status messages.
Use Case: When an agent fails or behaves unexpectedly, stream its output during agent invoke to identify the precise point where logs change, then use agent stream to keep monitoring without restarting.
Quick Start
Stream live logs for an agent by running the command: golem agent invoke <AGENT_TYPE_NAME> <AGENT_NAME> <FUNCTION_NAME> with the streaming flags you need.