ai-studio

Build Python applications with Yandex AI Studio Responses API and related services.

2|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/yandex-ai-studio/teen-museum-residence-2026 --skill ai-studio-yandex-ai-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-studio
Source: https://github.com/yandex-ai-studio/teen-museum-residence-2026/tree/main/skills/ai-studio-skill
Command: npx skills add https://github.com/yandex-ai-studio/teen-museum-residence-2026 --skill ai-studio-yandex-ai-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, python-dotenv, pydantic, pillow, requests, yandex-ai-studio-sdk, openai-agents, pydub, and includes references (resource) components.

What problem does it solve? Developers building on Yandex AI Studio must juggle model URIs, context limits, authentication, and many feature APIs (tools, RAG, Code Interpreter, images, speech, OCR). This Skill provides curated, tested code patterns so the AI assistant generates correct, minimal Python programs without guessing endpoints or model names. ## Core Features & Use Cases - Responses API development: client setup, conversations, streaming, Pydantic structured output, and multimodal image input with correct model selection. - Tools and agents: local function calling, web search, hosted MCP servers with approvals, and optional OpenAI Agents SDK integration. - Extended services: RAG with vector stores, Code Interpreter containers, image generation, SpeechKit speech synthesis/recognition, and Vision OCR. - Use Case: Ask the assistant to build a RAG application that indexes PDF documents and answers questions with citations; it produces a complete script with upload, vector store indexing, file_search, and cleanup. ## Quick Start Use the ai-studio skill to write a Python script that sends a question to a Yandex AI Studio model through the Responses API.

Frequently Asked Questions about ai-studio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call Yandex AI Studio models from Python?

Create an OpenAI client with base_url https://ai.api.cloud.yandex.net/v1, your api_key, and project set to folder_id, then call client.responses.create with a model URI like gpt://{folder_id}/qwen3-235b-a22b-fp8. Credentials can come from a .env file.

Which Yandex AI Studio model should I use for my task?

Use qwen3-235b-a22b-fp8 for general text and tools, qwen3.6-35b-a3b for image input, deepseek-v4-flash for inputs up to 1M tokens, and aliceai-image-art-3.0 for direct image generation. The models reference lists exact URIs and context limits.

How do I get structured JSON output from the Responses API?

Define a Pydantic BaseModel and pass it as text_format to client.responses.parse. The parsed result is available as response.output_parsed, avoiding manual JSON extraction.

Does Yandex AI Studio support RAG with my own documents?

Yes. Upload files with purpose assistants, add them to a vector store with create_and_poll, then query using the file_search tool in a Responses API call. Citations appear as file_citation annotations on the response.

Can I run model-generated Python code safely?

Never execute generated code locally with exec. Use the hosted Code Interpreter tool with an automatic or explicit container, which runs code in a sandbox and returns files as container_file_citation annotations.

When should I use the OpenAI Agents SDK instead of the Responses API?

Use the Agents SDK only when you explicitly need Runner, handoffs, or multi-agent behavior. Ordinary tool-using agents should use direct Responses API patterns with function tools, web search, or hosted MCP servers.