{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["platform-badges","admonition","img"]},"type":"markdown"},"seo":{"title":"Treasure AI Studio - Agent Orchestrator","description":"Understand how Treasure AI Studio processes your requests — from breaking down complex tasks into steps, to selecting the right tools, executing queries, and assembling results.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"agent-orchestrator","__idx":0},"children":["Agent Orchestrator"]},{"$$mdtype":"Tag","name":"PlatformBadges","attributes":{"platforms":["Web","Desktop"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you ask Studio to \"find our top 10 customers by revenue and build a segment for re-engagement,\" the AI doesn't just answer — it plans. It breaks the request into steps, selects the right tools for each step, executes them in sequence, and assembles the results into a coherent response. Understanding this orchestration makes you a more effective collaborator."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every action the AI takes is visible in the chat stream. Tool calls appear as expandable cards showing the exact command, query, or API request that was executed. Nothing happens in the background — you can verify every decision the AI makes before acting on the results."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"objective","__idx":1},"children":["Objective"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Understand the internal logic that drives how Studio processes requests — task decomposition, tool selection, multi-turn execution, and context management — so you can write better prompts, anticipate the AI's behavior, and troubleshoot when things don't go as expected."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":2},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Signed in to Treasure AI Studio (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/getting-started"},"children":["Getting Started"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Familiarity with the chat interface (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/chat/chat"},"children":["AI Chat Interface"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Recommended: active skills for your domain (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/skills/skills"},"children":["Skills & Marketplace"]},")"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"why-understanding-orchestration-matters","__idx":3},"children":["Why Understanding Orchestration Matters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The AI is not a search engine — it's an agent that plans, acts, and adapts. Knowing how it thinks helps you:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Write better prompts"]}," — Specific requests produce more efficient execution plans"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Predict tool selection"]}," — Understanding which tools exist helps you guide the AI toward the right approach"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Debug unexpected results"]}," — When output isn't right, you can trace back through the tool calls to find where the logic diverged"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-a-request-is-processed","__idx":4},"children":["How a Request Is Processed"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every message you send follows the same orchestration pipeline. Here's what happens behind the scenes:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-context-assembly","__idx":5},"children":["1. Context Assembly"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before the AI reads your message, Studio assembles its working context:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Context Layer"},"children":["Context Layer"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What It Contains"},"children":["What It Contains"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Source"},"children":["Source"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["System prompt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Core behavior rules, available tools, execution environment"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Platform (built-in)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project context"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Project instructions, default database, custom rules"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your project settings"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Active skills"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Domain-specific playbooks (SQL patterns, segment schemas, etc.)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your skill selections"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Conversation history"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Prior messages, tool results, and AI responses in this session"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Current chat"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In-session memory"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Key facts the AI has noted during the conversation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI-maintained (see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/chat/in-session-memory"},"children":["In-Session Memory"]},")"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This layered context is what makes the AI \"know\" your environment. A request like \"query the top customers\" works because the project context includes your default database and the active Trino skill teaches the AI to use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_interval()"]},"."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Technical Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Context is assembled at session start and updated as the conversation progresses. Skills are locked at session start — changing skill selections mid-conversation requires starting a new chat. Project context and conversation history update in real time."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-task-decomposition","__idx":6},"children":["2. Task Decomposition"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The AI reads your message in the context of everything above and decomposes it into a plan. This happens during the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["thinking phase"]}," — the \"Thinking...\" indicator you see before the response begins."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Simple request"]}," (single step):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"How many rows are in the pageviews table?\"\n→ Plan: Run one query (SELECT COUNT(*) FROM pageviews)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Complex request"]}," (multi-step):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"\"Find our top 10 customers by revenue, build a segment for them,\n and create an email campaign for re-engagement\"\n→ Plan:\n   1. Query customer revenue data (Trino SQL)\n   2. Analyze results to define segment criteria\n   3. Generate segment YAML with the criteria\n   4. Validate the segment definition\n   5. Generate email campaign content\n   6. Preview the campaign\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The AI doesn't always announce the plan explicitly, but you can see it unfold through the sequence of tool calls in the chat stream."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Pro Tip"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For complex tasks, start your request with \"Plan first, then execute:\" — this prompts the AI to show its execution plan before taking action, giving you a chance to adjust before any tools are called."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-tool-selection","__idx":7},"children":["3. Tool Selection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For each step in its plan, the AI selects from the available tools based on:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Factor"},"children":["Factor"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"How It Influences Selection"},"children":["How It Influences Selection"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query tasks → Bash with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx query"]},", file generation → write tools, data exploration → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx describe"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Active skills"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skills teach the AI tool-specific patterns — the Trino skill guides it toward ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx query -e trino"]}," instead of generic SQL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Prior results"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Output from step N informs tool choice for step N+1 — a failed query might trigger the optimizer skill"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["User instructions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Explicit direction (\"use Hive for this\") overrides the AI's default choice"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"available-tool-categories","__idx":8},"children":["Available Tool Categories"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Category"},"children":["Category"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tools"},"children":["Tools"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What They Do"},"children":["What They Do"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Query execution"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx query"]}," via Bash"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run Trino/Hive SQL against your Treasure AI databases"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data exploration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx databases"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx tables"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx describe"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Browse databases, list tables, inspect schemas"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File operations"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read, Write, Edit, Glob, Grep"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read and write files in the working directory"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CDP operations"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx ps"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx sg"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx journey"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manage parent segments, child segments, and journeys"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File presentation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["open_file"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Display generated files (HTML charts, documents, images) in the file viewer"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Workflow management"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf"]}," commands"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create, monitor, and debug Treasure Workflows"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External integrations"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MCP server tools (when connected)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query Google Calendar, search Glean, manage HubSpot contacts"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-execution-and-streaming","__idx":9},"children":["4. Execution and Streaming"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once a tool is selected, the AI executes it and streams the results back in real time:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tool call card appears"]}," — Shows the tool name, a description of what it's doing, and a loading indicator"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Execution runs"]}," — The command, query, or API call is executed server-side"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Result returns"]}," — The tool call card updates with the result (or error)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AI processes result"]}," — The AI reads the result and decides on the next step"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cycle repeats"]}," — Steps 1-4 repeat for each planned step until the task is complete"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can expand any tool call card to see the exact input and output — the query that was run, the API response that came back, or the file that was written."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-chat.06451ddd3c7396402a2eec6e28e5c407d1a7454257ba00ff3058c880a47e27b1.8a9297e8.webp","alt":"Chat stream showing multi-step execution with expandable tool call cards","withLightbox":true,"width":"700px"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"5-result-assembly","__idx":10},"children":["5. Result Assembly"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After all steps complete, the AI assembles the results into a coherent response:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text summary"]}," — Key findings, recommendations, or explanations"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generated files"]}," — Charts, tables, or dashboards rendered in the file panel"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File outputs"]}," — Generated PPTX, DOCX, XLSX, or PDF files available for preview and download"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next step suggestions"]}," — The AI often suggests follow-up actions based on the results"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"multi-turn-orchestration","__idx":11},"children":["Multi-Turn Orchestration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Complex analytical work rarely fits in a single message. The orchestrator is designed for iterative, multi-turn workflows where each message builds on the previous results."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"conversation-continuity","__idx":12},"children":["Conversation Continuity"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The AI maintains full context of the conversation, including:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Every query it ran and the results returned"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Every file it generated or modified"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your corrections and refinements (\"No, filter by the US region only\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tool call outcomes (including errors and retries)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This means you can say \"Now break that down by region\" and the AI knows which query result you're referring to, which database to query, and which skill patterns to apply."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"session-resumption","__idx":13},"children":["Session Resumption"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you close and reopen a conversation:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Web"]}," — The full session state is restored from the server, including tool call history and context"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Desktop"]}," — The session resumes from a persisted transcript, restoring full conversation state without re-running tools"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Technical Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Studio uses session-level state resumption rather than replaying the conversation as text. This preserves the AI's full internal context, including tool results and reasoning chains, so reopened conversations behave identically to continuous ones."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"context-management-for-long-conversations","__idx":14},"children":["Context Management for Long Conversations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Long conversations eventually approach the AI's context window limit. Studio manages this automatically:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mechanism"},"children":["Mechanism"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What It Does"},"children":["What It Does"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Auto-compact"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When context fills up, the AI summarizes older messages while preserving recent context and key facts"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," command"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manually trigger compaction to free context space"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}," command"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Check how much context is currently in use"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/clear"]}," command"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Clear the conversation and start fresh with a clean context"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Pro Tip"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For long analytical sessions, use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," proactively before starting a new analytical thread. This preserves the key findings from earlier work while freeing space for new tool calls and results."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"execution-patterns","__idx":15},"children":["Execution Patterns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Understanding common orchestration patterns helps you anticipate the AI's behavior:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"query--analyze--visualize","__idx":16},"children":["Query → Analyze → Visualize"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The most common pattern for data analysis:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"You: Show me the trend in daily signups over the last 90 days\n\nAI: 1. [Tool: tdx query] Runs Trino SQL with td_interval(-90d)\n    2. [Thinking] Analyzes the result set — identifies trend, spikes, anomalies\n    3. [Tool: open_file] Opens a generated HTML chart in the file viewer\n    4. [Text] Summarizes findings: \"Signups show a 23% upward trend...\"\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"explore--build--validate","__idx":17},"children":["Explore → Build → Validate"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Common for CDP configuration tasks:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"You: Build a segment for users who purchased in the last 30 days\n\nAI: 1. [Tool: tdx ps desc] Inspects parent segment schema for available attributes\n    2. [Tool: tdx query] Queries to verify data availability and row counts\n    3. [Thinking] Determines the correct segment rule operators and field names\n    4. [Tool: Write] Generates segment YAML definition\n    5. [Tool: tdx sg validate] Validates the YAML against the CDP API spec\n    6. [Text] Presents the validated segment with a push command\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"debug--diagnose--fix","__idx":18},"children":["Debug → Diagnose → Fix"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Common for troubleshooting workflows or queries:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"You: Why did workflow daily_etl fail last night?\n\nAI: 1. [Tool: tdx wf sessions] Lists recent workflow sessions\n    2. [Tool: tdx wf attempt logs] Reads the failure logs from last night's run\n    3. [Thinking] Identifies the root cause (e.g., table not found, timeout)\n    4. [Text] Explains the failure and suggests a fix\n    5. [Tool: Write] Generates an updated .dig file with error handling\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"iterate--refine--export","__idx":19},"children":["Iterate → Refine → Export"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Common for building deliverables:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"You: Create a quarterly business review deck from Q1 data\n\nAI: 1. [Tool: tdx query] Runs multiple queries for revenue, users, engagement\n    2. [Tool: open_file] Opens generated HTML charts for each metric\n    3. [Tool: Write] Creates PPTX with slides for each section\n    4. [Text] Presents the deck for review\n\nYou: Add a slide comparing Q1 to Q4 and make the revenue chart a stacked bar\n\nAI: 5. [Tool: tdx query] Runs comparative query\n    6. [Tool: Write] Updates the PPTX with the new slide and chart type\n    7. [Text] Presents the updated deck\n"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"working-effectively-with-the-orchestrator","__idx":20},"children":["Working Effectively with the Orchestrator"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"tips-for-better-results","__idx":21},"children":["Tips for Better Results"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Practice"},"children":["Practice"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Why It Helps"},"children":["Why It Helps"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Be specific about data sources"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Query the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["marketing.campaigns"]}," table\" is faster than \"look at campaign data\" — the AI skips the exploration step"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name the output format"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Show this as a funnel chart\" prevents the AI from guessing the wrong visualization"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Provide constraints"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Use only the last 30 days and the US region\" narrows the query and reduces execution time"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reference prior results"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Use the same filters as the previous query\" leverages context instead of rebuilding"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Activate relevant skills"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Domain skills teach the AI your platform's specific patterns and functions"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"when-things-go-wrong","__idx":22},"children":["When Things Go Wrong"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Symptom"},"children":["Symptom"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Likely Cause"},"children":["Likely Cause"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fix"},"children":["Fix"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI runs too many queries"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request is ambiguous — AI is exploring to understand your data"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Be more specific: name the table, columns, and time range"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Wrong chart type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI's default selection doesn't match your intent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ask explicitly: \"Show this as a bar chart\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query fails with syntax error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI used a function not available on your engine"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Activate the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["trino"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["hive"]}," skill to guide correct syntax"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI asks too many questions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The AI is uncertain about your intent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide more context upfront"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Context running low in long session"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Too many tool results filling the context window"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," to summarize older messages"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI repeats a failed approach"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The AI may not have learned from the error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Explicitly state what went wrong: \"That query timed out — use a smaller time range\""]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"architecture-overview","__idx":23},"children":["Architecture Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For users who want to understand the full system:"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"flowchart TD\n    A[\"Your Message\"] --> B[\"Context Assembly<br/>System prompt + Project context<br/>+ Active skills + Conversation<br/>history + In-session memory\"]\n    B --> C[\"Claude AI Model<br/>(Opus / Sonnet / Haiku)<br/>Plans steps, selects tools,<br/>reasons about results\"]\n    C --> D[\"Tool Calls<br/>(Streaming)\"]\n    C --> E[\"Text Output<br/>(Streaming)\"]\n    D --> F[\"Tool Execution Layer\"]\n    F --> G[\"TDX CLI\"]\n    F --> H[\"File Ops\"]\n    F --> I[\"Open File\"]\n    F --> J[\"MCP Servers\"]\n    G & H & I & J --> K[\"Results → AI → Next Step<br/>(Cycle until task complete)\"]\n    K -.-> C\n","diagramHtml":"<svg id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 743.01953125px;\" viewBox=\"0 0 743.01953125 958\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .error-icon{fill:#552222;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .error-text{fill:#552222;stroke:#552222;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-thickness-normal{stroke-width:1px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-thickness-thick{stroke-width:3.5px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-pattern-solid{stroke-dasharray:0;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-pattern-dashed{stroke-dasharray:3;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edge-pattern-dotted{stroke-dasharray:2;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .marker{fill:#333333;stroke:#333333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .marker.cross{stroke:#333333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e p{margin:0;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .label{font-family:\"Redocly Mermaid Sans\",sans-serif;color:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .cluster-label text{fill:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .cluster-label span{color:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .cluster-label span p{background-color:transparent;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .label text,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e span{fill:#333;color:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node rect,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node circle,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node ellipse,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node polygon,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .rough-node .label text,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node .label text,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .image-shape .label,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .icon-shape .label{text-anchor:middle;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .rough-node .label,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node .label,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .image-shape .label,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .icon-shape .label{text-align:center;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node.clickable{cursor:pointer;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .arrowheadPath{fill:#333333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edgePath .path{stroke:#333333;stroke-width:1px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .flowchart-link{stroke:#333333;fill:none;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .cluster text{fill:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .cluster span{color:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e rect.text{fill:none;stroke-width:0;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .icon-shape,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .icon-shape p,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .icon-shape .label rect,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e .node .neo-node{stroke:#9370DB;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node rect,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].cluster rect,#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M605.02,62L605.02,66.167C605.02,70.333,605.02,78.667,605.02,86.333C605.02,94,605.02,101,605.02,104.5L605.02,108\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6NjA1LjAxOTUzMTI1LCJ5Ijo2Mn0seyJ4Ijo2MDUuMDE5NTMxMjUsInkiOjg3fSx7IngiOjYwNS4wMTk1MzEyNSwieSI6MTEyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M605.02,310L605.02,314.167C605.02,318.333,605.02,326.667,605.02,334.333C605.02,342,605.02,349,605.02,352.5L605.02,356\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6NjA1LjAxOTUzMTI1LCJ5IjozMTB9LHsieCI6NjA1LjAxOTUzMTI1LCJ5IjozMzV9LHsieCI6NjA1LjAxOTUzMTI1LCJ5IjozNjB9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M481.402,461.387L454.774,469.656C428.146,477.925,374.889,494.462,348.261,506.231C321.633,518,321.633,525,321.633,528.5L321.633,532\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6NDgxLjQwMjM0Mzc1LCJ5Ijo0NjEuMzg2ODExMzA4NTMxMDR9LHsieCI6MzIxLjYzMjgxMjUsInkiOjUxMX0seyJ4IjozMjEuNjMyODEyNSwieSI6NTM2fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M605.02,486L605.02,490.167C605.02,494.333,605.02,502.667,605.02,510.333C605.02,518,605.02,525,605.02,528.5L605.02,532\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_C_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_E_0\" data-points=\"W3sieCI6NjA1LjAxOTUzMTI1LCJ5Ijo0ODZ9LHsieCI6NjA1LjAxOTUzMTI1LCJ5Ijo1MTF9LHsieCI6NjA1LjAxOTUzMTI1LCJ5Ijo1MzZ9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M321.633,614L321.633,618.167C321.633,622.333,321.633,630.667,321.633,638.333C321.633,646,321.633,653,321.633,656.5L321.633,660\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_D_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_F_0\" data-points=\"W3sieCI6MzIxLjYzMjgxMjUsInkiOjYxNH0seyJ4IjozMjEuNjMyODEyNSwieSI6NjM5fSx7IngiOjMyMS42MzI4MTI1LCJ5Ijo2NjR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M215.258,712.658L190.419,717.715C165.581,722.772,115.904,732.886,91.065,741.443C66.227,750,66.227,757,66.227,760.5L66.227,764\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_F_G_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_G_0\" data-points=\"W3sieCI6MjE1LjI1NzgxMjUsInkiOjcxMi42NTc2NTMyNDg1MDEyfSx7IngiOjY2LjIyNjU2MjUsInkiOjc0M30seyJ4Ijo2Ni4yMjY1NjI1LCJ5Ijo3Njh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M276.208,718L269.198,722.167C262.188,726.333,248.168,734.667,241.158,742.333C234.148,750,234.148,757,234.148,760.5L234.148,764\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_F_H_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_H_0\" data-points=\"W3sieCI6Mjc2LjIwODIzMzE3MzA3NjksInkiOjcxOH0seyJ4IjoyMzQuMTQ4NDM3NSwieSI6NzQzfSx7IngiOjIzNC4xNDg0Mzc1LCJ5Ijo3Njh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M367.057,718L374.067,722.167C381.077,726.333,395.097,734.667,402.107,742.333C409.117,750,409.117,757,409.117,760.5L409.117,764\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_F_I_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_I_0\" data-points=\"W3sieCI6MzY3LjA1NzM5MTgyNjkyMzEsInkiOjcxOH0seyJ4Ijo0MDkuMTE3MTg3NSwieSI6NzQzfSx7IngiOjQwOS4xMTcxODc1LCJ5Ijo3Njh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M428.008,710.78L456.887,716.15C485.766,721.52,543.523,732.26,572.402,741.13C601.281,750,601.281,757,601.281,760.5L601.281,764\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_F_J_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_J_0\" data-points=\"W3sieCI6NDI4LjAwNzgxMjUsInkiOjcxMC43ODAxOTI3NjQzNTI2fSx7IngiOjYwMS4yODEyNSwieSI6NzQzfSx7IngiOjYwMS4yODEyNSwieSI6NzY4fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M66.227,822L66.227,826.167C66.227,830.333,66.227,838.667,85.523,847.837C104.82,857.008,143.413,867.015,162.71,872.019L182.007,877.023\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_G_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_G_K_0\" data-points=\"W3sieCI6NjYuMjI2NTYyNSwieSI6ODIyfSx7IngiOjY2LjIyNjU2MjUsInkiOjg0N30seyJ4IjoxODUuODc4OTA2MjUsInkiOjg3OC4wMjcwODAwNjkwMDU5fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M234.148,822L234.148,826.167C234.148,830.333,234.148,838.667,238.767,846.58C243.385,854.493,252.621,861.987,257.239,865.733L261.857,869.48\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_H_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_H_K_0\" data-points=\"W3sieCI6MjM0LjE0ODQzNzUsInkiOjgyMn0seyJ4IjoyMzQuMTQ4NDM3NSwieSI6ODQ3fSx7IngiOjI2NC45NjM1NjIwMTE3MTg3NSwieSI6ODcyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M409.117,822L409.117,826.167C409.117,830.333,409.117,838.667,403.417,846.63C397.716,854.594,386.315,862.188,380.615,865.985L374.914,869.783\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_I_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_I_K_0\" data-points=\"W3sieCI6NDA5LjExNzE4NzUsInkiOjgyMn0seyJ4Ijo0MDkuMTE3MTg3NSwieSI6ODQ3fSx7IngiOjM3MS41ODUxNDQwNDI5Njg3NSwieSI6ODcyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M601.281,822L601.281,826.167C601.281,830.333,601.281,838.667,575.084,848.65C548.886,858.633,496.491,870.267,470.294,876.083L444.096,881.9\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_J_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_J_K_0\" data-points=\"W3sieCI6NjAxLjI4MTI1LCJ5Ijo4MjJ9LHsieCI6NjAxLjI4MTI1LCJ5Ijo4NDd9LHsieCI6NDQwLjE5MTQwNjI1LCJ5Ijo4ODIuNzY3MTgwMjc5NDM3OX1d\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path><path d=\"M440.191,890.699L485.811,883.416C531.431,876.133,622.671,861.566,668.29,845.617C713.91,829.667,713.91,812.333,713.91,795C713.91,777.667,713.91,760.333,713.91,743C713.91,725.667,713.91,708.333,713.91,691C713.91,673.667,713.91,656.333,713.91,637C713.91,617.667,713.91,596.333,713.91,575C713.91,553.667,713.91,532.333,709.273,517.919C704.636,503.505,695.361,496.009,690.724,492.262L686.086,488.514\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-L_K_C_0\" class=\"edge-thickness-normal edge-pattern-dotted edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_K_C_0\" data-points=\"W3sieCI6NDQwLjE5MTQwNjI1LCJ5Ijo4OTAuNjk5NDA3NTQ1OTkzMn0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjg0N30seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjc5NX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjc0M30seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjY5MX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjYzOX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjU3NX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjUxMX0seyJ4Ijo2ODIuOTc1MzE5NjAyMjcyNywieSI6NDg2fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_G_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_H_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_I_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_J_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_G_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_H_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_I_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_J_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_K_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-A-0\" data-look=\"classic\" transform=\"translate(605.01953125, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-81.8359375\" y=\"-27\" width=\"163.671875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-51.8359375, -12)\"><rect></rect><foreignObject width=\"103.671875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Your Message</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-B-1\" data-look=\"classic\" transform=\"translate(605.01953125, 211)\"><rect class=\"basic label-container\" style=\"\" x=\"-130\" y=\"-99\" width=\"260\" height=\"198\"></rect><g class=\"label\" style=\"\" transform=\"translate(-100, -84)\"><rect></rect><foreignObject width=\"200\" height=\"168\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\"><span class=\"nodeLabel\"><p>Context Assembly<br>System prompt + Project context<br>+ Active skills + Conversation<br>history + In-session memory</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-C-3\" data-look=\"classic\" transform=\"translate(605.01953125, 423)\"><rect class=\"basic label-container\" style=\"\" x=\"-123.6171875\" y=\"-63\" width=\"247.234375\" height=\"126\"></rect><g class=\"label\" style=\"\" transform=\"translate(-93.6171875, -48)\"><rect></rect><foreignObject width=\"187.234375\" height=\"96\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Claude AI Model<br>(Opus / Sonnet / Haiku)<br>Plans steps, selects tools,<br>reasons about results</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-D-5\" data-look=\"classic\" transform=\"translate(321.6328125, 575)\"><rect class=\"basic label-container\" style=\"\" x=\"-72.75\" y=\"-39\" width=\"145.5\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-42.75, -24)\"><rect></rect><foreignObject width=\"85.5\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Tool Calls<br>(Streaming)</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-E-7\" data-look=\"classic\" transform=\"translate(605.01953125, 575)\"><rect class=\"basic label-container\" style=\"\" x=\"-73.890625\" y=\"-39\" width=\"147.78125\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-43.890625, -24)\"><rect></rect><foreignObject width=\"87.78125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Text Output<br>(Streaming)</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-F-9\" data-look=\"classic\" transform=\"translate(321.6328125, 691)\"><rect class=\"basic label-container\" style=\"\" x=\"-106.375\" y=\"-27\" width=\"212.75\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-76.375, -12)\"><rect></rect><foreignObject width=\"152.75\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Tool Execution Layer</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-G-11\" data-look=\"classic\" transform=\"translate(66.2265625, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-58.2265625\" y=\"-27\" width=\"116.453125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-28.2265625, -12)\"><rect></rect><foreignObject width=\"56.453125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>TDX CLI</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-H-13\" data-look=\"classic\" transform=\"translate(234.1484375, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-59.6953125\" y=\"-27\" width=\"119.390625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-29.6953125, -12)\"><rect></rect><foreignObject width=\"59.390625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>File Ops</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-I-15\" data-look=\"classic\" transform=\"translate(409.1171875, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-65.2734375\" y=\"-27\" width=\"130.546875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-35.2734375, -12)\"><rect></rect><foreignObject width=\"70.546875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Open File</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-J-17\" data-look=\"classic\" transform=\"translate(601.28125, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-76.890625\" y=\"-27\" width=\"153.78125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-46.890625, -12)\"><rect></rect><foreignObject width=\"93.78125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>MCP Servers</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-flowchart-K-22\" data-look=\"classic\" transform=\"translate(313.03515625, 911)\"><rect class=\"basic label-container\" style=\"\" x=\"-127.15625\" y=\"-39\" width=\"254.3125\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-97.15625, -24)\"><rect></rect><foreignObject width=\"194.3125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Results → AI → Next Step<br>(Cycle until task complete)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-900abde216266e2f1be9558598e423e0193765b2f4f9781261406f5127c2393e-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs></svg>","diagramHtmlDark":"<svg id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 743.01953125px;\" viewBox=\"0 0 743.01953125 958\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .error-icon{fill:#a44141;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .error-text{fill:#ddd;stroke:#ddd;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-thickness-normal{stroke-width:1px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-thickness-thick{stroke-width:3.5px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-pattern-solid{stroke-dasharray:0;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .marker.cross{stroke:lightgrey;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 p{margin:0;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .label{font-family:\"Redocly Mermaid Sans\",sans-serif;color:#ccc;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .cluster-label text{fill:#F9FFFE;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .cluster-label span{color:#F9FFFE;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .cluster-label span p{background-color:transparent;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .label text,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 span{fill:#ccc;color:#ccc;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node rect,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node circle,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node ellipse,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node polygon,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node path{fill:#1f2020;stroke:#ccc;stroke-width:1px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .rough-node .label text,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node .label text,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .image-shape .label,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .icon-shape .label{text-anchor:middle;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .rough-node .label,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node .label,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .image-shape .label,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .icon-shape .label{text-align:center;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node.clickable{cursor:pointer;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .root .anchor path{fill:lightgrey!important;stroke-width:0;stroke:lightgrey;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .arrowheadPath{fill:lightgrey;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edgePath .path{stroke:lightgrey;stroke-width:1px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .flowchart-link{stroke:lightgrey;fill:none;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edgeLabel p{background-color:hsl(0, 0%, 34.4117647059%);}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .cluster text{fill:#F9FFFE;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .cluster span{color:#F9FFFE;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 rect.text{fill:none;stroke-width:0;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .icon-shape,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .image-shape{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .icon-shape p,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .image-shape p{background-color:hsl(0, 0%, 34.4117647059%);padding:2px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .icon-shape .label rect,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .image-shape .label rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 .node .neo-node{stroke:#ccc;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node rect,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].cluster rect,#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node polygon{stroke:url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node path{stroke:url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-gradient);stroke-width:1px;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node circle{stroke:url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M605.02,62L605.02,66.167C605.02,70.333,605.02,78.667,605.02,86.333C605.02,94,605.02,101,605.02,104.5L605.02,108\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6NjA1LjAxOTUzMTI1LCJ5Ijo2Mn0seyJ4Ijo2MDUuMDE5NTMxMjUsInkiOjg3fSx7IngiOjYwNS4wMTk1MzEyNSwieSI6MTEyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M605.02,310L605.02,314.167C605.02,318.333,605.02,326.667,605.02,334.333C605.02,342,605.02,349,605.02,352.5L605.02,356\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6NjA1LjAxOTUzMTI1LCJ5IjozMTB9LHsieCI6NjA1LjAxOTUzMTI1LCJ5IjozMzV9LHsieCI6NjA1LjAxOTUzMTI1LCJ5IjozNjB9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M481.402,461.387L454.774,469.656C428.146,477.925,374.889,494.462,348.261,506.231C321.633,518,321.633,525,321.633,528.5L321.633,532\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6NDgxLjQwMjM0Mzc1LCJ5Ijo0NjEuMzg2ODExMzA4NTMxMDR9LHsieCI6MzIxLjYzMjgxMjUsInkiOjUxMX0seyJ4IjozMjEuNjMyODEyNSwieSI6NTM2fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M605.02,486L605.02,490.167C605.02,494.333,605.02,502.667,605.02,510.333C605.02,518,605.02,525,605.02,528.5L605.02,532\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_C_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_E_0\" data-points=\"W3sieCI6NjA1LjAxOTUzMTI1LCJ5Ijo0ODZ9LHsieCI6NjA1LjAxOTUzMTI1LCJ5Ijo1MTF9LHsieCI6NjA1LjAxOTUzMTI1LCJ5Ijo1MzZ9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M321.633,614L321.633,618.167C321.633,622.333,321.633,630.667,321.633,638.333C321.633,646,321.633,653,321.633,656.5L321.633,660\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_D_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_F_0\" data-points=\"W3sieCI6MzIxLjYzMjgxMjUsInkiOjYxNH0seyJ4IjozMjEuNjMyODEyNSwieSI6NjM5fSx7IngiOjMyMS42MzI4MTI1LCJ5Ijo2NjR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M215.258,712.658L190.419,717.715C165.581,722.772,115.904,732.886,91.065,741.443C66.227,750,66.227,757,66.227,760.5L66.227,764\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_F_G_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_G_0\" data-points=\"W3sieCI6MjE1LjI1NzgxMjUsInkiOjcxMi42NTc2NTMyNDg1MDEyfSx7IngiOjY2LjIyNjU2MjUsInkiOjc0M30seyJ4Ijo2Ni4yMjY1NjI1LCJ5Ijo3Njh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M276.208,718L269.198,722.167C262.188,726.333,248.168,734.667,241.158,742.333C234.148,750,234.148,757,234.148,760.5L234.148,764\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_F_H_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_H_0\" data-points=\"W3sieCI6Mjc2LjIwODIzMzE3MzA3NjksInkiOjcxOH0seyJ4IjoyMzQuMTQ4NDM3NSwieSI6NzQzfSx7IngiOjIzNC4xNDg0Mzc1LCJ5Ijo3Njh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M367.057,718L374.067,722.167C381.077,726.333,395.097,734.667,402.107,742.333C409.117,750,409.117,757,409.117,760.5L409.117,764\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_F_I_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_I_0\" data-points=\"W3sieCI6MzY3LjA1NzM5MTgyNjkyMzEsInkiOjcxOH0seyJ4Ijo0MDkuMTE3MTg3NSwieSI6NzQzfSx7IngiOjQwOS4xMTcxODc1LCJ5Ijo3Njh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M428.008,710.78L456.887,716.15C485.766,721.52,543.523,732.26,572.402,741.13C601.281,750,601.281,757,601.281,760.5L601.281,764\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_F_J_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_J_0\" data-points=\"W3sieCI6NDI4LjAwNzgxMjUsInkiOjcxMC43ODAxOTI3NjQzNTI2fSx7IngiOjYwMS4yODEyNSwieSI6NzQzfSx7IngiOjYwMS4yODEyNSwieSI6NzY4fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M66.227,822L66.227,826.167C66.227,830.333,66.227,838.667,85.523,847.837C104.82,857.008,143.413,867.015,162.71,872.019L182.007,877.023\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_G_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_G_K_0\" data-points=\"W3sieCI6NjYuMjI2NTYyNSwieSI6ODIyfSx7IngiOjY2LjIyNjU2MjUsInkiOjg0N30seyJ4IjoxODUuODc4OTA2MjUsInkiOjg3OC4wMjcwODAwNjkwMDU5fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M234.148,822L234.148,826.167C234.148,830.333,234.148,838.667,238.767,846.58C243.385,854.493,252.621,861.987,257.239,865.733L261.857,869.48\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_H_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_H_K_0\" data-points=\"W3sieCI6MjM0LjE0ODQzNzUsInkiOjgyMn0seyJ4IjoyMzQuMTQ4NDM3NSwieSI6ODQ3fSx7IngiOjI2NC45NjM1NjIwMTE3MTg3NSwieSI6ODcyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M409.117,822L409.117,826.167C409.117,830.333,409.117,838.667,403.417,846.63C397.716,854.594,386.315,862.188,380.615,865.985L374.914,869.783\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_I_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_I_K_0\" data-points=\"W3sieCI6NDA5LjExNzE4NzUsInkiOjgyMn0seyJ4Ijo0MDkuMTE3MTg3NSwieSI6ODQ3fSx7IngiOjM3MS41ODUxNDQwNDI5Njg3NSwieSI6ODcyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M601.281,822L601.281,826.167C601.281,830.333,601.281,838.667,575.084,848.65C548.886,858.633,496.491,870.267,470.294,876.083L444.096,881.9\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_J_K_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_J_K_0\" data-points=\"W3sieCI6NjAxLjI4MTI1LCJ5Ijo4MjJ9LHsieCI6NjAxLjI4MTI1LCJ5Ijo4NDd9LHsieCI6NDQwLjE5MTQwNjI1LCJ5Ijo4ODIuNzY3MTgwMjc5NDM3OX1d\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path><path d=\"M440.191,890.699L485.811,883.416C531.431,876.133,622.671,861.566,668.29,845.617C713.91,829.667,713.91,812.333,713.91,795C713.91,777.667,713.91,760.333,713.91,743C713.91,725.667,713.91,708.333,713.91,691C713.91,673.667,713.91,656.333,713.91,637C713.91,617.667,713.91,596.333,713.91,575C713.91,553.667,713.91,532.333,709.273,517.919C704.636,503.505,695.361,496.009,690.724,492.262L686.086,488.514\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-L_K_C_0\" class=\"edge-thickness-normal edge-pattern-dotted edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_K_C_0\" data-points=\"W3sieCI6NDQwLjE5MTQwNjI1LCJ5Ijo4OTAuNjk5NDA3NTQ1OTkzMn0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjg0N30seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjc5NX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjc0M30seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjY5MX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjYzOX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjU3NX0seyJ4Ijo3MTMuOTEwMTU2MjUsInkiOjUxMX0seyJ4Ijo2ODIuOTc1MzE5NjAyMjcyNywieSI6NDg2fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_G_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_H_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_I_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_J_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_G_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_H_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_I_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_J_K_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_K_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-A-0\" data-look=\"classic\" transform=\"translate(605.01953125, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-81.8359375\" y=\"-27\" width=\"163.671875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-51.8359375, -12)\"><rect></rect><foreignObject width=\"103.671875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Your Message</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-B-1\" data-look=\"classic\" transform=\"translate(605.01953125, 211)\"><rect class=\"basic label-container\" style=\"\" x=\"-130\" y=\"-99\" width=\"260\" height=\"198\"></rect><g class=\"label\" style=\"\" transform=\"translate(-100, -84)\"><rect></rect><foreignObject width=\"200\" height=\"168\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\"><span class=\"nodeLabel\"><p>Context Assembly<br>System prompt + Project context<br>+ Active skills + Conversation<br>history + In-session memory</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-C-3\" data-look=\"classic\" transform=\"translate(605.01953125, 423)\"><rect class=\"basic label-container\" style=\"\" x=\"-123.6171875\" y=\"-63\" width=\"247.234375\" height=\"126\"></rect><g class=\"label\" style=\"\" transform=\"translate(-93.6171875, -48)\"><rect></rect><foreignObject width=\"187.234375\" height=\"96\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Claude AI Model<br>(Opus / Sonnet / Haiku)<br>Plans steps, selects tools,<br>reasons about results</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-D-5\" data-look=\"classic\" transform=\"translate(321.6328125, 575)\"><rect class=\"basic label-container\" style=\"\" x=\"-72.75\" y=\"-39\" width=\"145.5\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-42.75, -24)\"><rect></rect><foreignObject width=\"85.5\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Tool Calls<br>(Streaming)</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-E-7\" data-look=\"classic\" transform=\"translate(605.01953125, 575)\"><rect class=\"basic label-container\" style=\"\" x=\"-73.890625\" y=\"-39\" width=\"147.78125\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-43.890625, -24)\"><rect></rect><foreignObject width=\"87.78125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Text Output<br>(Streaming)</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-F-9\" data-look=\"classic\" transform=\"translate(321.6328125, 691)\"><rect class=\"basic label-container\" style=\"\" x=\"-106.375\" y=\"-27\" width=\"212.75\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-76.375, -12)\"><rect></rect><foreignObject width=\"152.75\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Tool Execution Layer</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-G-11\" data-look=\"classic\" transform=\"translate(66.2265625, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-58.2265625\" y=\"-27\" width=\"116.453125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-28.2265625, -12)\"><rect></rect><foreignObject width=\"56.453125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>TDX CLI</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-H-13\" data-look=\"classic\" transform=\"translate(234.1484375, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-59.6953125\" y=\"-27\" width=\"119.390625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-29.6953125, -12)\"><rect></rect><foreignObject width=\"59.390625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>File Ops</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-I-15\" data-look=\"classic\" transform=\"translate(409.1171875, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-65.2734375\" y=\"-27\" width=\"130.546875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-35.2734375, -12)\"><rect></rect><foreignObject width=\"70.546875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Open File</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-J-17\" data-look=\"classic\" transform=\"translate(601.28125, 795)\"><rect class=\"basic label-container\" style=\"\" x=\"-76.890625\" y=\"-27\" width=\"153.78125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-46.890625, -12)\"><rect></rect><foreignObject width=\"93.78125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>MCP Servers</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-flowchart-K-22\" data-look=\"classic\" transform=\"translate(313.03515625, 911)\"><rect class=\"basic label-container\" style=\"\" x=\"-127.15625\" y=\"-39\" width=\"254.3125\" height=\"78\"></rect><g class=\"label\" style=\"\" transform=\"translate(-97.15625, -24)\"><rect></rect><foreignObject width=\"194.3125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Results → AI → Next Step<br>(Cycle until task complete)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><defs><filter id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><linearGradient id=\"diagram-5579dafc286c853feeebd638a879d09881913bf8c2a007da6d34089499b901f6-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"#cccccc\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(180, 0%, 18.3529411765%)\" stop-opacity=\"1\"></stop></linearGradient></svg>"},"children":["flowchart TD\n    A[\"Your Message\"] --> B[\"Context Assembly<br/>System prompt + Project context<br/>+ Active skills + Conversation<br/>history + In-session memory\"]\n    B --> C[\"Claude AI Model<br/>(Opus / Sonnet / Haiku)<br/>Plans steps, selects tools,<br/>reasons about results\"]\n    C --> D[\"Tool Calls<br/>(Streaming)\"]\n    C --> E[\"Text Output<br/>(Streaming)\"]\n    D --> F[\"Tool Execution Layer\"]\n    F --> G[\"TDX CLI\"]\n    F --> H[\"File Ops\"]\n    F --> I[\"Open File\"]\n    F --> J[\"MCP Servers\"]\n    G & H & I & J --> K[\"Results → AI → Next Step<br/>(Cycle until task complete)\"]\n    K -.-> C\n"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"web-vs-desktop-execution","__idx":24},"children":["Web vs. Desktop Execution"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Aspect"},"children":["Aspect"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Web"},"children":["Web"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Desktop (Mac)"},"children":["Desktop (Mac)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Execution environment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-side sandbox (secure worker)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-side sandbox (same as Web)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tool availability"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same core tools — queries, file ops, charts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same core tools as Web"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Session management"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-managed with worker pool"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-managed (connected via API)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Context persistence"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-side storage"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server-side storage with local transcript"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Streaming"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SSE via stream API"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SSE via stream API (relayed through Electron IPC)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Technical Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Both Web and Desktop connect to the same server-side execution infrastructure. Each chat session is backed by a dedicated worker instance running the Claude Agent SDK with your account's plugins pre-installed. Desktop adds native macOS integration (menu bar, auto-update, deep links) but uses the same API and streaming layer as Web."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"verification","__idx":25},"children":["Verification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After reading this guide, you can:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Explain the five stages of request processing (context assembly, decomposition, tool selection, execution, result assembly)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Describe how the AI decides which tool to use for a given task"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}," to manage long conversations"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Trace a multi-step execution by expanding tool call cards in the chat stream"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," Write prompts that produce efficient execution plans"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":26},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Issue"},"children":["Issue"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Solution"},"children":["Solution"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI seems to \"forget\" earlier context"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long conversations may have auto-compacted. Run ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}," to check, or reference specific results explicitly"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tool calls are slow"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Large queries or complex operations take time. Check the tool call card for progress"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI chose the wrong tool"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide explicit guidance: \"Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx query"]}," with Hive engine for this\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Session feels different after reopening"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Desktop resumes from transcript; Web restores from server state. Both should be seamless — if not, start a fresh chat"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":27},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/chat/chat"},"children":["AI Chat Interface"]}," — Learn the chat UI interactions in detail"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/skills/skills"},"children":["Skills & Marketplace"]}," — Configure skills that guide orchestration"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/chat/in-session-memory"},"children":["In-Session Memory"]}," — How the AI remembers context within a session"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/security"},"children":["Security & Permissions"]}," — Security and audit logging"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/query/tdx-commands"},"children":["TDX Commands"]}," — The CLI tools the orchestrator calls"]}]}]},"headings":[{"value":"Agent Orchestrator","id":"agent-orchestrator","depth":1},{"value":"Objective","id":"objective","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Why Understanding Orchestration Matters","id":"why-understanding-orchestration-matters","depth":2},{"value":"How a Request Is Processed","id":"how-a-request-is-processed","depth":2},{"value":"1. Context Assembly","id":"1-context-assembly","depth":3},{"value":"2. Task Decomposition","id":"2-task-decomposition","depth":3},{"value":"3. Tool Selection","id":"3-tool-selection","depth":3},{"value":"Available Tool Categories","id":"available-tool-categories","depth":4},{"value":"4. Execution and Streaming","id":"4-execution-and-streaming","depth":3},{"value":"5. Result Assembly","id":"5-result-assembly","depth":3},{"value":"Multi-Turn Orchestration","id":"multi-turn-orchestration","depth":2},{"value":"Conversation Continuity","id":"conversation-continuity","depth":3},{"value":"Session Resumption","id":"session-resumption","depth":3},{"value":"Context Management for Long Conversations","id":"context-management-for-long-conversations","depth":3},{"value":"Execution Patterns","id":"execution-patterns","depth":2},{"value":"Query → Analyze → Visualize","id":"query--analyze--visualize","depth":3},{"value":"Explore → Build → Validate","id":"explore--build--validate","depth":3},{"value":"Debug → Diagnose → Fix","id":"debug--diagnose--fix","depth":3},{"value":"Iterate → Refine → Export","id":"iterate--refine--export","depth":3},{"value":"Working Effectively with the Orchestrator","id":"working-effectively-with-the-orchestrator","depth":2},{"value":"Tips for Better Results","id":"tips-for-better-results","depth":3},{"value":"When Things Go Wrong","id":"when-things-go-wrong","depth":3},{"value":"Architecture Overview","id":"architecture-overview","depth":2},{"value":"Web vs. Desktop Execution","id":"web-vs-desktop-execution","depth":3},{"value":"Verification","id":"verification","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Next Steps","id":"next-steps","depth":2}],"frontmatter":{"seo":{"title":"Treasure AI Studio - Agent Orchestrator","description":"Understand how Treasure AI Studio processes your requests — from breaking down complex tasks into steps, to selecting the right tools, executing queries, and assembling results."},"platforms":["Web","Desktop"]},"lastModified":"2026-05-22T08:07:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/ai-studio/concepts/orchestrator","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}