[Yandex Cloud documentation](../../../../../index.md) > [Yandex Serverless Integrations](../../../../index.md) > [Concepts](../../../index.md) > Workflows > [YaWL specification](../index.md) > Integration steps > AIStudioAgent

# AIStudioAgent

Interacting with [AI Studio](https://aistudio.yandex.ru/docs/en/ai-studio/concepts/agents/index) agents.

Field name | Type | Required | Default value | [Templating](../../templating.md) is supported | Description
--- | --- | --- | --- | --- | ---
`promptTemplateId`  | `string`              | Yes  | None | None | Agent ID.
`message`           | `string`              | None | None | Yes  | Incoming message to provide to the agent together with the prompt. To provide full [workflow status](../../workflow.md#state), specify `\(.)`.
`variables`         | `map<string,string>`  | None | None | Yes  | Variables for substitution in the prompt, where key is the name of the variable, and value is its value. Templating is supported for variable values.
`auto_approve` | `bool` | None | `false` | None | If set to `true`, [tools](https://aistudio.yandex.ru/docs/en/ai-studio/concepts/agents/index#tools) are automatically allowed. If set to `false`, and the tool requires confirmation of use, the step will end with an error.