Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Serverless Integrations
  • Comparison with other Yandex Cloud services
    • Overview
      • Workflow
      • Starting a workflow execution
        • Overview
          • HTTPCall
          • GRPCCall
          • YMQ
          • YDS
          • YDBDocument
          • FunctionCall
          • ContainerCall
          • FoundationModelsCall
          • ObjectStorage
          • Tracker
          • Postbox
          • Workflow
          • Disk
          • AIAgent
          • TelegramBot
          • AIStudioAgent
          • VectorStore
          • DatabaseQuery
      • Templating
    • Cron expressions
    • Quotas and limits
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Public materials
  • Release notes

In this article:

  • AIAgentConfig object
  • AIAgentTask object
  • AIAgentModel object
  • KnowledgeSource object
  • TextKnowledgeSource object
  • FileKnowledgeSource object
  • DataSource object
  • UrlDataSource object
  • ObjectStorageDataSource object
  • AIAgentTool object
  • MCPServer object
  1. Concepts
  2. Workflows
  3. YaWL specification
  4. Integration steps
  5. AIAgent

AIAgent

Written by
Yandex Cloud
Updated at October 20, 2025
  • AIAgentConfig object
  • AIAgentTask object
  • AIAgentModel object
  • KnowledgeSource object
  • TextKnowledgeSource object
  • FileKnowledgeSource object
  • DataSource object
  • UrlDataSource object
  • ObjectStorageDataSource object
  • AIAgentTool object
  • MCPServer object

AI agent to help you put together your prompt to YandexGPT.

Field name Type Required Default value Templating is supported Description
agentConfig AIAgentConfig Yes No No AI agent settings.
tasks AIAgentTask[] Yes No No Tasks the AI agent has to complete.

AIAgentConfig objectAIAgentConfig object

Field name Type Required Default value Templating is supported Description
goal string Yes No Yes Individual goal that guides the AI agent's decision-making, e.g., help with choice of parts for the specified vehicle.
role string Yes No Yes Role that defines the AI agent's functions and experience, e.g., car parts consultant.
backstory string No No Yes Backstory defining the AI agent's personality and enriching the context, e.g., you find the best value for money car parts and briefly explain your choice.
model AIAgentModel No No No LLM the AI agent will use.
knowledgeSources KnowledgeSource[] No No No AI agent’s knowledge sources.
tools AIAgentTool[] No No No Tools for your AI ​agent to use for obtaining external data when generating a response.

AIAgentTask objectAIAgentTask object

Field name Type Required Default value Templating is supported Description
description string Yes No Yes Description of the task you want the AI agent to perform, e.g., find an oil filter for a BMW 320i.
result string No No Yes Description of what you expect to get, e.g., a list of addresses of stores selling the car parts you need.

AIAgentModel objectAIAgentModel object

Field name Type Required Default value Templating is supported Description
name string No yagpt No Model name. List of available models.

KnowledgeSource objectKnowledgeSource object

The textSource and fileSource fields are mutually exclusive: you can use only one of them.

Field name Type Required Default value Templating is supported Description
textSource TextKnowledgeSource No No No Text-based knowledge source.
fileSource FileKnowledgeSource No No No File-based knowledge source.

TextKnowledgeSource objectTextKnowledgeSource object

Field name Type Required Default value Templating is supported Description
content string Yes No Yes Text containing a knowledge source.

FileKnowledgeSource objectFileKnowledgeSource object

Field name Type Required Default value Templating is supported Description
type string Yes No No File type containing a knowledge source. Available types: TEXT, JSON, CSV, PDF, EXCEL.
dataSource DataSource Yes No No Data source:

DataSource objectDataSource object

The urlSource and objectStorageSource fields are mutually exclusive: you can use only one of them.

Field name Type Required Default value Templating is supported Description
urlSource UrlDataSource No No No File accessible via a public URL.
objectStorageSource ObjectStorageDataSource No No No File residing in an Object Storage bucket.

UrlDataSource objectUrlDataSource object

Field name Type Required Default value Templating is supported Description
url string Yes No Yes Public URL.

ObjectStorageDataSource objectObjectStorageDataSource object

Field name Type Required Default value Templating is supported Description
bucket string Yes No No Name of the bucket the file resides in.
object string Yes No Yes Name of the object containing the file, e.g., prefix/subprefix/data.json.

AIAgentTool objectAIAgentTool object

Field name Type Required Default value Templating is supported Description
mcpServer MCPServer No No No MCP server.

MCPServer objectMCPServer object

The useServiceAccount and token fields are mutually exclusive: you can use only one of them.

Field name

Type

Required

Default value

Templating is supported

Description

endpoint

string

Yes

No

No

MCP server URL, e.g., https://mcp.example.com/sse.

transport

string

Yes

No

No

Transport mechanism type for interacting with the MCP server. Available types:

  • STREAMABLE: Your AI ​agent receives updates (events) from the server with no need for a persistent HTTP connection. Data exchange between the AI ​agent and the server is bidirectional.
  • SSE: Your AI ​agent receives updates from the server over a persistent HTTP connection. Data is only transmitted from the server to the AI ​agent.
  • UNSPECIFIED: Transport mechanism type is not specified.

useServiceAccount

bool

No

No

No

If set to:

  • true: For agent authentication, the MCP server requires an IAM token of the service account associated with the workflow.
  • false: Agent can access the MCP server without authentication.

token

string

No

No

No

OAuth token to use for authentication in the MCP server.

Was the article helpful?

Previous
Disk
Next
TelegramBot
© 2025 Direct Cursus Technology L.L.C.