What problem does it solve?
This Skill helps you publish a TypeScript Golem agent over HTTP so users can call your agent’s methods through well-defined REST-like endpoints instead of using an internal or non-HTTP interface.
Core Features & Use Cases
- HTTP mounting for agents: Set a base
mount path on the @agent() decorator so endpoint routes attach to a consistent URL prefix.
- Route exposure via decorators: Use
@endpoint() to map specific agent methods to HTTP verbs (get/post/put/delete/custom) and URL paths.
- HTTP API deployment wiring: Add the
httpApi deployment configuration in golem.yaml so the endpoints are actually reachable in a target domain.
- Typed request/response mapping: Rely on Golem’s return-type-to-HTTP-status/body mapping (including
void, undefined, Result, and UnstructuredBinary) for predictable HTTP behavior.
- Use cases: exposing task/operations agents as endpoints, turning agent actions into a backend REST service, mounting an agent at a path with variables derived from constructor parameters.
Quick Start
Add a mount to your @agent() decorator, annotate methods with @endpoint() for your desired HTTP routes, and then add an httpApi deployment section in golem.yaml for your domain.