KapsoEx.Agent.Modes (kapso_ex v0.1.0)

Copy Markdown View Source

Kapso Agent modes: built-in and custom modes with their instructions, tools and permissions. Only modes whose available_invocations include "api" accept runs from KapsoEx.Agent.Runs.create/2.

Summary

Functions

Gets a mode by its identifier.

Lists every mode.

Types

result()

@type result() :: {:ok, map()} | {:error, KapsoEx.Error.t()}

Functions

get(client, mode)

@spec get(KapsoEx.Client.t(), String.t()) :: result()

Gets a mode by its identifier.

list(client)

@spec list(KapsoEx.Client.t()) :: result()

Lists every mode.