What problem does it solve?
Calling methods on deployed Golem agents requires knowing the correct CLI syntax, agent ID format, argument encoding, and streaming options. This Skill provides the exact commands and conventions for invoking MoonBit-based Golem agents without trial and error.
Core Features & Use Cases
- Agent Method Invocation: Run
golem agent invoke <AGENT_ID> <FUNCTION_NAME> [ARGUMENTS...] to call any deployed agent method and wait for the result.
- Streaming Support: Pipe data into stream parameters via stdin (
--stdin-format value|raw) and render stream results with --stdout-format value|raw, including durable sessions with --save-session and --resume-session.
- Idempotency and Scheduling: Control execution guarantees with
--idempotency-key, fire-and-forget triggers via --trigger, and scheduled invocations with --schedule-at.
- Use Case: Invoke a chat agent method by running
golem agent invoke 'ChatRoom("general")' send_message '"Hello, world!"' and receive the rendered MoonBit return value directly in the terminal.
Quick Start
Ask the AI to invoke the get_status method on a deployed MoonBit agent using golem agent invoke with the agent ID 'MyAgent()'.