What problem does it solve?
Calling a method on a deployed Golem agent requires knowing the correct CLI syntax, agent ID format, and Scala value encoding, which is error-prone when done by hand. This Skill provides the exact commands and conventions for invoking Scala Golem agent methods with golem agent invoke.
Core Features & Use Cases
- Agent Method Invocation: Run
golem agent invoke <AGENT_ID> <FUNCTION_NAME> [ARGUMENTS...] to call a method and wait for its result, with automatic agent creation on first invocation.
- Streaming and Session Management: Pipe stream parameters via stdin, render stream results as values or raw bytes, and resume detached invocations with
--save-session and --resume-session.
- Scala Value Syntax: Pass arguments using Scala syntax such as
Some(value), records with named fields, enums, tuples, and WitResult.Ok/Err.
- Use Case: Invoke a chat agent method by running
golem agent invoke 'ChatRoom("general")' sendMessage '"Hello, world!"' and receive the rendered result directly in the terminal.
Quick Start
Ask the AI to invoke the getStatus method on the agent MyAgent() using the golem CLI and show the result.