What problem does it solve? Building a Microsoft Foundry hosted agent involves many moving parts: correct SDK imports, uv extras, credentials, offline checks, and knowing which operations are free versus billable. This Skill guides you through the full castia Python SDK lifecycle so you scaffold the right project shape, avoid stale import paths, and never trigger billable evaluation, optimization, or fine-tuning jobs without explicit approval. ## Core Features & Use Cases - New agent golden path: Scaffold a minimal Castia app with main.py, pyproject.toml, azure.yaml, and .agent_configs baseline files instead of starting from a non-Castia sample. - Lifecycle command guidance: Covers build, observe, eval, optimize, snapshot, and finetune CLI commands with their offline dry-run modes and live approval boundaries. - Runtime and credential setup: Explains FOUNDRY_PROJECT_ENDPOINT, DefaultAzureCredential, native MCP tool integration, and candidate resolution via load_agent_config. - Use Case: A developer asks to create a new Foundry Responses agent with MCP tools; the Skill produces the canonical Castia file layout, correct imports, and a safe offline test before any live deployment. ## Quick Start Ask the assistant to scaffold a new Castia Foundry agent with a Responses endpoint and offline tests using the castia Python SDK.