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 is the wrong tool. This Skill shows how to enqueue asynchronous, fire-and-forget invocations on Scala Golem agents using the golem CLI's --trigger flag.
Core Features & Use Cases
- Fire-and-Forget Invocation: Use
golem agent invoke --trigger to enqueue a method call that returns immediately with only an idempotency key.
- Idempotency and Scheduling: Control duplicate execution with explicit idempotency keys and defer execution with the
--schedule-at option.
- Scala Value Syntax: Pass agent IDs and arguments using Scala syntax, including records, options, variants, and tuples.
- Use Case: Trigger a daily report job on a BatchProcessor agent with a fixed idempotency key so the job runs in the background and cannot be accidentally executed twice.
Quick Start
Ask the AI to trigger a fire-and-forget invocation of a method on your Scala Golem agent using golem agent invoke --trigger with the appropriate agent ID and arguments.