> ## Documentation Index
> Fetch the complete documentation index at: https://docs.funky.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent setup

> Define what your sub-agent does.

Every sub-agent is configured with a **model** and a **system prompt**. Pass them when you call `create_subagent`.

## Model

Choose the model that powers your sub-agent. Pass the model ID via the `model` parameter.

| Provider  | Model                  | Model ID                    |
| --------- | ---------------------- | --------------------------- |
| Google    | Gemini 3.1 Pro Preview | `gemini-3.1-pro-preview`    |
| Google    | Gemini 3 Flash Preview | `gemini-3-flash-preview`    |
| Google    | Gemini 3.1 Flash Lite  | `gemini-3.1-flash-lite`     |
| Anthropic | Claude Opus 4.7        | `claude-opus-4-7`           |
| Anthropic | Claude Sonnet 4.6      | `claude-sonnet-4-6`         |
| Anthropic | Claude Haiku 4.5       | `claude-haiku-4-5-20251001` |
| OpenAI    | GPT-5.5                | `gpt-5.5`                   |
| OpenAI    | GPT-5.4 Mini           | `gpt-5.4-mini`              |

```python theme={null}
sub_agent = client.create_subagent(model="gemini-3-flash-preview")
```

## System prompt

Set a system prompt to shape how your sub-agent behaves — its role, tone, constraints, or output format. Pass it via the `system_prompt` parameter.

```python theme={null}
sub_agent = client.create_subagent(
    model="gemini-3-flash-preview",
    system_prompt="You are a senior code reviewer. Respond only with structured JSON findings.",
)
```

The system prompt is applied for the lifetime of the sub-agent and cannot be changed after creation.
