Agent Media Tools

Provider guide

Cloud API or local model—the bot stays yours.

The provider setting controls the request format. Environment variables supply private credentials and can override the configured base URL without regenerating the project.

Hosted providers

ProviderEnvironment variableNotes
OpenAIOPENAI_API_KEYUses the documented Chat Completions endpoint for broad compatible-provider support.
AnthropicANTHROPIC_API_KEYUses Anthropic Messages with the system prompt separated.
Google GeminiGEMINI_API_KEYUses Gemini generateContent, system instruction fields, and the API-key header.

Model identifiers change over time. Confirm the selected model exists in your provider account before deployment. Provider usage is billed directly by that provider; AMT does not proxy ordinary model conversations. See the official OpenAI Chat Completions, Anthropic Messages, and Gemini generateContent references.

Ollama

ollama pull llama3.2
ollama serve
# generated .env
LLM_BASE_URL=http://127.0.0.1:11434/v1

Ollama’s official OpenAI compatibility endpoint requires an API-key value in some clients but ignores it locally; the runtime supplies a harmless placeholder when no key is set.

LM Studio

  1. Download a model in LM Studio.
  2. Load it and start the local server.
  3. Use the identifier exposed by LM Studio in the Builder’s Model field.
  4. Keep http://127.0.0.1:1234/v1 when bot and model run on the same machine.
  5. For a private remote machine, bind LM Studio to its network interface and use its Tailscale address, such as http://100.x.y.z:1234/v1. Do not expose an unauthenticated model server to the public internet.

OpenWebUI and compatible servers

Select OpenAI-compatible endpoint. Set the exact model name, enter the server’s /v1 base URL, and place its key in LLM_API_KEY. For OpenWebUI pipelines, the model and authentication requirements are defined by that OpenWebUI installation.

LLM_BASE_URL=https://models.example.com/v1
LLM_API_KEY=replace_with_private_key
Remote endpoint warning.

A non-local endpoint receives the bot’s system prompt, recent memory, user message, and relevant knowledge context. Use only providers you trust and review their retention terms.

Tuning

SettingEffect
TemperatureHigher values increase variation; lower values are steadier.
Max output tokensCaps each response. Reasoning models may consume hundreds of hidden reasoning tokens before visible text; use at least 500–1,200 when a small cap returns no visible answer.
Context sizeDocuments intent for the selected model; actual limits remain provider-controlled.
Remembered messagesControls how many prior local messages are added to each request.