一键导入
golem-view-agent-logs
Viewing agent logs and output. Use when streaming agent stdout/stderr/log channels or understanding how to observe agent output at runtime.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Viewing agent logs and output. Use when streaming agent stdout/stderr/log channels or understanding how to observe agent output at runtime.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Invoking a Rust Golem agent method from the CLI. Use when asked to call, invoke, or run a method on a deployed agent using golem agent invoke.
Defining environment variables for Golem agents. Use when configuring env vars in golem.yaml at the component template, component, agent type, or preset level, passing env vars to individual agent instances via CLI, or using template substitution and merge modes.
Exposing a Rust Golem agent over HTTP. Use when the user asks to add HTTP endpoints, mount an agent to a URL path, or expose agent methods as a REST API.
Adding secrets to Rust Golem agents. Use when the user needs to store sensitive configuration such as API keys, passwords, or tokens that should not be checked into source control.
Calling Golem agents from external Rust applications using generated bridge SDKs. Use when the user wants to invoke agents from outside the Golem platform, from a Rust CLI, server, or any native Rust application.
Setting up a Golem Cloud account from scratch. Use when creating a Golem Cloud account, authenticating with Golem Cloud via the CLI, setting up a cloud profile, or deploying to Golem Cloud for the first time.
| name | golem-view-agent-logs |
| description | Viewing agent logs and output. Use when streaming agent stdout/stderr/log channels or understanding how to observe agent output at runtime. |
Both golem and golem-cli can be used — all commands below work with either binary.
agent invoke — Log Streaming During InvocationBy default, agent invoke streams the agent's stdout, stderr, and log channels live while the invocation runs:
golem agent invoke <AGENT_TYPE_NAME> <AGENT_NAME> <FUNCTION_NAME> [ARGUMENTS...]
| Flag | Description |
|---|---|
--no-stream / -n | Disable live streaming entirely — only print the invocation result |
--stream-no-log-level | Hide log levels (e.g. INFO, ERROR) from streamed output |
--stream-no-timestamp | Hide timestamps from streamed output |
--logs-only | Only show entries coming from the agent — suppress invocation markers and stream status messages |
These flags can be appended to any agent invoke command. For the invocation syntax itself (agent ID, function name, arguments), refer to the language-specific invocation skills.
Disable streaming and only get the result:
golem agent invoke ... --no-stream
Clean log output without timestamps or levels:
golem agent invoke ... --stream-no-timestamp --stream-no-log-level
Show only agent-emitted output:
golem agent invoke ... --logs-only
agent stream — Live Stream an Agent's OutputConnect to a running agent and live stream its stdout, stderr, and log channels via WebSocket. The stream reconnects automatically if the connection drops.
golem agent stream <AGENT_TYPE_NAME> <AGENT_NAME>
This is useful for observing an agent that is already running or will be invoked separately.
| Flag | Description |
|---|---|
--stream-no-log-level | Hide log levels from output |
--stream-no-timestamp | Hide timestamps from output |
--logs-only | Only show agent-emitted entries, suppress invocation markers and stream status |
The <AGENT_ID> format depends on the agent's language — refer to the language-specific invocation skills for the exact syntax.
Stream all output from an agent:
golem agent stream <AGENT_ID>
Stream only agent logs without decorations:
golem agent stream <AGENT_ID> --stream-no-timestamp --stream-no-log-level --logs-only