What problem does it solve?
When calling a Golem agent, the default invocation blocks until the result returns. This Skill shows how to enqueue a MoonBit agent method call asynchronously so the caller returns immediately without waiting for the result.
Core Features & Use Cases
- Fire-and-Forget Invocation: Uses
golem agent invoke --trigger to enqueue a method call and return only the idempotency key.
- Idempotency and Scheduling: Supports explicit idempotency keys and
--schedule-at for deferred execution at a specific ISO 8601 time.
- MoonBit Naming Conventions: Documents that method names use
snake_case and agent type names use PascalCase, with Rust-style value syntax for arguments.
- Use Case: Trigger a long-running background job such as
start_background_job on a MoonBit agent without blocking the caller, or schedule a daily report to run at a future time.
Quick Start
Ask the AI to trigger a fire-and-forget invocation of a MoonBit Golem agent method, for example triggering 'MyAgent()' start_background_job with a job ID argument.