What problem does it solve?
When you need to start a long-running or background operation on a Golem agent without blocking on the result, a synchronous invocation forces you to wait. This Skill shows how to enqueue asynchronous, fire-and-forget agent method invocations with the golem CLI.
Core Features & Use Cases
- Fire-and-Forget Invocation: Use
golem agent invoke --trigger to enqueue a method call that returns immediately with only the idempotency key.
- Scheduling and Idempotency: Combine
--schedule-at for future execution and -i for explicit idempotency keys that prevent duplicate runs.
- Rust Value Syntax: Pass agent IDs and arguments using Rust syntax, including records, enums, options, and tuples.
- Use Case: Trigger a nightly batch job on a
BatchProcessor agent with a fixed idempotency key so the report runs once in the background while your CLI session continues.
Quick Start
Ask the AI to trigger a background method on your Golem agent, for example: trigger the run_daily_report method on the BatchProcessor agent without waiting for the result.