Skip to Content
How-To GuidesScalaScala How-To Guides

Scala How-To Guides

Guides specific to developing Golem agents in Scala.

Add a Scala Library DependencyAdding a New Agent to a Scala Golem ComponentAdding HTTP Endpoints to a Scala Golem AgentAdding LLM and AI Capabilities (Scala)Adding Resource Quotas to an Agent (Scala)Adding Secrets to a Scala Golem AgentAdding Typed Configuration to a Scala AgentAgent Reflection and Client Approaches (Scala)Annotating Agent Methods (Scala)Atomic Blocks and Durability Controls (Scala)Call a Golem tool from ScalaCalling Agents from External Applications (Scala)Calling Another Agent (Scala)Configuring Agent Durability (Scala)Configuring CORS for Scala HTTP EndpointsConfiguring Semantic Retry Policies (Scala)Creating a Golem Agent Instance with `golem agent new`Creating Ephemeral (Stateless) Agents (Scala)Custom Snapshots in ScalaDefine a Golem tool in ScalaDurable Streams in ScalaEnabling Authentication on Scala HTTP EndpointsEnabling OpenTelemetry for a Scala AgentFile I/O in Scala Golem AgentsFire-and-Forget Agent Invocation (Scala)Golem Interactive REPL (Scala)HTTP Request and Response Parameter Mapping (Scala)Invoking a Golem Agent with `golem agent invoke`Logging from a Scala AgentMaking Outgoing HTTP Requests (Scala)Marking Agent Methods as Read-Only (Scala)Parallel Workers — Fan-Out / Fan-In (Scala)Permission cards in ScalaPhantom Agents in ScalaRecurring Tasks via Self-Scheduling (Scala)Saga-Pattern Transactions (Scala)Scheduling a Future Agent InvocationScheduling a Future Agent Invocation (Scala)Streaming Agent Methods in ScalaTool middleware in ScalaTriggering a Fire-and-Forget Agent InvocationUsing Apache Ignite from a Scala AgentUsing MySQL from a Scala AgentUsing PostgreSQL from a Scala AgentUsing Webhooks in a Scala Golem AgentWaiting for External Input with Golem Promises (Scala)