{"entry_id": "d97cf384-dc6f-4581-9484-a6e4ae4f415a", "infos": [{"txt": "GitHub - evalstate/fast-agent:", "language": "english", "position": {"atoms": [{"position_id": 0, "txt": "GitHub - evalstate/fast-agent:", "x": "//title"}]}, "tags": [], "label": "article_title", "web_segment_id": 0, "global_sentence_id": 0, "edu_l1_label": "BOT"}, {"txt": " Define, Prompt and Test MCP enabled Agents and Workflows", "language": "english", "position": {"atoms": [{"position_id": 0, "txt": " Define, Prompt and Test MCP enabled Agents and Workflows", "x": "//title"}]}, "tags": [], "label": "article_title", "web_segment_id": 0, "global_sentence_id": 1, "edu_l1_label": "BOT"}, {"txt": "Overview", "language": "english", "position": {"atoms": [{"position_id": 1874, "txt": "Overview", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[1]/h2"}]}, "tags": ["h2"], "label": "title1", "web_segment_id": 1, "global_sentence_id": 2, "edu_l1_label": "BOS"}, {"txt": "Tip", "language": "english", "position": {"atoms": [{"position_id": 1876, "txt": "Tip", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[1]/svg"}]}, "tags": ["img"], "label": "title1", "web_segment_id": 2, "global_sentence_id": 3, "edu_l1_label": "IOS"}, {"txt": "Documentation site is in production here :", "language": "english", "position": {"atoms": [{"position_id": 1878, "txt": "Documentation site is in production here :", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[2]"}]}, "tags": [], "label": "content", "web_segment_id": 3, "global_sentence_id": 4, "edu_l1_label": "EDU_O"}, {"txt": " https://fast-agent.ai. Feel free to feed back what's helpful and what's not.", "language": "english", "position": {"atoms": [{"position_id": 1879, "txt": " ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[2]"}, {"position_id": 1881, "txt": "https://fast-agent.ai", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[2]/a[1]"}, {"position_id": 1883, "txt": ". Feel free to feed back what's helpful and what's not.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[2]/a[1]"}]}, "tags": [], "label": "content", "web_segment_id": 3, "global_sentence_id": 5, "edu_l1_label": "EDU_O"}, {"txt": " There is also an LLMs.txt here", "language": "english", "position": {"atoms": [{"position_id": 1884, "txt": " There is also an LLMs.txt ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[2]/a[1]"}, {"position_id": 1886, "txt": "here", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[2]/p[2]/a[2]"}]}, "tags": [], "label": "content", "web_segment_id": 3, "global_sentence_id": 6, "edu_l1_label": "EDU_O"}, {"txt": "fast-agent enables you to create and interact with sophisticated Agents and Workflows in minutes.", "language": "english", "position": {"atoms": [{"position_id": 1888, "txt": "fast-agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[2]/strong/code"}, {"position_id": 1890, "txt": " enables you to create and interact with sophisticated Agents and Workflows in minutes.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[2]/strong"}]}, "tags": ["strong"], "label": "content", "web_segment_id": 4, "global_sentence_id": 7, "edu_l1_label": "IOS"}, {"txt": " It is the first framework with complete, end-to-end tested MCP Feature support including Sampling.", "language": "english", "position": {"atoms": [{"position_id": 1891, "txt": " It is the first framework with complete, end-to-end tested MCP Feature support including Sampling.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[2]/strong"}]}, "tags": ["strong"], "label": "content", "web_segment_id": 4, "global_sentence_id": 8, "edu_l1_label": "IOS"}, {"txt": " Both Anthropic (Haiku, Sonnet, Opus) and OpenAI models (gpt-4o/gpt-4.1 family, o1/o3 family) are supported.", "language": "english", "position": {"atoms": [{"position_id": 1892, "txt": " Both Anthropic (Haiku, Sonnet, Opus) and OpenAI models (gpt-4o/gpt-4.1 family, o1/o3 family) are supported.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[2]/strong"}]}, "tags": ["strong"], "label": "content", "web_segment_id": 4, "global_sentence_id": 9, "edu_l1_label": "IOS"}, {"txt": "The simple declarative syntax lets you concentrate on composing your Prompts and MCP Servers to build effective agents.", "language": "english", "position": {"atoms": [{"position_id": 1894, "txt": "The simple declarative syntax lets you concentrate on composing your Prompts and MCP Servers to ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[3]"}, {"position_id": 1896, "txt": "build effective agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[3]/a"}, {"position_id": 1898, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[3]/a"}]}, "tags": [], "label": "content", "web_segment_id": 5, "global_sentence_id": 10, "edu_l1_label": "IOS"}, {"txt": "fast-agent is multi-modal, supporting Images and PDFs for both Anthropic and OpenAI endpoints via Prompts, Resources and MCP Tool Call results.", "language": "english", "position": {"atoms": [{"position_id": 1900, "txt": "fast-agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[4]/code"}, {"position_id": 1902, "txt": " is multi-modal, supporting Images and PDFs for both Anthropic and OpenAI endpoints via Prompts, Resources and MCP Tool Call results.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[4]/code"}]}, "tags": [], "label": "content", "web_segment_id": 6, "global_sentence_id": 11, "edu_l1_label": "IOS"}, {"txt": " The inclusion of passthrough and playback LLMs enable rapid development and test of Python glue-code for your applications.", "language": "english", "position": {"atoms": [{"position_id": 1903, "txt": " The inclusion of passthrough and playback LLMs enable rapid development and test of Python glue-code for your applications.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[4]/code"}]}, "tags": [], "label": "content", "web_segment_id": 6, "global_sentence_id": 12, "edu_l1_label": "IOS"}, {"txt": "Important", "language": "english", "position": {"atoms": [{"position_id": 1905, "txt": "Important", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[1]/svg"}]}, "tags": ["img"], "label": "content", "web_segment_id": 7, "global_sentence_id": 13, "edu_l1_label": "IOS"}, {"txt": "fast-agent The fast-agent documentation repo is here:", "language": "english", "position": {"atoms": [{"position_id": 1907, "txt": "fast-agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/code"}, {"position_id": 1909, "txt": " The fast-agent documentation repo is here:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/code"}]}, "tags": [], "label": "content", "web_segment_id": 8, "global_sentence_id": 14, "edu_l1_label": "IOS"}, {"txt": " https://github.com/evalstate/fast-agent-docs.", "language": "english", "position": {"atoms": [{"position_id": 1910, "txt": " ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/code"}, {"position_id": 1912, "txt": "https://github.com/evalstate/fast-agent-docs", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/a"}, {"position_id": 1914, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/a"}]}, "tags": [], "label": "content", "web_segment_id": 8, "global_sentence_id": 15, "edu_l1_label": "IOS"}, {"txt": " Please feel free to submit PRs for documentation, experience reports or other content you think others may find helpful.", "language": "english", "position": {"atoms": [{"position_id": 1915, "txt": " Please feel free to submit PRs for documentation, experience reports or other content you think others may find helpful.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/a"}]}, "tags": [], "label": "content", "web_segment_id": 8, "global_sentence_id": 16, "edu_l1_label": "IOS"}, {"txt": " All help and feedback warmly received.", "language": "english", "position": {"atoms": [{"position_id": 1916, "txt": " All help and feedback warmly received.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[3]/p[2]/a"}]}, "tags": [], "label": "content", "web_segment_id": 8, "global_sentence_id": 17, "edu_l1_label": "IOS"}, {"txt": "Agent Application Development", "language": "english", "position": {"atoms": [{"position_id": 1918, "txt": "Agent Application Development", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[4]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 9, "global_sentence_id": 18, "edu_l1_label": "IOS"}, {"txt": "Prompts and configurations that define your Agent Applications are stored in simple files, with minimal boilerplate, enabling simple management and version control.", "language": "english", "position": {"atoms": [{"position_id": 1920, "txt": "Prompts and configurations that define your Agent Applications are stored in simple files, with minimal boilerplate, enabling simple management and version control.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[5]"}]}, "tags": [], "label": "content", "web_segment_id": 10, "global_sentence_id": 19, "edu_l1_label": "IOS"}, {"txt": "Chat with individual Agents and Components before, during and after workflow execution to tune and diagnose your application.", "language": "english", "position": {"atoms": [{"position_id": 1922, "txt": "Chat with individual Agents and Components before, during and after workflow execution to tune and diagnose your application.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[6]"}]}, "tags": [], "label": "content", "web_segment_id": 11, "global_sentence_id": 20, "edu_l1_label": "IOS"}, {"txt": " Agents can request human input to get additional context for task completion.", "language": "english", "position": {"atoms": [{"position_id": 1923, "txt": " Agents can request human input to get additional context for task completion.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[6]"}]}, "tags": [], "label": "content", "web_segment_id": 11, "global_sentence_id": 21, "edu_l1_label": "IOS"}, {"txt": "Simple model selection makes testing Model <-> MCP Server interaction painless.", "language": "english", "position": {"atoms": [{"position_id": 1925, "txt": "Simple model selection makes testing Model <-> MCP Server interaction painless.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[7]"}]}, "tags": [], "label": "content", "web_segment_id": 12, "global_sentence_id": 22, "edu_l1_label": "IOS"}, {"txt": " You can read more about the motivation behind this project here", "language": "english", "position": {"atoms": [{"position_id": 1926, "txt": " You can read more about the motivation behind this project ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[7]"}, {"position_id": 1928, "txt": "here", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[7]/a"}]}, "tags": [], "label": "content", "web_segment_id": 12, "global_sentence_id": 23, "edu_l1_label": "IOS"}, {"txt": "<img https://private-user-images.githubusercontent.com/1936278/425824828-8f6dbb69-43e3-4633-8e12-5572e9614728.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDU1ODI4MDgsIm5iZiI6MTc0NTU4MjUwOCwicGF0aCI6Ii8xOTM2Mjc4LzQyNTgyNDgyOC04ZjZkYmI2OS00M2UzLTQ2MzMtOGUxMi01NTcyZTk2MTQ3MjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDQyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA0MjVUMTIwMTQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzllMDI3MDRlOTg5MDZlOWNkNTgwMmZkYWM4YjFhYjBiYjRlYTE5ODAyMTcxNWRlODc3NTI2YTFjMTcxYTJlOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.a2v1WwbznQdFk2wW4zmj-wNacWIkSkIxZ3krijcptUA", "language": "english", "position": {"atoms": [{"position_id": 879, "txt": "<img https://private-user-images.githubusercontent.com/1936278/425824828-8f6dbb69-43e3-4633-8e12-5572e9614728.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDU1ODI4MDgsIm5iZiI6MTc0NTU4MjUwOCwicGF0aCI6Ii8xOTM2Mjc4LzQyNTgyNDgyOC04ZjZkYmI2OS00M2UzLTQ2MzMtOGUxMi01NTcyZTk2MTQ3MjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDQyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA0MjVUMTIwMTQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzllMDI3MDRlOTg5MDZlOWNkNTgwMmZkYWM4YjFhYjBiYjRlYTE5ODAyMTcxNWRlODc3NTI2YTFjMTcxYTJlOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.a2v1WwbznQdFk2wW4zmj-wNacWIkSkIxZ3krijcptUA", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[8]/a/img"}]}, "tags": ["img"], "label": "figure", "web_segment_id": 13, "global_sentence_id": 24, "edu_l1_label": "EDU_O"}, {"txt": "Get started:", "language": "english", "position": {"atoms": [{"position_id": 1930, "txt": "Get started:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[5]/h2"}]}, "tags": ["h2"], "label": "title1", "web_segment_id": 14, "global_sentence_id": 25, "edu_l1_label": "BOS"}, {"txt": "Start by installing the uv package manager for Python.", "language": "english", "position": {"atoms": [{"position_id": 1932, "txt": "Start by installing the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[9]"}, {"position_id": 1934, "txt": "uv package manager", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[9]/a"}, {"position_id": 1936, "txt": " for Python.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[9]/a"}]}, "tags": [], "label": "content", "web_segment_id": 15, "global_sentence_id": 26, "edu_l1_label": "IOS"}, {"txt": " Then:", "language": "english", "position": {"atoms": [{"position_id": 1937, "txt": " Then:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[9]/a"}]}, "tags": [], "label": "content", "web_segment_id": 15, "global_sentence_id": 27, "edu_l1_label": "IOS"}, {"txt": "uv pip install fast-agent-mcp       # install fast-agent!", "language": "english", "position": {"atoms": [{"position_id": 1939, "txt": "uv pip install fast-agent-mcp       ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre"}, {"position_id": 1941, "txt": "#", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[1]/span"}, {"position_id": 1943, "txt": " install fast-agent!", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[1]/span"}]}, "tags": [], "label": "code", "web_segment_id": 16, "global_sentence_id": 28, "edu_l1_label": "IOS"}, {"txt": "fast-agent setup                    # create an example agent and config filesuv run agent.py                     # run your first agentuv run agent.py --model=o3-mini.low # specify a modelfast-agent quickstart workflow       # create \"building effective agents\" examples", "language": "english", "position": {"atoms": [{"position_id": 1945, "txt": "\n\nfast-agent setup                    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[1]"}, {"position_id": 1947, "txt": "#", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[2]/span"}, {"position_id": 1949, "txt": " create an example agent and config files", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[2]/span"}, {"position_id": 1951, "txt": "\nuv run agent.py                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[2]"}, {"position_id": 1953, "txt": "#", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[3]/span"}, {"position_id": 1955, "txt": " run your first agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[3]/span"}, {"position_id": 1957, "txt": "\nuv run agent.py --model=o3-mini.low ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[3]"}, {"position_id": 1959, "txt": "#", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[4]/span"}, {"position_id": 1961, "txt": " specify a model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[4]/span"}, {"position_id": 1963, "txt": "\nfast-agent quickstart workflow       ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[4]"}, {"position_id": 1965, "txt": "#", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[5]/span"}, {"position_id": 1967, "txt": " create \"building effective agents\" examples", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[6]/pre/span[5]/span"}]}, "tags": [], "label": "content", "web_segment_id": 16, "global_sentence_id": 29, "edu_l1_label": "IOS"}, {"txt": "Other quickstart examples include a Researcher Agent (with Evaluator-Optimizer workflow) and Data Analysis Agent (similar to the ChatGPT experience), demonstrating MCP Roots support.", "language": "english", "position": {"atoms": [{"position_id": 1969, "txt": "Other quickstart examples include a Researcher Agent (with Evaluator-Optimizer workflow) and Data Analysis Agent (similar to the ChatGPT experience), demonstrating MCP Roots support.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[10]"}]}, "tags": [], "label": "content", "web_segment_id": 18, "global_sentence_id": 30, "edu_l1_label": "IOS"}, {"txt": "Tip", "language": "english", "position": {"atoms": [{"position_id": 1971, "txt": "Tip", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[7]/p[1]/svg"}]}, "tags": ["img"], "label": "content", "web_segment_id": 19, "global_sentence_id": 31, "edu_l1_label": "IOS"}, {"txt": "Windows Users - there are a couple of configuration changes needed for the Filesystem and Docker MCP Servers - necessary changes are detailed within the configuration files.", "language": "english", "position": {"atoms": [{"position_id": 1973, "txt": "Windows Users - there are a couple of configuration changes needed for the Filesystem and Docker MCP Servers - necessary changes are detailed within the configuration files.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[7]/p[2]"}]}, "tags": [], "label": "content", "web_segment_id": 20, "global_sentence_id": 32, "edu_l1_label": "IOS"}, {"txt": "Basic Agents", "language": "english", "position": {"atoms": [{"position_id": 1975, "txt": "Basic Agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[8]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 21, "global_sentence_id": 33, "edu_l1_label": "IOS"}, {"txt": "Defining an agent is as simple as:", "language": "english", "position": {"atoms": [{"position_id": 1977, "txt": "Defining an agent is as simple as:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[11]"}]}, "tags": [], "label": "content", "web_segment_id": 22, "global_sentence_id": 34, "edu_l1_label": "IOS"}, {"txt": "@fast.agent(instruction=\"Given an object, respond only with an estimate of its size.\")", "language": "english", "position": {"atoms": [{"position_id": 1979, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[1]"}, {"position_id": 1981, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[1]/span[1]"}, {"position_id": 1983, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[1]/span[1]"}, {"position_id": 1985, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[1]/span[2]"}, {"position_id": 1987, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[1]/span[2]"}, {"position_id": 1989, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[2]/span[1]"}, {"position_id": 1991, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[2]/span[2]"}, {"position_id": 1993, "txt": "\"Given an object, respond only with an estimate of its size.\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[2]/span[3]"}, {"position_id": 1995, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[9]/pre/span[3]"}]}, "tags": [], "label": "code", "web_segment_id": 23, "global_sentence_id": 35, "edu_l1_label": "EDU_O"}, {"txt": "We can then send messages to the Agent:", "language": "english", "position": {"atoms": [{"position_id": 1997, "txt": "We can then send messages to the Agent:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[12]"}]}, "tags": [], "label": "content", "web_segment_id": 25, "global_sentence_id": 36, "edu_l1_label": "IOS"}, {"txt": "asyncwithfast.run() asagent:", "language": "english", "position": {"atoms": [{"position_id": 1999, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[1]"}, {"position_id": 2001, "txt": "with", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[2]"}, {"position_id": 2003, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[3]"}, {"position_id": 2005, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[3]"}, {"position_id": 2007, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[4]"}, {"position_id": 2009, "txt": "() ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[4]"}, {"position_id": 2011, "txt": "as", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[5]"}, {"position_id": 2013, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[6]"}, {"position_id": 2015, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[6]"}]}, "tags": [], "label": "code", "web_segment_id": 26, "global_sentence_id": 37, "edu_l1_label": "EDU_O"}, {"txt": "  moon_size=awaitagent(\"the moon\")  print(moon_size)", "language": "english", "position": {"atoms": [{"position_id": 2016, "txt": "\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[6]"}, {"position_id": 2018, "txt": "moon_size", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[7]"}, {"position_id": 2020, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[8]"}, {"position_id": 2022, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[9]"}, {"position_id": 2024, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[10]"}, {"position_id": 2026, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[10]"}, {"position_id": 2028, "txt": "\"the moon\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[11]"}, {"position_id": 2030, "txt": ")\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[11]"}, {"position_id": 2032, "txt": "print", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[12]"}, {"position_id": 2034, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[12]"}, {"position_id": 2036, "txt": "moon_size", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[13]"}, {"position_id": 2038, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[10]/pre/span[13]"}]}, "tags": [], "label": "code", "web_segment_id": 26, "global_sentence_id": 38, "edu_l1_label": "EDU_O"}, {"txt": "Or start an interactive chat with the Agent:", "language": "english", "position": {"atoms": [{"position_id": 2040, "txt": "Or start an interactive chat with the Agent:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[13]"}]}, "tags": [], "label": "content", "web_segment_id": 28, "global_sentence_id": 39, "edu_l1_label": "IOS"}, {"txt": "asyncwithfast.run() asagent:", "language": "english", "position": {"atoms": [{"position_id": 2042, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[1]"}, {"position_id": 2044, "txt": "with", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[2]"}, {"position_id": 2046, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[3]"}, {"position_id": 2048, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[3]"}, {"position_id": 2050, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[4]"}, {"position_id": 2052, "txt": "() ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[4]"}, {"position_id": 2054, "txt": "as", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[5]"}, {"position_id": 2056, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[6]"}, {"position_id": 2058, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[6]"}]}, "tags": [], "label": "code", "web_segment_id": 29, "global_sentence_id": 40, "edu_l1_label": "EDU_O"}, {"txt": "  awaitagent.interactive()", "language": "english", "position": {"atoms": [{"position_id": 2059, "txt": "\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[6]"}, {"position_id": 2061, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[7]"}, {"position_id": 2063, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[8]"}, {"position_id": 2065, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[8]"}, {"position_id": 2067, "txt": "interactive", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[9]"}, {"position_id": 2069, "txt": "()", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[11]/pre/span[9]"}]}, "tags": [], "label": "code", "web_segment_id": 29, "global_sentence_id": 41, "edu_l1_label": "EDU_O"}, {"txt": "Here is the complete sizer.py Agent application, with boilerplate code:", "language": "english", "position": {"atoms": [{"position_id": 2071, "txt": "Here is the complete ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[14]"}, {"position_id": 2073, "txt": "sizer.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[14]/code"}, {"position_id": 2075, "txt": " Agent application, with boilerplate code:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[14]/code"}]}, "tags": [], "label": "content", "web_segment_id": 31, "global_sentence_id": 42, "edu_l1_label": "IOS"}, {"txt": "importasynciofrommcp_agent.core.fastagentimportFastAgent#", "language": "english", "position": {"atoms": [{"position_id": 2077, "txt": "import", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[1]"}, {"position_id": 2079, "txt": "asyncio", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[2]"}, {"position_id": 2081, "txt": "from", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[3]"}, {"position_id": 2083, "txt": "mcp_agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[4]"}, {"position_id": 2085, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[4]"}, {"position_id": 2087, "txt": "core", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[5]"}, {"position_id": 2089, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[5]"}, {"position_id": 2091, "txt": "fastagent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[6]"}, {"position_id": 2093, "txt": "import", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[7]"}, {"position_id": 2095, "txt": "FastAgent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[8]"}, {"position_id": 2097, "txt": "#", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[9]"}]}, "tags": [], "label": "code", "web_segment_id": 32, "global_sentence_id": 43, "edu_l1_label": "EDU_O"}, {"txt": " Create the applicationfast=FastAgent(\"Agent Example\")@fast.agent(instruction=\"Given an object, respond only with an estimate of its size.\")asyncdefmain():", "language": "english", "position": {"atoms": [{"position_id": 2098, "txt": " Create the application", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[9]"}, {"position_id": 2100, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[10]"}, {"position_id": 2102, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[11]"}, {"position_id": 2104, "txt": "FastAgent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[12]"}, {"position_id": 2106, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[12]"}, {"position_id": 2108, "txt": "\"Agent Example\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[13]"}, {"position_id": 2110, "txt": ")\n\n", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[13]"}, {"position_id": 2112, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[14]"}, {"position_id": 2114, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[14]/span[1]"}, {"position_id": 2116, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[14]/span[1]"}, {"position_id": 2118, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[14]/span[2]"}, {"position_id": 2120, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[14]/span[2]"}, {"position_id": 2122, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[15]/span[1]"}, {"position_id": 2124, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[15]/span[2]"}, {"position_id": 2126, "txt": "\"Given an object, respond only with an estimate of its size.\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[15]/span[3]"}, {"position_id": 2128, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[16]"}, {"position_id": 2130, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[17]"}, {"position_id": 2132, "txt": "def", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[18]"}, {"position_id": 2134, "txt": "main", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[19]"}, {"position_id": 2136, "txt": "():", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[19]"}]}, "tags": [], "label": "code", "web_segment_id": 32, "global_sentence_id": 44, "edu_l1_label": "EDU_O"}, {"txt": "  asyncwithfast.run() asagent:", "language": "english", "position": {"atoms": [{"position_id": 2137, "txt": "\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[19]"}, {"position_id": 2139, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[20]"}, {"position_id": 2141, "txt": "with", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[21]"}, {"position_id": 2143, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[22]"}, {"position_id": 2145, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[22]"}, {"position_id": 2147, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[23]"}, {"position_id": 2149, "txt": "() ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[23]"}, {"position_id": 2151, "txt": "as", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[24]"}, {"position_id": 2153, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[25]"}, {"position_id": 2155, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[25]"}]}, "tags": [], "label": "code", "web_segment_id": 32, "global_sentence_id": 45, "edu_l1_label": "EDU_O"}, {"txt": "    awaitagent.interactive()if__name__==\"__main__\":", "language": "english", "position": {"atoms": [{"position_id": 2156, "txt": "\n    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[25]"}, {"position_id": 2158, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[26]"}, {"position_id": 2160, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[27]"}, {"position_id": 2162, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[27]"}, {"position_id": 2164, "txt": "interactive", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[28]"}, {"position_id": 2166, "txt": "()\n\n", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[28]"}, {"position_id": 2168, "txt": "if", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[29]"}, {"position_id": 2170, "txt": "__name__", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[30]"}, {"position_id": 2172, "txt": "==", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[31]"}, {"position_id": 2174, "txt": "\"__main__\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[32]"}, {"position_id": 2176, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[32]"}]}, "tags": [], "label": "code", "web_segment_id": 32, "global_sentence_id": 46, "edu_l1_label": "EDU_O"}, {"txt": "    asyncio.run(main())", "language": "english", "position": {"atoms": [{"position_id": 2177, "txt": "\n    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[32]"}, {"position_id": 2179, "txt": "asyncio", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[33]"}, {"position_id": 2181, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[33]"}, {"position_id": 2183, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[34]"}, {"position_id": 2185, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[34]"}, {"position_id": 2187, "txt": "main", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[35]"}, {"position_id": 2189, "txt": "())", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[12]/pre/span[35]"}]}, "tags": [], "label": "code", "web_segment_id": 32, "global_sentence_id": 47, "edu_l1_label": "EDU_O"}, {"txt": "The Agent can then be run with uv run sizer.py.", "language": "english", "position": {"atoms": [{"position_id": 2191, "txt": "The Agent can then be run with ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[15]"}, {"position_id": 2193, "txt": "uv run sizer.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[15]/code"}, {"position_id": 2195, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[15]/code"}]}, "tags": [], "label": "content", "web_segment_id": 34, "global_sentence_id": 48, "edu_l1_label": "IOS"}, {"txt": "Specify a model with the --model switch - for example uv run sizer.py --model sonnet.", "language": "english", "position": {"atoms": [{"position_id": 2197, "txt": "Specify a model with the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[16]"}, {"position_id": 2199, "txt": "--model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[16]/code[1]"}, {"position_id": 2201, "txt": " switch - for example ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[16]/code[1]"}, {"position_id": 2203, "txt": "uv run sizer.py --model sonnet", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[16]/code[2]"}, {"position_id": 2205, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[16]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 35, "global_sentence_id": 49, "edu_l1_label": "IOS"}, {"txt": "Combining Agents and using MCP Servers", "language": "english", "position": {"atoms": [{"position_id": 2207, "txt": "Combining Agents and using MCP Servers", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[13]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 36, "global_sentence_id": 50, "edu_l1_label": "IOS"}, {"txt": "To generate examples use fast-agent quickstart workflow.", "language": "english", "position": {"atoms": [{"position_id": 2209, "txt": "To generate examples use ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[17]/em"}, {"position_id": 2211, "txt": "fast-agent quickstart workflow", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[17]/em/code[1]"}, {"position_id": 2213, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[17]/em/code[1]"}]}, "tags": ["em"], "label": "content", "web_segment_id": 37, "global_sentence_id": 51, "edu_l1_label": "IOS"}, {"txt": " This example can be run with uv run workflow/chaining.py. fast-agent looks for configuration files in the current directory before checking parent directories recursively.", "language": "english", "position": {"atoms": [{"position_id": 2214, "txt": " This example can be run with ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[17]/em/code[1]"}, {"position_id": 2216, "txt": "uv run workflow/chaining.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[17]/em/code[2]"}, {"position_id": 2218, "txt": ". fast-agent looks for configuration files in the current directory before checking parent directories recursively.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[17]/em/code[2]"}]}, "tags": ["em"], "label": "content", "web_segment_id": 37, "global_sentence_id": 52, "edu_l1_label": "IOS"}, {"txt": "Agents can be chained to build a workflow, using MCP Servers defined in the fastagent.config.yaml file:", "language": "english", "position": {"atoms": [{"position_id": 2220, "txt": "Agents can be chained to build a workflow, using MCP Servers defined in the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[18]"}, {"position_id": 2222, "txt": "fastagent.config.yaml", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[18]/code"}, {"position_id": 2224, "txt": " file:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[18]/code"}]}, "tags": [], "label": "content", "web_segment_id": 38, "global_sentence_id": 53, "edu_l1_label": "IOS"}, {"txt": "@fast.agent(\"url_fetcher\",\"Given a URL, provide a complete and comprehensive summary\",servers=[\"fetch\"], # Name of an MCP Server defined in fastagent.config.yaml)@fast.agent(\"social_media\",\"\"\"    Write a 280 character social media post for any given text.", "language": "english", "position": {"atoms": [{"position_id": 2226, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[1]"}, {"position_id": 2228, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[1]/span[1]"}, {"position_id": 2230, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[1]/span[1]"}, {"position_id": 2232, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[1]/span[2]"}, {"position_id": 2234, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[1]/span[2]"}, {"position_id": 2236, "txt": "\"url_fetcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[2]/span"}, {"position_id": 2238, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[2]/span"}, {"position_id": 2240, "txt": "\"Given a URL, provide a complete and comprehensive summary\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[3]/span"}, {"position_id": 2242, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[3]/span"}, {"position_id": 2244, "txt": "servers", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[4]/span[1]"}, {"position_id": 2246, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[4]/span[2]"}, {"position_id": 2248, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[4]/span[2]"}, {"position_id": 2250, "txt": "\"fetch\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[4]/span[3]"}, {"position_id": 2252, "txt": "], ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[4]/span[3]"}, {"position_id": 2254, "txt": "# Name of an MCP Server defined in fastagent.config.yaml", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[4]/span[4]"}, {"position_id": 2256, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[5]"}, {"position_id": 2258, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[6]"}, {"position_id": 2260, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[6]/span[1]"}, {"position_id": 2262, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[6]/span[1]"}, {"position_id": 2264, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[6]/span[2]"}, {"position_id": 2266, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[6]/span[2]"}, {"position_id": 2268, "txt": "\"social_media\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[7]/span"}, {"position_id": 2270, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[7]/span"}, {"position_id": 2272, "txt": "\"\"\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[8]/span"}, {"position_id": 2274, "txt": "    Write a 280 character social media post for any given text.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[9]/span"}]}, "tags": [], "label": "code", "web_segment_id": 39, "global_sentence_id": 54, "edu_l1_label": "EDU_O"}, {"txt": "    Respond only with the post, never use hashtags.    \"\"\"", "language": "english", "position": {"atoms": [{"position_id": 2276, "txt": "    Respond only with the post, never use hashtags.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[10]/span"}, {"position_id": 2278, "txt": "    \"\"\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[11]/span"}]}, "tags": [], "label": "code", "web_segment_id": 39, "global_sentence_id": 55, "edu_l1_label": "EDU_O"}, {"txt": ",)@fast.chain(name=\"post_writer\",sequence=[\"url_fetcher\", \"social_media\"],)asyncdefmain():", "language": "english", "position": {"atoms": [{"position_id": 2280, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[11]/span"}, {"position_id": 2282, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[12]"}, {"position_id": 2284, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[13]"}, {"position_id": 2286, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[13]/span[1]"}, {"position_id": 2288, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[13]/span[1]"}, {"position_id": 2290, "txt": "chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[13]/span[2]"}, {"position_id": 2292, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[13]/span[2]"}, {"position_id": 2294, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[14]/span[1]"}, {"position_id": 2296, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[14]/span[2]"}, {"position_id": 2298, "txt": "\"post_writer\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[14]/span[3]"}, {"position_id": 2300, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[14]/span[3]"}, {"position_id": 2302, "txt": "sequence", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[1]"}, {"position_id": 2304, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[2]"}, {"position_id": 2306, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[2]"}, {"position_id": 2308, "txt": "\"url_fetcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[3]"}, {"position_id": 2310, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[3]"}, {"position_id": 2312, "txt": "\"social_media\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[4]"}, {"position_id": 2314, "txt": "],", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[15]/span[4]"}, {"position_id": 2316, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[16]"}, {"position_id": 2318, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[17]"}, {"position_id": 2320, "txt": "def", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[18]"}, {"position_id": 2322, "txt": "main", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[19]"}, {"position_id": 2324, "txt": "():", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[19]"}]}, "tags": [], "label": "code", "web_segment_id": 39, "global_sentence_id": 56, "edu_l1_label": "EDU_O"}, {"txt": "    asyncwithfast.run() asagent:", "language": "english", "position": {"atoms": [{"position_id": 2325, "txt": "\n    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[19]"}, {"position_id": 2327, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[20]"}, {"position_id": 2329, "txt": "with", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[21]"}, {"position_id": 2331, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[22]"}, {"position_id": 2333, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[22]"}, {"position_id": 2335, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[23]"}, {"position_id": 2337, "txt": "() ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[23]"}, {"position_id": 2339, "txt": "as", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[24]"}, {"position_id": 2341, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[25]"}, {"position_id": 2343, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[25]"}]}, "tags": [], "label": "code", "web_segment_id": 39, "global_sentence_id": 57, "edu_l1_label": "EDU_O"}, {"txt": "        # using chain workflowawaitagent.post_writer(\"http://llmindset.co.uk\")", "language": "english", "position": {"atoms": [{"position_id": 2344, "txt": "\n        ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[25]"}, {"position_id": 2346, "txt": "# using chain workflow", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[26]"}, {"position_id": 2348, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[27]"}, {"position_id": 2350, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[28]"}, {"position_id": 2352, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[28]"}, {"position_id": 2354, "txt": "post_writer", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[29]"}, {"position_id": 2356, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[29]"}, {"position_id": 2358, "txt": "\"http://llmindset.co.uk\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[30]"}, {"position_id": 2360, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[14]/pre/span[30]"}]}, "tags": [], "label": "code", "web_segment_id": 39, "global_sentence_id": 58, "edu_l1_label": "EDU_O"}, {"txt": "All Agents and Workflows respond to .send(\"message\") or .prompt() to begin a chat session.", "language": "english", "position": {"atoms": [{"position_id": 2362, "txt": "All Agents and Workflows respond to ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[19]"}, {"position_id": 2364, "txt": ".send(\"message\")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[19]/code[1]"}, {"position_id": 2366, "txt": " or ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[19]/code[1]"}, {"position_id": 2368, "txt": ".prompt()", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[19]/code[2]"}, {"position_id": 2370, "txt": " to begin a chat session.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[19]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 41, "global_sentence_id": 59, "edu_l1_label": "IOS"}, {"txt": "Saved as social.py we can now run this workflow from the command line with:", "language": "english", "position": {"atoms": [{"position_id": 2372, "txt": "Saved as ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[20]"}, {"position_id": 2374, "txt": "social.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[20]/code"}, {"position_id": 2376, "txt": " we can now run this workflow from the command line with:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[20]/code"}]}, "tags": [], "label": "content", "web_segment_id": 42, "global_sentence_id": 60, "edu_l1_label": "IOS"}, {"txt": "uv run workflow/chaining.py --agent post_writer --message \"<url>\"", "language": "english", "position": {"atoms": [{"position_id": 2378, "txt": "uv run workflow/chaining.py --agent post_writer --message ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[15]/pre"}, {"position_id": 2380, "txt": "\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[15]/pre/span/span[1]"}, {"position_id": 2382, "txt": "<url>", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[15]/pre/span/span[1]"}, {"position_id": 2384, "txt": "\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[15]/pre/span/span[2]"}]}, "tags": [], "label": "code", "web_segment_id": 43, "global_sentence_id": 61, "edu_l1_label": "EDU_O"}, {"txt": "Add the --quiet switch to disable progress and message display and return only the final response - useful for simple automations.", "language": "english", "position": {"atoms": [{"position_id": 2386, "txt": "Add the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[21]"}, {"position_id": 2388, "txt": "--quiet", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[21]/code"}, {"position_id": 2390, "txt": " switch to disable progress and message display and return only the final response - useful for simple automations.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[21]/code"}]}, "tags": [], "label": "content", "web_segment_id": 45, "global_sentence_id": 62, "edu_l1_label": "IOS"}, {"txt": "Workflows", "language": "english", "position": {"atoms": [{"position_id": 2392, "txt": "Workflows", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[16]/h2"}]}, "tags": ["h2"], "label": "title1", "web_segment_id": 46, "global_sentence_id": 63, "edu_l1_label": "BOS"}, {"txt": "Chain", "language": "english", "position": {"atoms": [{"position_id": 2394, "txt": "Chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[17]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 47, "global_sentence_id": 64, "edu_l1_label": "IOS"}, {"txt": "The chain workflow offers a more declarative approach to calling Agents in sequence:", "language": "english", "position": {"atoms": [{"position_id": 2396, "txt": "The ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[22]"}, {"position_id": 2398, "txt": "chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[22]/code"}, {"position_id": 2400, "txt": " workflow offers a more declarative approach to calling Agents in sequence:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[22]/code"}]}, "tags": [], "label": "content", "web_segment_id": 48, "global_sentence_id": 65, "edu_l1_label": "IOS"}, {"txt": "@fast.chain(\"post_writer\",sequence=[\"url_fetcher\",\"social_media\"])# we can them prompt it directly:", "language": "english", "position": {"atoms": [{"position_id": 2402, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[1]"}, {"position_id": 2404, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[1]/span[1]"}, {"position_id": 2406, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[1]/span[1]"}, {"position_id": 2408, "txt": "chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[1]/span[2]"}, {"position_id": 2410, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[1]/span[2]"}, {"position_id": 2412, "txt": "\"post_writer\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[2]/span"}, {"position_id": 2414, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[2]/span"}, {"position_id": 2416, "txt": "sequence", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[1]"}, {"position_id": 2418, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[2]"}, {"position_id": 2420, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[2]"}, {"position_id": 2422, "txt": "\"url_fetcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[3]"}, {"position_id": 2424, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[3]"}, {"position_id": 2426, "txt": "\"social_media\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[4]"}, {"position_id": 2428, "txt": "]", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[3]/span[4]"}, {"position_id": 2430, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[4]"}, {"position_id": 2432, "txt": "# we can them prompt it directly:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[5]"}]}, "tags": [], "label": "code", "web_segment_id": 49, "global_sentence_id": 66, "edu_l1_label": "EDU_O"}, {"txt": "asyncwithfast.run() asagent:", "language": "english", "position": {"atoms": [{"position_id": 2434, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[6]"}, {"position_id": 2436, "txt": "with", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[7]"}, {"position_id": 2438, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[8]"}, {"position_id": 2440, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[8]"}, {"position_id": 2442, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[9]"}, {"position_id": 2444, "txt": "() ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[9]"}, {"position_id": 2446, "txt": "as", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[10]"}, {"position_id": 2448, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[11]"}, {"position_id": 2450, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[11]"}]}, "tags": [], "label": "code", "web_segment_id": 49, "global_sentence_id": 67, "edu_l1_label": "EDU_O"}, {"txt": "  awaitagent.post_writer()", "language": "english", "position": {"atoms": [{"position_id": 2451, "txt": "\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[11]"}, {"position_id": 2453, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[12]"}, {"position_id": 2455, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[13]"}, {"position_id": 2457, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[13]"}, {"position_id": 2459, "txt": "post_writer", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[14]"}, {"position_id": 2461, "txt": "()", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[18]/pre/span[14]"}]}, "tags": [], "label": "code", "web_segment_id": 49, "global_sentence_id": 68, "edu_l1_label": "EDU_O"}, {"txt": "This starts an interactive session, which produces a short social media post for a given URL.", "language": "english", "position": {"atoms": [{"position_id": 2463, "txt": "This starts an interactive session, which produces a short social media post for a given URL.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]"}]}, "tags": [], "label": "content", "web_segment_id": 51, "global_sentence_id": 69, "edu_l1_label": "IOS"}, {"txt": " If a chain is prompted it returns to a chat with last Agent in the chain.", "language": "english", "position": {"atoms": [{"position_id": 2464, "txt": " If a ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]"}, {"position_id": 2466, "txt": "chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]/em"}, {"position_id": 2468, "txt": " is prompted it returns to a chat with last Agent in the chain.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]/em"}]}, "tags": ["em"], "label": "content", "web_segment_id": 51, "global_sentence_id": 70, "edu_l1_label": "IOS"}, {"txt": " You can switch the agent to prompt by typing @agent-name.", "language": "english", "position": {"atoms": [{"position_id": 2469, "txt": " You can switch the agent to prompt by typing ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]/em"}, {"position_id": 2471, "txt": "@agent-name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]/code"}, {"position_id": 2473, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[23]/code"}]}, "tags": ["em"], "label": "content", "web_segment_id": 51, "global_sentence_id": 71, "edu_l1_label": "IOS"}, {"txt": "Chains can be incorporated in other workflows, or contain other workflow elements (including other Chains).", "language": "english", "position": {"atoms": [{"position_id": 2475, "txt": "Chains can be incorporated in other workflows, or contain other workflow elements (including other Chains).", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[24]"}]}, "tags": [], "label": "content", "web_segment_id": 52, "global_sentence_id": 72, "edu_l1_label": "IOS"}, {"txt": " You can set an instruction to precisely describe it's capabilities to other workflow steps if needed.", "language": "english", "position": {"atoms": [{"position_id": 2476, "txt": " You can set an ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[24]"}, {"position_id": 2478, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[24]/code"}, {"position_id": 2480, "txt": " to precisely describe it's capabilities to other workflow steps if needed.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[24]/code"}]}, "tags": [], "label": "content", "web_segment_id": 52, "global_sentence_id": 73, "edu_l1_label": "IOS"}, {"txt": "Human Input", "language": "english", "position": {"atoms": [{"position_id": 2482, "txt": "Human Input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[19]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 53, "global_sentence_id": 74, "edu_l1_label": "IOS"}, {"txt": "Agents can request Human Input to assist with a task or get additional context:", "language": "english", "position": {"atoms": [{"position_id": 2484, "txt": "Agents can request Human Input to assist with a task or get additional context:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[25]"}]}, "tags": [], "label": "content", "web_segment_id": 54, "global_sentence_id": 75, "edu_l1_label": "IOS"}, {"txt": "@fast.agent(instruction=\"An AI agent that assists with basic tasks.", "language": "english", "position": {"atoms": [{"position_id": 2486, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[1]"}, {"position_id": 2488, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[1]/span[1]"}, {"position_id": 2490, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[1]/span[1]"}, {"position_id": 2492, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[1]/span[2]"}, {"position_id": 2494, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[1]/span[2]"}, {"position_id": 2496, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[2]/span[1]"}, {"position_id": 2498, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[2]/span[2]"}, {"position_id": 2500, "txt": "\"An AI agent that assists with basic tasks.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[2]/span[3]"}]}, "tags": [], "label": "code", "web_segment_id": 55, "global_sentence_id": 76, "edu_l1_label": "EDU_O"}, {"txt": " Request Human Input when needed.\",human_input=True,)awaitagent(\"print the next number in the sequence\")", "language": "english", "position": {"atoms": [{"position_id": 2501, "txt": " Request Human Input when needed.\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[2]/span[3]"}, {"position_id": 2503, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[2]/span[3]"}, {"position_id": 2505, "txt": "human_input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[3]/span[1]"}, {"position_id": 2507, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[3]/span[2]"}, {"position_id": 2509, "txt": "True", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[3]/span[3]"}, {"position_id": 2511, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[3]/span[3]"}, {"position_id": 2513, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[4]"}, {"position_id": 2515, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[5]"}, {"position_id": 2517, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[6]"}, {"position_id": 2519, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[6]"}, {"position_id": 2521, "txt": "\"print the next number in the sequence\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[7]"}, {"position_id": 2523, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[20]/pre/span[7]"}]}, "tags": [], "label": "code", "web_segment_id": 55, "global_sentence_id": 77, "edu_l1_label": "EDU_O"}, {"txt": "In the example human_input.py, the Agent will prompt the User for additional information to complete the task.", "language": "english", "position": {"atoms": [{"position_id": 2525, "txt": "In the example ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[26]"}, {"position_id": 2527, "txt": "human_input.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[26]/code"}, {"position_id": 2529, "txt": ", the Agent will prompt the User for additional information to complete the task.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[26]/code"}]}, "tags": [], "label": "content", "web_segment_id": 57, "global_sentence_id": 78, "edu_l1_label": "IOS"}, {"txt": "Parallel", "language": "english", "position": {"atoms": [{"position_id": 2531, "txt": "Parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[21]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 58, "global_sentence_id": 79, "edu_l1_label": "IOS"}, {"txt": "The Parallel Workflow sends the same message to multiple Agents simultaneously (fan-out), then uses the fan-in Agent to process the combined content.", "language": "english", "position": {"atoms": [{"position_id": 2533, "txt": "The Parallel Workflow sends the same message to multiple Agents simultaneously (", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[27]"}, {"position_id": 2535, "txt": "fan-out", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[27]/code[1]"}, {"position_id": 2537, "txt": "), then uses the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[27]/code[1]"}, {"position_id": 2539, "txt": "fan-in", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[27]/code[2]"}, {"position_id": 2541, "txt": " Agent to process the combined content.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[27]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 59, "global_sentence_id": 80, "edu_l1_label": "IOS"}, {"txt": "@fast.agent(\"translate_fr\", \"Translate the text to French\")@fast.agent(\"translate_de\", \"Translate the text to German\")@fast.agent(\"translate_es\", \"Translate the text to Spanish\")@fast.parallel(name=\"translate\",fan_out=[\"translate_fr\",\"translate_de\",\"translate_es\"])@fast.chain(\"post_writer\",sequence=[\"url_fetcher\",\"social_media\",\"translate\"])", "language": "english", "position": {"atoms": [{"position_id": 2543, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]"}, {"position_id": 2545, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[1]"}, {"position_id": 2547, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[1]"}, {"position_id": 2549, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[2]"}, {"position_id": 2551, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[2]"}, {"position_id": 2553, "txt": "\"translate_fr\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[3]"}, {"position_id": 2555, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[3]"}, {"position_id": 2557, "txt": "\"Translate the text to French\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[4]"}, {"position_id": 2559, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[1]/span[4]"}, {"position_id": 2561, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]"}, {"position_id": 2563, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[1]"}, {"position_id": 2565, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[1]"}, {"position_id": 2567, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[2]"}, {"position_id": 2569, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[2]"}, {"position_id": 2571, "txt": "\"translate_de\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[3]"}, {"position_id": 2573, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[3]"}, {"position_id": 2575, "txt": "\"Translate the text to German\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[4]"}, {"position_id": 2577, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[2]/span[4]"}, {"position_id": 2579, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]"}, {"position_id": 2581, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[1]"}, {"position_id": 2583, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[1]"}, {"position_id": 2585, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[2]"}, {"position_id": 2587, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[2]"}, {"position_id": 2589, "txt": "\"translate_es\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[3]"}, {"position_id": 2591, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[3]"}, {"position_id": 2593, "txt": "\"Translate the text to Spanish\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[4]"}, {"position_id": 2595, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[3]/span[4]"}, {"position_id": 2597, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[4]"}, {"position_id": 2599, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[4]/span[1]"}, {"position_id": 2601, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[4]/span[1]"}, {"position_id": 2603, "txt": "parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[4]/span[2]"}, {"position_id": 2605, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[4]/span[2]"}, {"position_id": 2607, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[5]/span[1]"}, {"position_id": 2609, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[5]/span[2]"}, {"position_id": 2611, "txt": "\"translate\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[5]/span[3]"}, {"position_id": 2613, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[5]/span[3]"}, {"position_id": 2615, "txt": "fan_out", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[1]"}, {"position_id": 2617, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[2]"}, {"position_id": 2619, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[2]"}, {"position_id": 2621, "txt": "\"translate_fr\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[3]"}, {"position_id": 2623, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[3]"}, {"position_id": 2625, "txt": "\"translate_de\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[4]"}, {"position_id": 2627, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[4]"}, {"position_id": 2629, "txt": "\"translate_es\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[5]"}, {"position_id": 2631, "txt": "]", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[6]/span[5]"}, {"position_id": 2633, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[7]"}, {"position_id": 2635, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[8]"}, {"position_id": 2637, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[8]/span[1]"}, {"position_id": 2639, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[8]/span[1]"}, {"position_id": 2641, "txt": "chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[8]/span[2]"}, {"position_id": 2643, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[8]/span[2]"}, {"position_id": 2645, "txt": "\"post_writer\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[9]/span"}, {"position_id": 2647, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[9]/span"}, {"position_id": 2649, "txt": "sequence", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[1]"}, {"position_id": 2651, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[2]"}, {"position_id": 2653, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[2]"}, {"position_id": 2655, "txt": "\"url_fetcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[3]"}, {"position_id": 2657, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[3]"}, {"position_id": 2659, "txt": "\"social_media\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[4]"}, {"position_id": 2661, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[4]"}, {"position_id": 2663, "txt": "\"translate\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[5]"}, {"position_id": 2665, "txt": "]", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[10]/span[5]"}, {"position_id": 2667, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[22]/pre/span[11]"}]}, "tags": [], "label": "code", "web_segment_id": 60, "global_sentence_id": 81, "edu_l1_label": "EDU_O"}, {"txt": "If you don't specify a fan-in agent, the parallel returns the combined Agent results verbatim.", "language": "english", "position": {"atoms": [{"position_id": 2669, "txt": "If you don't specify a ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[28]"}, {"position_id": 2671, "txt": "fan-in", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[28]/code[1]"}, {"position_id": 2673, "txt": " agent, the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[28]/code[1]"}, {"position_id": 2675, "txt": "parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[28]/code[2]"}, {"position_id": 2677, "txt": " returns the combined Agent results verbatim.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[28]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 62, "global_sentence_id": 82, "edu_l1_label": "IOS"}, {"txt": "parallel is also useful to ensemble ideas from different LLMs.", "language": "english", "position": {"atoms": [{"position_id": 2679, "txt": "parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[29]/code"}, {"position_id": 2681, "txt": " is also useful to ensemble ideas from different LLMs.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[29]/code"}]}, "tags": [], "label": "content", "web_segment_id": 63, "global_sentence_id": 83, "edu_l1_label": "IOS"}, {"txt": "When using parallel in other workflows, specify an instruction to describe its operation.", "language": "english", "position": {"atoms": [{"position_id": 2683, "txt": "When using ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[30]"}, {"position_id": 2685, "txt": "parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[30]/code[1]"}, {"position_id": 2687, "txt": " in other workflows, specify an ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[30]/code[1]"}, {"position_id": 2689, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[30]/code[2]"}, {"position_id": 2691, "txt": " to describe its operation.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[30]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 64, "global_sentence_id": 84, "edu_l1_label": "IOS"}, {"txt": "Evaluator-Optimizer", "language": "english", "position": {"atoms": [{"position_id": 2693, "txt": "Evaluator-Optimizer", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[23]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 65, "global_sentence_id": 85, "edu_l1_label": "IOS"}, {"txt": "Evaluator-Optimizers combine 2 agents:", "language": "english", "position": {"atoms": [{"position_id": 2695, "txt": "Evaluator-Optimizers combine 2 agents:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]"}]}, "tags": [], "label": "content", "web_segment_id": 66, "global_sentence_id": 86, "edu_l1_label": "IOS"}, {"txt": " one to generate content (the generator), and the other to judge that content and provide actionable feedback (the evaluator).", "language": "english", "position": {"atoms": [{"position_id": 2696, "txt": " one to generate content (the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]"}, {"position_id": 2698, "txt": "generator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]/code[1]"}, {"position_id": 2700, "txt": "), and the other to judge that content and provide actionable feedback (the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]/code[1]"}, {"position_id": 2702, "txt": "evaluator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]/code[2]"}, {"position_id": 2704, "txt": ").", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 66, "global_sentence_id": 87, "edu_l1_label": "IOS"}, {"txt": " Messages are sent to the generator first, then the pair run in a loop until either the evaluator is satisfied with the quality, or the maximum number of refinements is reached.", "language": "english", "position": {"atoms": [{"position_id": 2705, "txt": " Messages are sent to the generator first, then the pair run in a loop until either the evaluator is satisfied with the quality, or the maximum number of refinements is reached.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 66, "global_sentence_id": 88, "edu_l1_label": "IOS"}, {"txt": " The final result from the Generator is returned.", "language": "english", "position": {"atoms": [{"position_id": 2706, "txt": " The final result from the Generator is returned.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[31]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 66, "global_sentence_id": 89, "edu_l1_label": "IOS"}, {"txt": "If the Generator has use_history off, the previous iteration is returned when asking for improvements - otherwise conversational context is used.", "language": "english", "position": {"atoms": [{"position_id": 2708, "txt": "If the Generator has ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[32]"}, {"position_id": 2710, "txt": "use_history", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[32]/code"}, {"position_id": 2712, "txt": " off, the previous iteration is returned when asking for improvements - otherwise conversational context is used.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[32]/code"}]}, "tags": [], "label": "content", "web_segment_id": 67, "global_sentence_id": 90, "edu_l1_label": "IOS"}, {"txt": "@fast.evaluator_optimizer(name=\"researcher\"generator=\"web_searcher\"evaluator=\"quality_assurance\"min_rating=\"EXCELLENT\"max_refinements=3)asyncwithfast.run() asagent:", "language": "english", "position": {"atoms": [{"position_id": 2714, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[1]"}, {"position_id": 2716, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[1]/span[1]"}, {"position_id": 2718, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[1]/span[1]"}, {"position_id": 2720, "txt": "evaluator_optimizer", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[1]/span[2]"}, {"position_id": 2722, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[1]/span[2]"}, {"position_id": 2724, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[2]/span[1]"}, {"position_id": 2726, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[2]/span[2]"}, {"position_id": 2728, "txt": "\"researcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[2]/span[3]"}, {"position_id": 2730, "txt": "generator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[3]/span[1]"}, {"position_id": 2732, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[3]/span[2]"}, {"position_id": 2734, "txt": "\"web_searcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[3]/span[3]"}, {"position_id": 2736, "txt": "evaluator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[4]/span[1]"}, {"position_id": 2738, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[4]/span[2]"}, {"position_id": 2740, "txt": "\"quality_assurance\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[4]/span[3]"}, {"position_id": 2742, "txt": "min_rating", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[5]/span[1]"}, {"position_id": 2744, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[5]/span[2]"}, {"position_id": 2746, "txt": "\"EXCELLENT\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[5]/span[3]"}, {"position_id": 2748, "txt": "max_refinements", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[6]/span[1]"}, {"position_id": 2750, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[6]/span[2]"}, {"position_id": 2752, "txt": "3", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[6]/span[3]"}, {"position_id": 2754, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[7]"}, {"position_id": 2756, "txt": "async", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[8]"}, {"position_id": 2758, "txt": "with", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[9]"}, {"position_id": 2760, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[10]"}, {"position_id": 2762, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[10]"}, {"position_id": 2764, "txt": "run", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[11]"}, {"position_id": 2766, "txt": "() ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[11]"}, {"position_id": 2768, "txt": "as", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[12]"}, {"position_id": 2770, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[13]"}, {"position_id": 2772, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[13]"}]}, "tags": [], "label": "code", "web_segment_id": 68, "global_sentence_id": 91, "edu_l1_label": "IOS"}, {"txt": "  awaitagent.researcher.send(\"produce a report on how to make the perfect espresso\")", "language": "english", "position": {"atoms": [{"position_id": 2773, "txt": "\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[13]"}, {"position_id": 2775, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[14]"}, {"position_id": 2777, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[15]"}, {"position_id": 2779, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[15]"}, {"position_id": 2781, "txt": "researcher", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[16]"}, {"position_id": 2783, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[16]"}, {"position_id": 2785, "txt": "send", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[17]"}, {"position_id": 2787, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[17]"}, {"position_id": 2789, "txt": "\"produce a report on how to make the perfect espresso\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[18]"}, {"position_id": 2791, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[24]/pre/span[18]"}]}, "tags": [], "label": "code", "web_segment_id": 68, "global_sentence_id": 92, "edu_l1_label": "IOS"}, {"txt": "When used in a workflow, it returns the last generator message as the result.", "language": "english", "position": {"atoms": [{"position_id": 2793, "txt": "When used in a workflow, it returns the last ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[33]"}, {"position_id": 2795, "txt": "generator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[33]/code"}, {"position_id": 2797, "txt": " message as the result.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[33]/code"}]}, "tags": [], "label": "content", "web_segment_id": 70, "global_sentence_id": 93, "edu_l1_label": "IOS"}, {"txt": "See the evaluator.py workflow example, or fast-agent quickstart researcher for a more complete example.", "language": "english", "position": {"atoms": [{"position_id": 2799, "txt": "See the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[34]"}, {"position_id": 2801, "txt": "evaluator.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[34]/code[1]"}, {"position_id": 2803, "txt": " workflow example, or ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[34]/code[1]"}, {"position_id": 2805, "txt": "fast-agent quickstart researcher", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[34]/code[2]"}, {"position_id": 2807, "txt": " for a more complete example.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[34]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 71, "global_sentence_id": 94, "edu_l1_label": "IOS"}, {"txt": "Router", "language": "english", "position": {"atoms": [{"position_id": 2809, "txt": "Router", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[25]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 72, "global_sentence_id": 95, "edu_l1_label": "IOS"}, {"txt": "Routers use an LLM to assess a message, and route it to the most appropriate Agent.", "language": "english", "position": {"atoms": [{"position_id": 2811, "txt": "Routers use an LLM to assess a message, and route it to the most appropriate Agent.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[35]"}]}, "tags": [], "label": "content", "web_segment_id": 73, "global_sentence_id": 96, "edu_l1_label": "IOS"}, {"txt": " The routing prompt is automatically generated based on the Agent instructions and available Servers.", "language": "english", "position": {"atoms": [{"position_id": 2812, "txt": " The routing prompt is automatically generated based on the Agent instructions and available Servers.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[35]"}]}, "tags": [], "label": "content", "web_segment_id": 73, "global_sentence_id": 97, "edu_l1_label": "IOS"}, {"txt": "@fast.router(name=\"route\"agents[\"agent1\",\"agent2\",\"agent3\"])", "language": "english", "position": {"atoms": [{"position_id": 2814, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[1]"}, {"position_id": 2816, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[1]/span[1]"}, {"position_id": 2818, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[1]/span[1]"}, {"position_id": 2820, "txt": "router", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[1]/span[2]"}, {"position_id": 2822, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[1]/span[2]"}, {"position_id": 2824, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[2]/span[1]"}, {"position_id": 2826, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[2]/span[2]"}, {"position_id": 2828, "txt": "\"route\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[2]/span[3]"}, {"position_id": 2830, "txt": "agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[1]"}, {"position_id": 2832, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[1]"}, {"position_id": 2834, "txt": "\"agent1\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[2]"}, {"position_id": 2836, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[2]"}, {"position_id": 2838, "txt": "\"agent2\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[3]"}, {"position_id": 2840, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[3]"}, {"position_id": 2842, "txt": "\"agent3\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[4]"}, {"position_id": 2844, "txt": "]", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[3]/span[4]"}, {"position_id": 2846, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[26]/pre/span[4]"}]}, "tags": [], "label": "code", "web_segment_id": 74, "global_sentence_id": 98, "edu_l1_label": "EDU_O"}, {"txt": "Look at the router.py workflow for an example.", "language": "english", "position": {"atoms": [{"position_id": 2848, "txt": "Look at the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[36]"}, {"position_id": 2850, "txt": "router.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[36]/code"}, {"position_id": 2852, "txt": " workflow for an example.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[36]/code"}]}, "tags": [], "label": "content", "web_segment_id": 76, "global_sentence_id": 99, "edu_l1_label": "IOS"}, {"txt": "Orchestrator", "language": "english", "position": {"atoms": [{"position_id": 2854, "txt": "Orchestrator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[27]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 77, "global_sentence_id": 100, "edu_l1_label": "IOS"}, {"txt": "Given a complex task, the Orchestrator uses an LLM to generate a plan to divide the task amongst the available Agents.", "language": "english", "position": {"atoms": [{"position_id": 2856, "txt": "Given a complex task, the Orchestrator uses an LLM to generate a plan to divide the task amongst the available Agents.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]"}]}, "tags": [], "label": "content", "web_segment_id": 78, "global_sentence_id": 101, "edu_l1_label": "IOS"}, {"txt": " The planning and aggregation prompts are generated by the Orchestrator, which benefits from using more capable models.", "language": "english", "position": {"atoms": [{"position_id": 2857, "txt": " The planning and aggregation prompts are generated by the Orchestrator, which benefits from using more capable models.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]"}]}, "tags": [], "label": "content", "web_segment_id": 78, "global_sentence_id": 102, "edu_l1_label": "IOS"}, {"txt": " Plans can either be built once at the beginning (plantype=\"full\") or iteratively (plantype=\"iterative\").", "language": "english", "position": {"atoms": [{"position_id": 2858, "txt": " Plans can either be built once at the beginning (", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]"}, {"position_id": 2860, "txt": "plantype=\"full\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]/code[1]"}, {"position_id": 2862, "txt": ") or iteratively (", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]/code[1]"}, {"position_id": 2864, "txt": "plantype=\"iterative\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]/code[2]"}, {"position_id": 2866, "txt": ").", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[37]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 78, "global_sentence_id": 103, "edu_l1_label": "IOS"}, {"txt": "@fast.orchestrator(name=\"orchestrate\"agents=[\"task1\",\"task2\",\"task3\"])", "language": "english", "position": {"atoms": [{"position_id": 2868, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[1]"}, {"position_id": 2870, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[1]/span[1]"}, {"position_id": 2872, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[1]/span[1]"}, {"position_id": 2874, "txt": "orchestrator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[1]/span[2]"}, {"position_id": 2876, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[1]/span[2]"}, {"position_id": 2878, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[2]/span[1]"}, {"position_id": 2880, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[2]/span[2]"}, {"position_id": 2882, "txt": "\"orchestrate\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[2]/span[3]"}, {"position_id": 2884, "txt": "agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[1]"}, {"position_id": 2886, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[2]"}, {"position_id": 2888, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[2]"}, {"position_id": 2890, "txt": "\"task1\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[3]"}, {"position_id": 2892, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[3]"}, {"position_id": 2894, "txt": "\"task2\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[4]"}, {"position_id": 2896, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[4]"}, {"position_id": 2898, "txt": "\"task3\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[5]"}, {"position_id": 2900, "txt": "]", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[3]/span[5]"}, {"position_id": 2902, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[28]/pre/span[4]"}]}, "tags": [], "label": "code", "web_segment_id": 79, "global_sentence_id": 104, "edu_l1_label": "EDU_O"}, {"txt": "See the orchestrator.py or agent_build.py workflow example.", "language": "english", "position": {"atoms": [{"position_id": 2904, "txt": "See the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[38]"}, {"position_id": 2906, "txt": "orchestrator.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[38]/code[1]"}, {"position_id": 2908, "txt": " or ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[38]/code[1]"}, {"position_id": 2910, "txt": "agent_build.py", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[38]/code[2]"}, {"position_id": 2912, "txt": " workflow example.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[38]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 81, "global_sentence_id": 105, "edu_l1_label": "IOS"}, {"txt": "Agent Features", "language": "english", "position": {"atoms": [{"position_id": 2914, "txt": "Agent Features", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[29]/h2"}]}, "tags": ["h2"], "label": "title1", "web_segment_id": 82, "global_sentence_id": 106, "edu_l1_label": "BOS"}, {"txt": "Calling Agents", "language": "english", "position": {"atoms": [{"position_id": 2916, "txt": "Calling Agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[30]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 83, "global_sentence_id": 107, "edu_l1_label": "IOS"}, {"txt": "All definitions allow omitting the name and instructions arguments for brevity:", "language": "english", "position": {"atoms": [{"position_id": 2918, "txt": "All definitions allow omitting the name and instructions arguments for brevity:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[39]"}]}, "tags": [], "label": "content", "web_segment_id": 84, "global_sentence_id": 108, "edu_l1_label": "IOS"}, {"txt": "@fast.agent(\"You are a helpful agent\")          # Create an agent with a default name.@fast.agent(\"greeter\",\"Respond cheerfully!\")    # Create an agent with the name \"greeter\"moon_size=awaitagent(\"the moon\")             # Call the default (first defined agent) with a messageresult=awaitagent.greeter(\"Good morning!\")   # Send a message to an agent by name using dot notationresult=awaitagent.greeter.send(\"Hello!\")     # You can call 'send' explicitlyawaitagent.greeter()                           # If no message is specified, a chat session will openawaitagent.greeter.prompt()                    # that can be made more explicitawaitagent.greeter.prompt(default_prompt=\"OK\") # and supports setting a default promptagent[\"greeter\"].send(\"Good Evening!\")          # Dictionary access is supported if preferred", "language": "english", "position": {"atoms": [{"position_id": 2920, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]"}, {"position_id": 2922, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[1]"}, {"position_id": 2924, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[1]"}, {"position_id": 2926, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[2]"}, {"position_id": 2928, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[2]"}, {"position_id": 2930, "txt": "\"You are a helpful agent\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[3]"}, {"position_id": 2932, "txt": ")          ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[3]"}, {"position_id": 2934, "txt": "# Create an agent with a default name.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[1]/span[4]"}, {"position_id": 2936, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]"}, {"position_id": 2938, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[1]"}, {"position_id": 2940, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[1]"}, {"position_id": 2942, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[2]"}, {"position_id": 2944, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[2]"}, {"position_id": 2946, "txt": "\"greeter\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[3]"}, {"position_id": 2948, "txt": ",", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[3]"}, {"position_id": 2950, "txt": "\"Respond cheerfully!\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[4]"}, {"position_id": 2952, "txt": ")    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[4]"}, {"position_id": 2954, "txt": "# Create an agent with the name \"greeter\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[2]/span[5]"}, {"position_id": 2956, "txt": "moon_size", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[3]"}, {"position_id": 2958, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[4]"}, {"position_id": 2960, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[5]"}, {"position_id": 2962, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[6]"}, {"position_id": 2964, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[6]"}, {"position_id": 2966, "txt": "\"the moon\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[7]"}, {"position_id": 2968, "txt": ")             ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[7]"}, {"position_id": 2970, "txt": "# Call the default (first defined agent) with a message", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[8]"}, {"position_id": 2972, "txt": "result", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[9]"}, {"position_id": 2974, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[10]"}, {"position_id": 2976, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[11]"}, {"position_id": 2978, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[12]"}, {"position_id": 2980, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[12]"}, {"position_id": 2982, "txt": "greeter", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[13]"}, {"position_id": 2984, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[13]"}, {"position_id": 2986, "txt": "\"Good morning!\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[14]"}, {"position_id": 2988, "txt": ")   ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[14]"}, {"position_id": 2990, "txt": "# Send a message to an agent by name using dot notation", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[15]"}, {"position_id": 2992, "txt": "result", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[16]"}, {"position_id": 2994, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[17]"}, {"position_id": 2996, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[18]"}, {"position_id": 2998, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[19]"}, {"position_id": 3000, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[19]"}, {"position_id": 3002, "txt": "greeter", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[20]"}, {"position_id": 3004, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[20]"}, {"position_id": 3006, "txt": "send", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[21]"}, {"position_id": 3008, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[21]"}, {"position_id": 3010, "txt": "\"Hello!\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[22]"}, {"position_id": 3012, "txt": ")     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[22]"}, {"position_id": 3014, "txt": "# You can call 'send' explicitly", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[23]"}, {"position_id": 3016, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[24]"}, {"position_id": 3018, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[25]"}, {"position_id": 3020, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[25]"}, {"position_id": 3022, "txt": "greeter", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[26]"}, {"position_id": 3024, "txt": "()                           ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[26]"}, {"position_id": 3026, "txt": "# If no message is specified, a chat session will open", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[27]"}, {"position_id": 3028, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[28]"}, {"position_id": 3030, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[29]"}, {"position_id": 3032, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[29]"}, {"position_id": 3034, "txt": "greeter", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[30]"}, {"position_id": 3036, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[30]"}, {"position_id": 3038, "txt": "prompt", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[31]"}, {"position_id": 3040, "txt": "()                    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[31]"}, {"position_id": 3042, "txt": "# that can be made more explicit", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[32]"}, {"position_id": 3044, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[33]"}, {"position_id": 3046, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[34]"}, {"position_id": 3048, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[34]"}, {"position_id": 3050, "txt": "greeter", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[35]"}, {"position_id": 3052, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[35]"}, {"position_id": 3054, "txt": "prompt", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[36]"}, {"position_id": 3056, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[36]"}, {"position_id": 3058, "txt": "default_prompt", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[37]"}, {"position_id": 3060, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[38]"}, {"position_id": 3062, "txt": "\"OK\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[39]"}, {"position_id": 3064, "txt": ") ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[39]"}, {"position_id": 3066, "txt": "# and supports setting a default prompt", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[40]"}, {"position_id": 3068, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[41]"}, {"position_id": 3070, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[41]"}, {"position_id": 3072, "txt": "\"greeter\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[42]"}, {"position_id": 3074, "txt": "].", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[42]"}, {"position_id": 3076, "txt": "send", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[43]"}, {"position_id": 3078, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[43]"}, {"position_id": 3080, "txt": "\"Good Evening!\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[44]"}, {"position_id": 3082, "txt": ")          ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[44]"}, {"position_id": 3084, "txt": "# Dictionary access is supported if preferred", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[31]/pre/span[45]"}]}, "tags": [], "label": "code", "web_segment_id": 85, "global_sentence_id": 109, "edu_l1_label": "EDU_O"}, {"txt": "Defining Agents", "language": "english", "position": {"atoms": [{"position_id": 3086, "txt": "Defining Agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[32]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 87, "global_sentence_id": 110, "edu_l1_label": "IOS"}, {"txt": "Basic Agent", "language": "english", "position": {"atoms": [{"position_id": 3088, "txt": "Basic Agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[33]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 88, "global_sentence_id": 111, "edu_l1_label": "IOS"}, {"txt": "@fast.agent(  name=\"agent\",                          # name of the agentinstruction=\"You are a helpful Agent\", # base instruction for the agentservers=[\"filesystem\"],                # list of MCP Servers for the agentmodel=\"o3-mini.high\",                  # specify a model for the agentuse_history=True,                      # agent maintains chat historyrequest_params=RequestParams(temperature=0.7)), # additional parameters for the LLM (or RequestParams())human_input=True,                      # agent can request human input)", "language": "english", "position": {"atoms": [{"position_id": 3090, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre"}, {"position_id": 3092, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[1]"}, {"position_id": 3094, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[1]"}, {"position_id": 3096, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[2]"}, {"position_id": 3098, "txt": "(\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[2]"}, {"position_id": 3100, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[3]"}, {"position_id": 3102, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[4]"}, {"position_id": 3104, "txt": "\"agent\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[5]"}, {"position_id": 3106, "txt": ",                          ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[5]"}, {"position_id": 3108, "txt": "# name of the agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[6]"}, {"position_id": 3110, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[7]"}, {"position_id": 3112, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[8]"}, {"position_id": 3114, "txt": "\"You are a helpful Agent\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[9]"}, {"position_id": 3116, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[9]"}, {"position_id": 3118, "txt": "# base instruction for the agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[10]"}, {"position_id": 3120, "txt": "servers", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[11]"}, {"position_id": 3122, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[12]"}, {"position_id": 3124, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[12]"}, {"position_id": 3126, "txt": "\"filesystem\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[13]"}, {"position_id": 3128, "txt": "],                ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[13]"}, {"position_id": 3130, "txt": "# list of MCP Servers for the agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[14]"}, {"position_id": 3132, "txt": "model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[15]"}, {"position_id": 3134, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[16]"}, {"position_id": 3136, "txt": "\"o3-mini.high\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[17]"}, {"position_id": 3138, "txt": ",                  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[17]"}, {"position_id": 3140, "txt": "# specify a model for the agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[18]"}, {"position_id": 3142, "txt": "use_history", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[19]"}, {"position_id": 3144, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[20]"}, {"position_id": 3146, "txt": "True", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[21]"}, {"position_id": 3148, "txt": ",                      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[21]"}, {"position_id": 3150, "txt": "# agent maintains chat history", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[22]"}, {"position_id": 3152, "txt": "request_params", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[23]"}, {"position_id": 3154, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[24]"}, {"position_id": 3156, "txt": "RequestParams", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[25]"}, {"position_id": 3158, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[25]"}, {"position_id": 3160, "txt": "temperature", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[26]"}, {"position_id": 3162, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[27]"}, {"position_id": 3164, "txt": "0.7", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[28]"}, {"position_id": 3166, "txt": ")), ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[28]"}, {"position_id": 3168, "txt": "# additional parameters for the LLM (or RequestParams())", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[29]"}, {"position_id": 3170, "txt": "human_input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[30]"}, {"position_id": 3172, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[31]"}, {"position_id": 3174, "txt": "True", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[32]"}, {"position_id": 3176, "txt": ",                      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[32]"}, {"position_id": 3178, "txt": "# agent can request human input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[33]"}, {"position_id": 3180, "txt": "\n)", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[34]/pre/span[33]"}]}, "tags": [], "label": "code", "web_segment_id": 89, "global_sentence_id": 112, "edu_l1_label": "EDU_O"}, {"txt": "Chain", "language": "english", "position": {"atoms": [{"position_id": 3182, "txt": "Chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[35]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 91, "global_sentence_id": 113, "edu_l1_label": "IOS"}, {"txt": "@fast.chain(name=\"chain\",                          # name of the chainsequence=[\"agent1\", \"agent2\", ...],    # list of agents in execution orderinstruction=\"instruction\",             # instruction to describe the chain for other workflowscumulative=False# whether to accumulate messages through the chaincontinue_with_final=True,              # open chat with agent at end of chain after prompting)", "language": "english", "position": {"atoms": [{"position_id": 3184, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[1]"}, {"position_id": 3186, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[1]/span[1]"}, {"position_id": 3188, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[1]/span[1]"}, {"position_id": 3190, "txt": "chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[1]/span[2]"}, {"position_id": 3192, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[1]/span[2]"}, {"position_id": 3194, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[2]/span[1]"}, {"position_id": 3196, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[2]/span[2]"}, {"position_id": 3198, "txt": "\"chain\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[2]/span[3]"}, {"position_id": 3200, "txt": ",                          ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[2]/span[3]"}, {"position_id": 3202, "txt": "# name of the chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[2]/span[4]"}, {"position_id": 3204, "txt": "sequence", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[1]"}, {"position_id": 3206, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[2]"}, {"position_id": 3208, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[2]"}, {"position_id": 3210, "txt": "\"agent1\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[3]"}, {"position_id": 3212, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[3]"}, {"position_id": 3214, "txt": "\"agent2\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[4]"}, {"position_id": 3216, "txt": ", ...],    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[4]"}, {"position_id": 3218, "txt": "# list of agents in execution order", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[3]/span[5]"}, {"position_id": 3220, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[4]/span[1]"}, {"position_id": 3222, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[4]/span[2]"}, {"position_id": 3224, "txt": "\"instruction\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[4]/span[3]"}, {"position_id": 3226, "txt": ",             ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[4]/span[3]"}, {"position_id": 3228, "txt": "# instruction to describe the chain for other workflows", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[4]/span[4]"}, {"position_id": 3230, "txt": "cumulative", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[5]/span[1]"}, {"position_id": 3232, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[5]/span[2]"}, {"position_id": 3234, "txt": "False", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[5]/span[3]"}, {"position_id": 3236, "txt": "# whether to accumulate messages through the chain", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[5]/span[4]"}, {"position_id": 3238, "txt": "continue_with_final", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[6]/span[1]"}, {"position_id": 3240, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[6]/span[2]"}, {"position_id": 3242, "txt": "True", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[6]/span[3]"}, {"position_id": 3244, "txt": ",              ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[6]/span[3]"}, {"position_id": 3246, "txt": "# open chat with agent at end of chain after prompting", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[6]/span[4]"}, {"position_id": 3248, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[36]/pre/span[7]"}]}, "tags": [], "label": "code", "web_segment_id": 92, "global_sentence_id": 114, "edu_l1_label": "EDU_O"}, {"txt": "Parallel", "language": "english", "position": {"atoms": [{"position_id": 3250, "txt": "Parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[37]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 94, "global_sentence_id": 115, "edu_l1_label": "IOS"}, {"txt": "@fast.parallel(name=\"parallel\",                       # name of the parallel workflowfan_out=[\"agent1\", \"agent2\"],          # list of agents to run in parallelfan_in=\"aggregator\",                   # name of agent that combines results (optional)instruction=\"instruction\",             # instruction to describe the parallel for other workflowsinclude_request=True,                  # include original request in fan-in message)", "language": "english", "position": {"atoms": [{"position_id": 3252, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[1]"}, {"position_id": 3254, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[1]/span[1]"}, {"position_id": 3256, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[1]/span[1]"}, {"position_id": 3258, "txt": "parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[1]/span[2]"}, {"position_id": 3260, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[1]/span[2]"}, {"position_id": 3262, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[2]/span[1]"}, {"position_id": 3264, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[2]/span[2]"}, {"position_id": 3266, "txt": "\"parallel\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[2]/span[3]"}, {"position_id": 3268, "txt": ",                       ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[2]/span[3]"}, {"position_id": 3270, "txt": "# name of the parallel workflow", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[2]/span[4]"}, {"position_id": 3272, "txt": "fan_out", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[1]"}, {"position_id": 3274, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[2]"}, {"position_id": 3276, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[2]"}, {"position_id": 3278, "txt": "\"agent1\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[3]"}, {"position_id": 3280, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[3]"}, {"position_id": 3282, "txt": "\"agent2\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[4]"}, {"position_id": 3284, "txt": "],          ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[4]"}, {"position_id": 3286, "txt": "# list of agents to run in parallel", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[3]/span[5]"}, {"position_id": 3288, "txt": "fan_in", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[4]/span[1]"}, {"position_id": 3290, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[4]/span[2]"}, {"position_id": 3292, "txt": "\"aggregator\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[4]/span[3]"}, {"position_id": 3294, "txt": ",                   ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[4]/span[3]"}, {"position_id": 3296, "txt": "# name of agent that combines results (optional)", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[4]/span[4]"}, {"position_id": 3298, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[5]/span[1]"}, {"position_id": 3300, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[5]/span[2]"}, {"position_id": 3302, "txt": "\"instruction\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[5]/span[3]"}, {"position_id": 3304, "txt": ",             ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[5]/span[3]"}, {"position_id": 3306, "txt": "# instruction to describe the parallel for other workflows", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[5]/span[4]"}, {"position_id": 3308, "txt": "include_request", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[6]/span[1]"}, {"position_id": 3310, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[6]/span[2]"}, {"position_id": 3312, "txt": "True", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[6]/span[3]"}, {"position_id": 3314, "txt": ",                  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[6]/span[3]"}, {"position_id": 3316, "txt": "# include original request in fan-in message", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[6]/span[4]"}, {"position_id": 3318, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[38]/pre/span[7]"}]}, "tags": [], "label": "code", "web_segment_id": 95, "global_sentence_id": 116, "edu_l1_label": "EDU_O"}, {"txt": "Evaluator-Optimizer", "language": "english", "position": {"atoms": [{"position_id": 3320, "txt": "Evaluator-Optimizer", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[39]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 97, "global_sentence_id": 117, "edu_l1_label": "IOS"}, {"txt": "@fast.evaluator_optimizer(name=\"researcher\",                     # name of the workflowgenerator=\"web_searcher\",              # name of the content generator agentevaluator=\"quality_assurance\",         # name of the evaluator agentmin_rating=\"GOOD\",                     # minimum acceptable quality (EXCELLENT, GOOD, FAIR, POOR)max_refinements=3,                     # maximum number of refinement iterations)", "language": "english", "position": {"atoms": [{"position_id": 3322, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[1]"}, {"position_id": 3324, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[1]/span[1]"}, {"position_id": 3326, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[1]/span[1]"}, {"position_id": 3328, "txt": "evaluator_optimizer", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[1]/span[2]"}, {"position_id": 3330, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[1]/span[2]"}, {"position_id": 3332, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[2]/span[1]"}, {"position_id": 3334, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[2]/span[2]"}, {"position_id": 3336, "txt": "\"researcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[2]/span[3]"}, {"position_id": 3338, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[2]/span[3]"}, {"position_id": 3340, "txt": "# name of the workflow", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[2]/span[4]"}, {"position_id": 3342, "txt": "generator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[3]/span[1]"}, {"position_id": 3344, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[3]/span[2]"}, {"position_id": 3346, "txt": "\"web_searcher\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[3]/span[3]"}, {"position_id": 3348, "txt": ",              ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[3]/span[3]"}, {"position_id": 3350, "txt": "# name of the content generator agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[3]/span[4]"}, {"position_id": 3352, "txt": "evaluator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[4]/span[1]"}, {"position_id": 3354, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[4]/span[2]"}, {"position_id": 3356, "txt": "\"quality_assurance\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[4]/span[3]"}, {"position_id": 3358, "txt": ",         ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[4]/span[3]"}, {"position_id": 3360, "txt": "# name of the evaluator agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[4]/span[4]"}, {"position_id": 3362, "txt": "min_rating", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[5]/span[1]"}, {"position_id": 3364, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[5]/span[2]"}, {"position_id": 3366, "txt": "\"GOOD\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[5]/span[3]"}, {"position_id": 3368, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[5]/span[3]"}, {"position_id": 3370, "txt": "# minimum acceptable quality (EXCELLENT, GOOD, FAIR, POOR)", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[5]/span[4]"}, {"position_id": 3372, "txt": "max_refinements", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[6]/span[1]"}, {"position_id": 3374, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[6]/span[2]"}, {"position_id": 3376, "txt": "3", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[6]/span[3]"}, {"position_id": 3378, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[6]/span[3]"}, {"position_id": 3380, "txt": "# maximum number of refinement iterations", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[6]/span[4]"}, {"position_id": 3382, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[40]/pre/span[7]"}]}, "tags": [], "label": "code", "web_segment_id": 98, "global_sentence_id": 118, "edu_l1_label": "EDU_O"}, {"txt": "Router", "language": "english", "position": {"atoms": [{"position_id": 3384, "txt": "Router", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[41]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 100, "global_sentence_id": 119, "edu_l1_label": "IOS"}, {"txt": "@fast.router(name=\"route\",                          # name of the routeragents=[\"agent1\", \"agent2\", \"agent3\"], # list of agent names router can delegate tomodel=\"o3-mini.high\",                  # specify routing modeluse_history=False,                     # router maintains conversation historyhuman_input=False,                     # whether router can request human input)", "language": "english", "position": {"atoms": [{"position_id": 3386, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[1]"}, {"position_id": 3388, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[1]/span[1]"}, {"position_id": 3390, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[1]/span[1]"}, {"position_id": 3392, "txt": "router", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[1]/span[2]"}, {"position_id": 3394, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[1]/span[2]"}, {"position_id": 3396, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[2]/span[1]"}, {"position_id": 3398, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[2]/span[2]"}, {"position_id": 3400, "txt": "\"route\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[2]/span[3]"}, {"position_id": 3402, "txt": ",                          ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[2]/span[3]"}, {"position_id": 3404, "txt": "# name of the router", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[2]/span[4]"}, {"position_id": 3406, "txt": "agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[1]"}, {"position_id": 3408, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[2]"}, {"position_id": 3410, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[2]"}, {"position_id": 3412, "txt": "\"agent1\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[3]"}, {"position_id": 3414, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[3]"}, {"position_id": 3416, "txt": "\"agent2\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[4]"}, {"position_id": 3418, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[4]"}, {"position_id": 3420, "txt": "\"agent3\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[5]"}, {"position_id": 3422, "txt": "], ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[5]"}, {"position_id": 3424, "txt": "# list of agent names router can delegate to", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[3]/span[6]"}, {"position_id": 3426, "txt": "model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[4]/span[1]"}, {"position_id": 3428, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[4]/span[2]"}, {"position_id": 3430, "txt": "\"o3-mini.high\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[4]/span[3]"}, {"position_id": 3432, "txt": ",                  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[4]/span[3]"}, {"position_id": 3434, "txt": "# specify routing model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[4]/span[4]"}, {"position_id": 3436, "txt": "use_history", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[5]/span[1]"}, {"position_id": 3438, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[5]/span[2]"}, {"position_id": 3440, "txt": "False", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[5]/span[3]"}, {"position_id": 3442, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[5]/span[3]"}, {"position_id": 3444, "txt": "# router maintains conversation history", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[5]/span[4]"}, {"position_id": 3446, "txt": "human_input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[6]/span[1]"}, {"position_id": 3448, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[6]/span[2]"}, {"position_id": 3450, "txt": "False", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[6]/span[3]"}, {"position_id": 3452, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[6]/span[3]"}, {"position_id": 3454, "txt": "# whether router can request human input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[6]/span[4]"}, {"position_id": 3456, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[42]/pre/span[7]"}]}, "tags": [], "label": "code", "web_segment_id": 101, "global_sentence_id": 120, "edu_l1_label": "EDU_O"}, {"txt": "Orchestrator", "language": "english", "position": {"atoms": [{"position_id": 3458, "txt": "Orchestrator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[43]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 103, "global_sentence_id": 121, "edu_l1_label": "IOS"}, {"txt": "@fast.orchestrator(name=\"orchestrator\",                   # name of the orchestratorinstruction=\"instruction\",             # base instruction for the orchestratoragents=[\"agent1\", \"agent2\"],           # list of agent names this orchestrator can usemodel=\"o3-mini.high\",                  # specify orchestrator planning modeluse_history=False,                     # orchestrator doesn't maintain chat history (no effect).human_input=False,                     # whether orchestrator can request human inputplan_type=\"full\",                      # planning approach: \"", "language": "english", "position": {"atoms": [{"position_id": 3460, "txt": "@", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[1]"}, {"position_id": 3462, "txt": "fast", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[1]/span[1]"}, {"position_id": 3464, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[1]/span[1]"}, {"position_id": 3466, "txt": "orchestrator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[1]/span[2]"}, {"position_id": 3468, "txt": "(", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[1]/span[2]"}, {"position_id": 3470, "txt": "name", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[2]/span[1]"}, {"position_id": 3472, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[2]/span[2]"}, {"position_id": 3474, "txt": "\"orchestrator\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[2]/span[3]"}, {"position_id": 3476, "txt": ",                   ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[2]/span[3]"}, {"position_id": 3478, "txt": "# name of the orchestrator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[2]/span[4]"}, {"position_id": 3480, "txt": "instruction", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[3]/span[1]"}, {"position_id": 3482, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[3]/span[2]"}, {"position_id": 3484, "txt": "\"instruction\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[3]/span[3]"}, {"position_id": 3486, "txt": ",             ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[3]/span[3]"}, {"position_id": 3488, "txt": "# base instruction for the orchestrator", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[3]/span[4]"}, {"position_id": 3490, "txt": "agents", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[1]"}, {"position_id": 3492, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[2]"}, {"position_id": 3494, "txt": "[", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[2]"}, {"position_id": 3496, "txt": "\"agent1\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[3]"}, {"position_id": 3498, "txt": ", ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[3]"}, {"position_id": 3500, "txt": "\"agent2\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[4]"}, {"position_id": 3502, "txt": "],           ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[4]"}, {"position_id": 3504, "txt": "# list of agent names this orchestrator can use", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[4]/span[5]"}, {"position_id": 3506, "txt": "model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[5]/span[1]"}, {"position_id": 3508, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[5]/span[2]"}, {"position_id": 3510, "txt": "\"o3-mini.high\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[5]/span[3]"}, {"position_id": 3512, "txt": ",                  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[5]/span[3]"}, {"position_id": 3514, "txt": "# specify orchestrator planning model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[5]/span[4]"}, {"position_id": 3516, "txt": "use_history", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[6]/span[1]"}, {"position_id": 3518, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[6]/span[2]"}, {"position_id": 3520, "txt": "False", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[6]/span[3]"}, {"position_id": 3522, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[6]/span[3]"}, {"position_id": 3524, "txt": "# orchestrator doesn't maintain chat history (no effect).", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[6]/span[4]"}, {"position_id": 3526, "txt": "human_input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[7]/span[1]"}, {"position_id": 3528, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[7]/span[2]"}, {"position_id": 3530, "txt": "False", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[7]/span[3]"}, {"position_id": 3532, "txt": ",                     ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[7]/span[3]"}, {"position_id": 3534, "txt": "# whether orchestrator can request human input", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[7]/span[4]"}, {"position_id": 3536, "txt": "plan_type", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[8]/span[1]"}, {"position_id": 3538, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[8]/span[2]"}, {"position_id": 3540, "txt": "\"full\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[8]/span[3]"}, {"position_id": 3542, "txt": ",                      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[8]/span[3]"}, {"position_id": 3544, "txt": "# planning approach: \"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[8]/span[4]"}]}, "tags": [], "label": "code", "web_segment_id": 104, "global_sentence_id": 122, "edu_l1_label": "EDU_O"}, {"txt": "full\" or \"iterative\"max_iterations=5,                      # maximum number of full plan attempts, or iterations)", "language": "english", "position": {"atoms": [{"position_id": 3545, "txt": "full\" or \"iterative\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[8]/span[4]"}, {"position_id": 3547, "txt": "max_iterations", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[9]/span[1]"}, {"position_id": 3549, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[9]/span[2]"}, {"position_id": 3551, "txt": "5", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[9]/span[3]"}, {"position_id": 3553, "txt": ",                      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[9]/span[3]"}, {"position_id": 3555, "txt": "# maximum number of full plan attempts, or iterations", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[9]/span[4]"}, {"position_id": 3557, "txt": ")", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[44]/pre/span[10]"}]}, "tags": [], "label": "code", "web_segment_id": 104, "global_sentence_id": 123, "edu_l1_label": "EDU_O"}, {"txt": "Multimodal Support", "language": "english", "position": {"atoms": [{"position_id": 3559, "txt": "Multimodal Support", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[45]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 106, "global_sentence_id": 124, "edu_l1_label": "IOS"}, {"txt": "Add Resources to prompts using either the inbuilt prompt-server or MCP Types directly.", "language": "english", "position": {"atoms": [{"position_id": 3561, "txt": "Add Resources to prompts using either the inbuilt ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[40]"}, {"position_id": 3563, "txt": "prompt-server", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[40]/code"}, {"position_id": 3565, "txt": " or MCP Types directly.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[40]/code"}]}, "tags": [], "label": "content", "web_segment_id": 107, "global_sentence_id": 125, "edu_l1_label": "IOS"}, {"txt": " Convenience class are made available to do so simply, for example:", "language": "english", "position": {"atoms": [{"position_id": 3566, "txt": " Convenience class are made available to do so simply, for example:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[40]/code"}]}, "tags": [], "label": "content", "web_segment_id": 107, "global_sentence_id": 126, "edu_l1_label": "IOS"}, {"txt": "summary:", "language": "english", "position": {"atoms": [{"position_id": 3568, "txt": "summary", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[1]"}, {"position_id": 3570, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[1]"}]}, "tags": [], "label": "code", "web_segment_id": 108, "global_sentence_id": 127, "edu_l1_label": "EDU_O"}, {"txt": " str=awaitagent.with_resource(      \"Summarise this PDF please\",      \"mcp_server\",      \"resource:", "language": "english", "position": {"atoms": [{"position_id": 3571, "txt": " ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[1]"}, {"position_id": 3573, "txt": "str", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[2]"}, {"position_id": 3575, "txt": "=", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[3]"}, {"position_id": 3577, "txt": "await", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[4]"}, {"position_id": 3579, "txt": "agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[5]"}, {"position_id": 3581, "txt": ".", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[5]"}, {"position_id": 3583, "txt": "with_resource", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[6]"}, {"position_id": 3585, "txt": "(\n      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[6]"}, {"position_id": 3587, "txt": "\"Summarise this PDF please\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[7]"}, {"position_id": 3589, "txt": ",\n      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[7]"}, {"position_id": 3591, "txt": "\"mcp_server\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[8]"}, {"position_id": 3593, "txt": ",\n      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[8]"}, {"position_id": 3595, "txt": "\"resource:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[9]"}]}, "tags": [], "label": "content", "web_segment_id": 108, "global_sentence_id": 128, "edu_l1_label": "EDU_O"}, {"txt": "//fast-agent/sample.pdf\",  )", "language": "english", "position": {"atoms": [{"position_id": 3596, "txt": "//fast-agent/sample.pdf\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[9]"}, {"position_id": 3598, "txt": ",\n  )", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[46]/pre/span[9]"}]}, "tags": [], "label": "content", "web_segment_id": 108, "global_sentence_id": 129, "edu_l1_label": "EDU_O"}, {"txt": "MCP Tool Result Conversion", "language": "english", "position": {"atoms": [{"position_id": 3600, "txt": "MCP Tool Result Conversion", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[47]/h4"}]}, "tags": ["h4"], "label": "title3", "web_segment_id": 110, "global_sentence_id": 130, "edu_l1_label": "IOS"}, {"txt": "LLM APIs have restrictions on the content types that can be returned as Tool Calls/Function results via their Chat Completions API's:", "language": "english", "position": {"atoms": [{"position_id": 3602, "txt": "LLM APIs have restrictions on the content types that can be returned as Tool Calls/Function results via their Chat Completions API's:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[41]"}]}, "tags": [], "label": "content", "web_segment_id": 111, "global_sentence_id": 131, "edu_l1_label": "IOS"}, {"txt": "OpenAI supports Text", "language": "english", "position": {"atoms": [{"position_id": 3604, "txt": "OpenAI supports Text", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/ul/li[1]"}]}, "tags": ["li"], "label": "content", "web_segment_id": 112, "global_sentence_id": 132, "edu_l1_label": "IOS"}, {"txt": "Anthropic supports Text and Image", "language": "english", "position": {"atoms": [{"position_id": 3606, "txt": "Anthropic supports Text and Image", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/ul/li[2]"}]}, "tags": ["li"], "label": "content", "web_segment_id": 113, "global_sentence_id": 133, "edu_l1_label": "IOS"}, {"txt": "For MCP Tool Results, ImageResources and EmbeddedResources are converted to User Messages and added to the conversation.", "language": "english", "position": {"atoms": [{"position_id": 3608, "txt": "For MCP Tool Results, ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[42]"}, {"position_id": 3610, "txt": "ImageResources", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[42]/code[1]"}, {"position_id": 3612, "txt": " and ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[42]/code[1]"}, {"position_id": 3614, "txt": "EmbeddedResources", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[42]/code[2]"}, {"position_id": 3616, "txt": " are converted to User Messages and added to the conversation.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[42]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 114, "global_sentence_id": 134, "edu_l1_label": "IOS"}, {"txt": "Prompts", "language": "english", "position": {"atoms": [{"position_id": 3618, "txt": "Prompts", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[48]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 115, "global_sentence_id": 135, "edu_l1_label": "IOS"}, {"txt": "MCP Prompts are supported with apply_prompt(name,arguments), which always returns an Assistant Message.", "language": "english", "position": {"atoms": [{"position_id": 3620, "txt": "MCP Prompts are supported with ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]"}, {"position_id": 3622, "txt": "apply_prompt(name,arguments)", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]/code[1]"}, {"position_id": 3624, "txt": ", which always returns an Assistant Message.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]/code[1]"}]}, "tags": [], "label": "content", "web_segment_id": 116, "global_sentence_id": 136, "edu_l1_label": "IOS"}, {"txt": " If the last message from the MCP Server is a 'User' message, it is sent to the LLM for processing.", "language": "english", "position": {"atoms": [{"position_id": 3625, "txt": " If the last message from the MCP Server is a 'User' message, it is sent to the LLM for processing.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]/code[1]"}]}, "tags": [], "label": "content", "web_segment_id": 116, "global_sentence_id": 137, "edu_l1_label": "IOS"}, {"txt": " Prompts applied to the Agent's Context are retained - meaning that with use_history=False, Agents can act as finely tuned responders.", "language": "english", "position": {"atoms": [{"position_id": 3626, "txt": " Prompts applied to the Agent's Context are retained - meaning that with ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]/code[1]"}, {"position_id": 3628, "txt": "use_history=False", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]/code[2]"}, {"position_id": 3630, "txt": ", Agents can act as finely tuned responders.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[43]/code[2]"}]}, "tags": [], "label": "content", "web_segment_id": 116, "global_sentence_id": 138, "edu_l1_label": "IOS"}, {"txt": "Prompts can also be applied interactively through the interactive interface by using the /prompt command.", "language": "english", "position": {"atoms": [{"position_id": 3632, "txt": "Prompts can also be applied interactively through the interactive interface by using the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[44]"}, {"position_id": 3634, "txt": "/prompt", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[44]/code"}, {"position_id": 3636, "txt": " command.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[44]/code"}]}, "tags": [], "label": "content", "web_segment_id": 117, "global_sentence_id": 139, "edu_l1_label": "IOS"}, {"txt": "Sampling", "language": "english", "position": {"atoms": [{"position_id": 3638, "txt": "Sampling", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[49]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 118, "global_sentence_id": 140, "edu_l1_label": "IOS"}, {"txt": "Sampling LLMs are configured per Client/Server pair.", "language": "english", "position": {"atoms": [{"position_id": 3640, "txt": "Sampling LLMs are configured per Client/Server pair.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[45]"}]}, "tags": [], "label": "content", "web_segment_id": 119, "global_sentence_id": 141, "edu_l1_label": "IOS"}, {"txt": " Specify the model name in fastagent.config.yaml as follows:", "language": "english", "position": {"atoms": [{"position_id": 3641, "txt": " Specify the model name in fastagent.config.yaml as follows:", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[45]"}]}, "tags": [], "label": "content", "web_segment_id": 119, "global_sentence_id": 142, "edu_l1_label": "IOS"}, {"txt": "mcp:", "language": "english", "position": {"atoms": [{"position_id": 3643, "txt": "mcp", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[1]"}, {"position_id": 3645, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[1]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 143, "edu_l1_label": "EDU_O"}, {"txt": "  servers:", "language": "english", "position": {"atoms": [{"position_id": 3646, "txt": "\n  ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[1]"}, {"position_id": 3648, "txt": "servers", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[2]"}, {"position_id": 3650, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[2]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 144, "edu_l1_label": "EDU_O"}, {"txt": "    sampling_resource:", "language": "english", "position": {"atoms": [{"position_id": 3651, "txt": "\n    ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[2]"}, {"position_id": 3653, "txt": "sampling_resource", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[3]"}, {"position_id": 3655, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[3]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 145, "edu_l1_label": "EDU_O"}, {"txt": "      command: \"", "language": "english", "position": {"atoms": [{"position_id": 3656, "txt": "\n      ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[3]"}, {"position_id": 3658, "txt": "command", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[4]"}, {"position_id": 3660, "txt": ": ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[4]"}, {"position_id": 3662, "txt": "\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[5]/span[1]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 146, "edu_l1_label": "EDU_O"}, {"txt": "uv\"args:", "language": "english", "position": {"atoms": [{"position_id": 3664, "txt": "uv", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[5]/span[1]"}, {"position_id": 3666, "txt": "\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[5]/span[2]"}, {"position_id": 3668, "txt": "args", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[6]"}, {"position_id": 3670, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[6]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 147, "edu_l1_label": "EDU_O"}, {"txt": " [\"run\", \"sampling_resource_server.py\"]sampling:", "language": "english", "position": {"atoms": [{"position_id": 3671, "txt": " ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[6]"}, {"position_id": 3673, "txt": "[\"run\", \"sampling_resource_server.py\"]", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[7]"}, {"position_id": 3675, "txt": "sampling", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[8]"}, {"position_id": 3677, "txt": ":", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[8]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 148, "edu_l1_label": "EDU_O"}, {"txt": "        model: \"", "language": "english", "position": {"atoms": [{"position_id": 3678, "txt": "\n        ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[8]"}, {"position_id": 3680, "txt": "model", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[9]"}, {"position_id": 3682, "txt": ": ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[9]"}, {"position_id": 3684, "txt": "\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[10]/span[1]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 149, "edu_l1_label": "EDU_O"}, {"txt": "haiku\"", "language": "english", "position": {"atoms": [{"position_id": 3686, "txt": "haiku", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[10]/span[1]"}, {"position_id": 3688, "txt": "\"", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[50]/pre/span[10]/span[2]"}]}, "tags": [], "label": "content", "web_segment_id": 120, "global_sentence_id": 150, "edu_l1_label": "EDU_O"}, {"txt": "Secrets File", "language": "english", "position": {"atoms": [{"position_id": 3690, "txt": "Secrets File", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[51]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 122, "global_sentence_id": 151, "edu_l1_label": "IOS"}, {"txt": "Tip", "language": "english", "position": {"atoms": [{"position_id": 3692, "txt": "Tip", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[52]/p[1]/svg"}]}, "tags": ["img"], "label": "content", "web_segment_id": 123, "global_sentence_id": 152, "edu_l1_label": "IOS"}, {"txt": "fast-agent will look recursively for a fastagent.secrets.yaml file, so you only need to manage this at the root folder of your agent definitions.", "language": "english", "position": {"atoms": [{"position_id": 3694, "txt": "fast-agent will look recursively for a fastagent.secrets.yaml file, so you only need to manage this at the root folder of your agent definitions.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[52]/p[2]"}]}, "tags": [], "label": "content", "web_segment_id": 124, "global_sentence_id": 153, "edu_l1_label": "IOS"}, {"txt": "Interactive Shell", "language": "english", "position": {"atoms": [{"position_id": 3696, "txt": "Interactive Shell", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[53]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 125, "global_sentence_id": 154, "edu_l1_label": "IOS"}, {"txt": "Project Notes", "language": "english", "position": {"atoms": [{"position_id": 3698, "txt": "Project Notes", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[54]/h2"}]}, "tags": ["h2"], "label": "title1", "web_segment_id": 126, "global_sentence_id": 155, "edu_l1_label": "BOS"}, {"txt": "fast-agent builds on the mcp-agent project by Sarmad Qadri.", "language": "english", "position": {"atoms": [{"position_id": 3700, "txt": "fast-agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[47]/code"}, {"position_id": 3702, "txt": " builds on the ", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[47]/code"}, {"position_id": 3704, "txt": "mcp-agent", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[47]/a/code"}, {"position_id": 3706, "txt": " project by Sarmad Qadri.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[47]/a"}]}, "tags": [], "label": "content", "web_segment_id": 127, "global_sentence_id": 156, "edu_l1_label": "IOS"}, {"txt": "Contributing", "language": "english", "position": {"atoms": [{"position_id": 3708, "txt": "Contributing", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/div[55]/h3"}]}, "tags": ["h3"], "label": "title2", "web_segment_id": 128, "global_sentence_id": 157, "edu_l1_label": "IOS"}, {"txt": "Contributions and PRs are welcome - feel free to raise issues to discuss.", "language": "english", "position": {"atoms": [{"position_id": 3710, "txt": "Contributions and PRs are welcome - feel free to raise issues to discuss.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[48]"}]}, "tags": [], "label": "content", "web_segment_id": 129, "global_sentence_id": 158, "edu_l1_label": "EDU_O"}, {"txt": " Full guidelines for contributing and roadmap coming very soon.", "language": "english", "position": {"atoms": [{"position_id": 3711, "txt": " Full guidelines for contributing and roadmap coming very soon.", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[48]"}]}, "tags": [], "label": "O", "web_segment_id": 129, "global_sentence_id": 159, "edu_l1_label": "EDU_O"}, {"txt": " Get in touch!", "language": "english", "position": {"atoms": [{"position_id": 3712, "txt": " Get in touch!", "x": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/react-partial/div/div/div[3]/div[2]/div/div[2]/article/p[48]"}]}, "tags": [], "label": "O", "web_segment_id": 129, "global_sentence_id": 160, "edu_l1_label": "EDU_O"}], "type": "WEB"}
# fast-agent: Define, Prompt and Test MCP enabled Agents and Workflows
## Overview
### Agent Application Development
## Get started:
### Basic Agents
### Combining Agents and using MCP Servers
## Workflows
### Chain
### Human Input
### Parallel
### Evaluator-Optimizer
### Router
### Orchestrator
## Agent Features
### Calling Agents
### Defining Agents
#### Basic Agent
#### Chain
#### Parallel
#### Evaluator-Optimizer
#### Router
#### Orchestrator
### Multimodal Support
#### MCP Tool Result Conversion
### Prompts
### Sampling
### Secrets File
### Interactive Shell
## Project Notes
### Contributing