What problem does it solve?
Calling Golem agents from outside the Golem platform normally requires hand-writing REST API calls against the Golem server. This Skill generates fully typed Rust bridge SDKs so external Rust applications—CLIs, web servers, background jobs—can invoke agents with compile-time type safety.
Core Features & Use Cases
- Manifest-Driven Bridge Generation: Declare a
bridge section in golem.yaml and let golem build produce a Rust client crate per agent type automatically.
- Typed Agent Invocation: Generated clients expose typed methods matching agent definitions, including custom records, variants, enums, and flags.
- Flexible Server Configuration: Connect to a local Golem server, Golem Cloud with an API token, or a custom deployment URL.
- Phantom Agents and Configuration: Create multiple instances with shared constructor parameters via phantom agents, and pass local config with
_with_config variants.
- Use Case: You have a Golem agent handling billing logic and want a native Rust CLI to trigger it. Declare the bridge in
golem.yaml, run golem build, add the generated crate as a path dependency, and call agent methods directly with async/await.
Quick Start
Add a bridge section for Rust external agents to golem.yaml, run golem build, then add the generated client crate as a path dependency and call the agent's typed methods from your Rust application.