Trellis Data Logo
Developers Doc

Agents & Harnesses

Configure OpenCode to use the Agentaus API as its model provider.

OpenCode Integration Example

1

Set up OpenCode following the official docs.

2

Add the following to your opencode.json:

json
{
  "model": "trellis/agentaus",
  "provider": {
    "trellis": {
      "options": {
        "baseURL": "https://xy-test.trellisdata.com.au/api/v1",
        "apiKey": "Your key"
      },
      "models": {
        "agentaus": {}
      }
    }
  }
}

The model value is "trellis/agentaus"trellis matches the key under provider and agentaus must be listed in its models dictionary.

The apiKey can be a literal string or a file reference (e.g. '{file:~/.secrets/agentaus-key}').

3

Run opencode in your terminal to start.

Coming Soon

More coming soonWe're actively building out more agent and harness integrations.