Connect Agents

The Agent panel uses AI models from a provider. You connect a provider with your own API key.

Splitleaf supports Anthropic, OpenAI, and OpenRouter.

You can connect one, two, or all three providers. The model list then shows models from every connected provider.

Note: An API key is a secret. Do not share it or put it in a chat message. Splitleaf stores it for this site only, encrypted on the server; it is never written to your site folder.

Connect a provider

  1. Open your site.
  2. Open Site settings.
  3. Click Agent connections.
  4. Find Anthropic, OpenAI, or OpenRouter.
  5. Click Get a key and create a key on the provider website.
  6. Paste the key in Splitleaf and click Connect.

The card shows Connected when the key is correct.

Select models

In the provider card, search the model list and select the models you want to show in the chat.

Replace or remove a key

  • To replace a key, paste the new key and click Replace.
  • To remove a key, click Disconnect.

If a key fails, copy the full active key and make sure your provider account has credit.