DeepResearchAgent - Your Shortcut for Faster Research
Authors:
Robert Jambrecic
Machine Learning Engineer at Airt
Tvrtko Sternak
Machine Learning Engineer at Airt
Introduction
We are excited to unveil DeepResearchAgent, a powerful autonomous research capability within our AG2 framework. Inspired by OpenAI’s Deep Research, our agent is designed to tackle complex, multi-step research tasks efficiently, synthesizing insights from diverse online sources.With DeepResearchAgent, we take a significant step toward the future of autonomous knowledge synthesis—freeing up valuable time and enabling deeper, data-driven decision-making
This code initializes DeepResearchAgent and asks it to find out What was the impact of DeepSeek on stock prices and why? using GPT-4o.
We recommend using gpt-4oModels like gpt-4o-mini often don’t perform well enough for complex tasks.
from autogen import LLMConfigllm_config = LLMConfig( config_list=[{"api_type": "openai", "model": "gpt-4o", "api_key": os.environ["OPENAI_API_KEY"]}],)with llm_config: agent = DeepResearchAgent(name="DeepResearchAgent")message = "What was the impact of DeepSeek on stock prices and why?"result = agent.run( message=message, tools=agent.tools, max_turns=2, user_input=False, summary_method="reflection_with_llm",)result.process()print(result.summary)
The agent will break down the initial task into smaller, manageable subtasks and tackle them sequentially. Once all subtasks are completed, a final summary will be generated, for example:
The investigation into the impact of DeepSeek on stock prices reveals several key insights:1. **DeepSeek's Role and Functionality:** - DeepSeek is a renowned Chinese AI company, known for its cutting-edge, open-source language models that compete with those of major U.S. tech giants. The models offer significant advancements in reasoning and optimization of tasks requiring logical inference and problem-solving, utilizing methods such as "Chain of Thought" and reinforcement learning.2. **Impact on Stock Prices:** - The introduction and application of DeepSeek have led to significant repercussions in stock markets. The tech industry experienced a selloff, notably impacting companies like Nvidia, with stock valuations decreasing markedly—from 50 times to 36 times estimated earnings. Major indexes, including Nasdaq and S&P 500, faced declines of 3.1% and 1.5%, respectively.3. **Factors behind the Changes in Stock Prices:** - The shifts in stock prices are attributed to several factors: - **Technological Advancements:** DeepSeek's technological breakthroughs have triggered notable market changes. - **Impact on Major Tech Companies:** There have been significant market-cap losses for companies like Nvidia due to concerns about competition from DeepSeek. - **Market Volatility:** Concerns over Chinese AI enhancements have induced market-wide volatility. - **Investment Opportunities:** DeepSeek's advancements have sparked interest in investing in undervalued Chinese AI stocks, indicating potential growth areas. - **Financial Market Reactions:** The rapid changes induced by DeepSeek's developments have caused noticeable financial market fluctuations, particularly affecting Wall Street.Overall, DeepSeek's emergence has profoundly influenced stock prices by fostering both immediate market anxiety and potential long-term investment opportunities.Reasoning: The answer comprehensively covers the impact of DeepSeek on stock prices and the reasons behind these changes. It is well-structured, providing a clear understanding of DeepSeek's functions, its effects on the stock market, and the underlying factors contributing to these effects. Each aspect of the investigation aligns with the subquestions previously addressed, ensuring completeness and coherence. Thus, this summary effectively communicates the investigation's findings.
Conclusion
The DeepResearchAgent within the AG2 framework helps automate complex research tasks by gathering information from different online sources. It breaks down big questions into smaller tasks and works through them one by one. After completing all the steps, the agent creates a detailed summary, making it easier for users to handle research challenges and find useful insights quickly.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"AG2","colors":{"primary":"#4b9cd6","light":"#63a9db","dark":"#338fd1"},"favicon":"/logo/favicon.svg","logo":{"light":"https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/logo/ag2.svg?fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=7e064e1c72768237baa4e260a7828dfe","dark":"https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/logo/ag2-white.svg?fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=5f3c0db50d8f566bd4448ae232799a59"},"navbar":{"primary":{"type":"github","href":"https://github.com/ag2ai/ag2"}},"search":{"prompt":"Search or ask..."},"seo":{"metatags":{"og:image":"https://media.githubusercontent.com/media/ag2ai/ag2/refs/heads/main/website/static/img/cover.png"},"indexing":"navigable"},"footer":{"socials":{"x":"https://x.com/ag2oss","github":"https://github.com/ag2ai/ag2","linkedin":"https://www.linkedin.com/company/ag2ai","discord":"https://discord.gg/pAbnFJrkgZ","youtube":"https://www.youtube.com/@ag2ai"}},"integrations":{"ga4":{"measurementId":"G-2GN2KN2CE4"}},"fonts":{"heading":{"family":"Jersey 10"},"body":{"family":"Inter"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"private-04b27de1","hasAudioNarration":false,"actualSubdomain":"private-04b27de1","customDomains":[],"gitSource":{"type":"github","owner":"harishmohanraj","repo":"ag2","deployBranch":"mintlify-pages","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9239d3e9b7a540d51da54:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API References","count":879},{"language":"default","tag":"API Reference","count":879},{"language":"default","tag":"autogen","count":879},{"language":"default","tag":"agentchat","count":358},{"language":"default","tag":"Use Cases","count":264},{"language":"default","tag":"contrib","count":228},{"language":"default","tag":"User Guide","count":171},{"language":"default","tag":"tools","count":137},{"language":"default","tag":"Notebooks","count":128},{"language":"default","tag":"oai","count":125}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"mint-style.css","href":"/_mintlify/custom/private-04b27de1/8f3837c83da6c188/mint-style.css"}]}
{"page":{"pagePath":"docs/blog/2025-02-13-DeepResearchAgent","slug":"/docs/blog/2025-02-13-DeepResearchAgent","pageMetadata":{"title":"DeepResearchAgent - Your Shortcut for Faster Research","authors":["rjambrecic","sternakt"],"tags":["Tools","AG2 Agents"],"description":null,"href":"/docs/blog/2025-02-13-DeepResearchAgent/index"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Icon,OptimizedImage,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Icon)_missingMdxReference(`Icon`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(`div`,{children:_jsx(`img`,{noZoom:true,className:`social-share-img`,src:`https://media.githubusercontent.com/media/ag2ai/ag2/refs/heads/main/website/static/img/cover.png`,alt:`social preview`,style:{position:`absolute`,left:`-9999px`}})}),`\n`,_jsxs(`div`,{class:`blog-authors`,children:[_jsx(`p`,{class:`authors`,children:`Authors:`}),_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{href:`https://github.com/rjambrecic`,children:_jsxs(`div`,{class:`col card`,children:[_jsx(`div`,{class:`img-placeholder`,children:_jsx(`img`,{noZoom:true,src:`https://github.com/rjambrecic.png`})}),_jsxs(`div`,{children:[_jsx(`p`,{class:`name`,children:`Robert Jambrecic`}),_jsx(`p`,{children:`Machine Learning Engineer at Airt`})]})]})}),_jsx(Card,{href:`https://github.com/sternakt`,children:_jsxs(`div`,{class:`col card`,children:[_jsx(`div`,{class:`img-placeholder`,children:_jsx(`img`,{noZoom:true,src:`https://github.com/sternakt.png`})}),_jsxs(`div`,{children:[_jsx(`p`,{class:`name`,children:`Tvrtko Sternak`}),_jsx(`p`,{children:`Machine Learning Engineer at Airt`})]})]})})]})]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=a3574d0c7dcfe8d82f79d18adb7c3dfa`,alt:`DeepResearchAgent workflow`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`snippets/reference-agents/img/DeepResearchAgent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?w=280\u0026fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=43d121ecd15705745a5963e57925486e 280w, https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?w=560\u0026fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=0c42d1d5c92ff93b022ddd48a5ebe1e4 560w, https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?w=840\u0026fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=016262c4ef73632899f18f988c662c36 840w, https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=7abfdbcb5a4961efa4854b436de03dae 1100w, https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=1ca4b2f392f75b6d3b67204a16d9de49 1650w, https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/snippets/reference-agents/img/DeepResearchAgent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=b413ed6ac586217f27390b27b1401098 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`introduction`,children:`Introduction`}),`\n`,_jsxs(_components.p,{children:[`We are excited to unveil `,_jsx(_components.a,{href:`/docs/api-reference/autogen/agents/experimental/DeepResearchAgent`,children:_jsx(_components.code,{children:`DeepResearchAgent`})}),`, a powerful autonomous research capability within our `,_jsx(_components.strong,{children:`AG2`}),` framework. Inspired by `,_jsx(_components.a,{href:`https://openai.com/index/introducing-deep-research`,children:`OpenAI’s Deep Research`}),`, our agent is designed to tackle complex, multi-step research tasks efficiently, synthesizing insights from diverse online sources.`]}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.a,{href:`/docs/api-reference/autogen/agents/experimental/DeepResearchAgent`,children:_jsx(_components.code,{children:`DeepResearchAgent`})}),`, we take a significant step toward the future of autonomous knowledge synthesis—freeing up valuable time and enabling deeper, data-driven decision-making`]}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/docs/api-reference/autogen/agents/experimental/DeepResearchAgent`,children:_jsx(_components.code,{children:`DeepResearchAgent`})}),` is built on top of `,_jsx(_components.a,{href:`https://github.com/browser-use/browser-use`,children:_jsx(_components.code,{children:`Browser Use`})}),`, which requires `,_jsx(_components.strong,{children:`Python 3.11 or higher`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`To get started with the `,_jsx(_components.a,{href:`/docs/api-reference/autogen/agents/experimental/DeepResearchAgent`,children:_jsx(_components.code,{children:`DeepResearchAgent`})}),` agent, follow these steps:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install AG2 with the `,_jsx(_components.code,{children:`browser-use`}),` extra:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ag2[openai,browser-use]`})]}),`\n`]})})}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[`If you have been using `,_jsx(_components.code,{children:`autogen`}),` or `,_jsx(_components.code,{children:`ag2`}),`, all you need to do is upgrade it using:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` autogen[openai,browser-use]`})]}),`\n`]})})}),_jsx(_components.p,{children:`or`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -U`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ag2[openai,browser-use]`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`as `,_jsx(_components.code,{children:`autogen`}),` and `,_jsx(_components.code,{children:`ag2`}),` are aliases for the same PyPI package.`]})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Set up Playwright:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Installs Playwright and browsers for all OS`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`playwright`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Additional command, mandatory for Linux only`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`playwright`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install-deps`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`For running the code in Jupyter, use `,_jsx(_components.code,{children:`nest_asyncio`}),` to allow nested event loops.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nest_asyncio`})]}),`\n`]})})}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`You’re all set! Now you can start solving complex tasks.`}),`\n`,_jsx(Heading,{level:`2`,id:`imports`,children:`Imports`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nest_asyncio`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` autogen.agents.experimental `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DeepResearchAgent`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`nest_asyncio.apply()`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`starting-the-conversation`,children:`Starting the Conversation`}),`\n`,_jsxs(_components.p,{children:[`This code initializes `,_jsx(_components.a,{href:`/docs/api-reference/autogen/agents/experimental/DeepResearchAgent`,children:_jsx(_components.code,{children:`DeepResearchAgent`})}),` and asks it to find out `,_jsx(_components.code,{children:`What was the impact of DeepSeek on stock prices and why?`}),` using `,_jsx(_components.code,{children:`GPT-4o`}),`.`]}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[`We recommend using `,_jsx(_components.code,{children:`gpt-4o`})]}),_jsxs(_components.p,{children:[`Models like `,_jsx(_components.code,{children:`gpt-4o-mini`}),` often don’t perform well enough for complex tasks.`]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` autogen `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` LLMConfig`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`llm_config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` LLMConfig(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` config_list`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-4o\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OPENAI_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]}],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` llm_config:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DeepResearchAgent(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DeepResearchAgent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`message `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"What was the impact of DeepSeek on stock prices and why?\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent.run(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`message,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tools`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent.tools,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` max_turns`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` user_input`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` summary_method`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reflection_with_llm\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result.process()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result.summary)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The agent will break down the initial task into smaller, manageable subtasks and tackle them sequentially. Once all subtasks are completed, a final summary will be generated, for example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`The investigation into the impact of DeepSeek on stock prices reveals several key insights:`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1. **DeepSeek's Role and Functionality:**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - DeepSeek is a renowned Chinese AI company, known for its cutting-edge, open-source language models that compete with those of major U.S. tech giants. The models offer significant advancements in reasoning and optimization of tasks requiring logical inference and problem-solving, utilizing methods such as \"Chain of Thought\" and reinforcement learning.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`2. **Impact on Stock Prices:**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - The introduction and application of DeepSeek have led to significant repercussions in stock markets. The tech industry experienced a selloff, notably impacting companies like Nvidia, with stock valuations decreasing markedly—from 50 times to 36 times estimated earnings. Major indexes, including Nasdaq and S\u0026P 500, faced declines of 3.1% and 1.5%, respectively.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`3. **Factors behind the Changes in Stock Prices:**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - The shifts in stock prices are attributed to several factors:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - **Technological Advancements:** DeepSeek's technological breakthroughs have triggered notable market changes.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - **Impact on Major Tech Companies:** There have been significant market-cap losses for companies like Nvidia due to concerns about competition from DeepSeek.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - **Market Volatility:** Concerns over Chinese AI enhancements have induced market-wide volatility.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - **Investment Opportunities:** DeepSeek's advancements have sparked interest in investing in undervalued Chinese AI stocks, indicating potential growth areas.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` - **Financial Market Reactions:** The rapid changes induced by DeepSeek's developments have caused noticeable financial market fluctuations, particularly affecting Wall Street.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`Overall, DeepSeek's emergence has profoundly influenced stock prices by fostering both immediate market anxiety and potential long-term investment opportunities.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`Reasoning: The answer comprehensively covers the impact of DeepSeek on stock prices and the reasons behind these changes. It is well-structured, providing a clear understanding of DeepSeek's functions, its effects on the stock market, and the underlying factors contributing to these effects. Each aspect of the investigation aligns with the subquestions previously addressed, ensuring completeness and coherence. Thus, this summary effectively communicates the investigation's findings.`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`conclusion`,children:`Conclusion`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/docs/api-reference/autogen/agents/experimental/DeepResearchAgent`,children:_jsx(_components.code,{children:`DeepResearchAgent`})}),` within the AG2 framework helps automate complex research tasks by gathering information from different online sources. It breaks down big questions into smaller tasks and works through them one by one. After completing all the steps, the agent creates a detailed summary, making it easier for users to handle research challenges and find useful insights quickly.`]}),`\n`,_jsx(`div`,{className:`edit-url-container`,children:_jsxs(`a`,{className:`edit-url`,href:`https://github.com/ag2ai/ag2/edit/main/website/docs/_blogs/2025-02-13-DeepResearchAgent/index.mdx`,target:`_blank`,children:[_jsx(Icon,{icon:`pen`,iconType:`solid`,size:`13px`}),` Edit this page`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"DeepResearchAgent - Your Shortcut for Faster Research","authors":["rjambrecic","sternakt"],"tags":["Tools","AG2 Agents"],"description":null,"href":"/docs/blog/2025-02-13-DeepResearchAgent/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Introduction","slug":"introduction","depth":2,"children":[]},{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Imports","slug":"imports","depth":2,"children":[]},{"title":"Starting the Conversation","slug":"starting-the-conversation","depth":2,"children":[]},{"title":"Conclusion","slug":"conclusion","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/private-04b27de1/eb75e01a19010b3e/docusaurus.config.js","/_mintlify/custom/private-04b27de1/2750b385f6fad3d7/mint-app-gallery-deps.js","/_mintlify/custom/private-04b27de1/00d416e040b2eaa6/mint-script.js"],"subdomain":"private-04b27de1","siteName":"AG2","title":"DeepResearchAgent - Your Shortcut for Faster Research - AG2","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T04:58:47.907Z","originalFileLocation":"docs/blog/2025-02-13-DeepResearchAgent/index.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"AG2\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"DeepResearchAgent - Your Shortcut for Faster Research - AG2\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AG2\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://media.githubusercontent.com/media/ag2ai/ag2/refs/heads/main/website/static/img/cover.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"DeepResearchAgent - Your Shortcut for Faster Research - AG2\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://media.githubusercontent.com/media/ag2ai/ag2/refs/heads/main/website/static/img/cover.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/private-04b27de1/5PK9RLmJtXeBrawe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AG2\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4b9cd6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/blog/2025-02-13-DeepResearchAgent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://private-04b27de1.mintlify.app/#organization\",\"name\":\"AG2\",\"url\":\"https://private-04b27de1.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/private-04b27de1/pvm3Z7mIWzwbwn7q/logo/ag2.svg?fit=max\u0026auto=format\u0026n=pvm3Z7mIWzwbwn7q\u0026q=85\u0026s=7e064e1c72768237baa4e260a7828dfe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://private-04b27de1.mintlify.app#website\",\"name\":\"AG2\",\"url\":\"https://private-04b27de1.mintlify.app\",\"publisher\":{\"@id\":\"https://private-04b27de1.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent#webpage\",\"url\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent\",\"name\":\"DeepResearchAgent - Your Shortcut for Faster Research\",\"dateModified\":\"2026-01-07T04:58:47.907Z\",\"isPartOf\":{\"@id\":\"https://private-04b27de1.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-05-07-AG2-Copilot-Integration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Recent posts\",\"item\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-05-07-AG2-Copilot-Integration\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DeepResearchAgent - Your Shortcut for Faster Research\",\"item\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent#article\",\"headline\":\"DeepResearchAgent - Your Shortcut for Faster Research\",\"name\":\"DeepResearchAgent - Your Shortcut for Faster Research\",\"url\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent\",\"mainEntityOfPage\":{\"@id\":\"https://private-04b27de1.mintlify.app/docs/blog/2025-02-13-DeepResearchAgent#webpage\"},\"image\":\"https://media.githubusercontent.com/media/ag2ai/ag2/refs/heads/main/website/static/img/cover.png\",\"dateModified\":\"2026-01-07T04:58:47.907Z\",\"author\":[{\"@type\":\"Person\",\"name\":\"rjambrecic\"},{\"@type\":\"Person\",\"name\":\"sternakt\"}],\"publisher\":{\"@id\":\"https://private-04b27de1.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://private-04b27de1.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AG2\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AG2\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/blog/2025-02-13-DeepResearchAgent.md","siteName":"AG2","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/quick-start"}]},{"tab":"User Guide","pages":[{"title":"User Guide","href":"/docs/user-guide/basic-concepts/installing-ag2"}]},{"tab":"API References","pages":[{"title":"API References","href":"/docs/api-reference/autogen/overview"}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/docs/use-cases/use-cases/customer-service"}]},{"tab":"User Stories","pages":[{"title":"User Stories","href":"/docs/user-stories/2025-04-30-Cegid-Pulse-OS"}]},{"tab":"Contribute","pages":[{"title":"Contribute","href":"/docs/contributor-guide/contributing"}]},{"tab":"FAQs","pages":[{"title":"FAQs","href":"/docs/faq/FAQ"}]},{"tab":"Ecosystem","pages":[{"title":"Ecosystem","href":"/docs/ecosystem/agentops"}]},{"tab":"Blog","groups":[{"group":"Blog","pages":[{"group":"Recent posts","pages":[{"title":"AG2 Now Integrated with CopilotKit","href":"/docs/blog/2025-05-07-AG2-Copilot-Integration"},{"title":"AG2 v0.9 Release: Introducing the New Group Chat Pattern","href":"/docs/blog/2025-04-28-0.9-Release-Announcement/index"},{"title":"The Myth of Reasoning","description":null,"href":"/docs/blog/2025-04-16-Reasoning/index"},{"title":"DeepResearchAgent - Your Shortcut for Faster Research","href":"/docs/blog/2025-02-13-DeepResearchAgent/index"},{"title":"Get Communicating with Discord, Slack, and Telegram","description":null,"href":"/docs/blog/2025-02-05-Communication-Agents/index"},{"title":"Adding Browsing Capabilities to AG2","href":"/docs/blog/2025-01-31-Websurfing-Tools/index"},{"title":"Riding the Web with WebSurferAgent","href":"/docs/blog/2025-01-31-WebSurferAgent/index"},{"title":"RealtimeAgent with Gemini API","href":"/docs/blog/2025-01-29-RealtimeAgent-with-gemini/index"},{"title":"Tools with ChatContext Dependency Injection","href":"/docs/blog/2025-01-22-Tools-ChatContext-Dependency-Injection/index"},{"title":"Streaming input and output using WebSockets","href":"/docs/blog/2025-01-10-WebSockets/index"},{"title":"Real-Time Voice Interactions over WebRTC","href":"/docs/blog/2025-01-09-RealtimeAgent-over-WebRTC/index"},{"title":"Real-Time Voice Interactions with the WebSocket Audio Adapter","href":"/docs/blog/2025-01-08-RealtimeAgent-over-websocket/index"},{"title":"Tools Dependency Injection","href":"/docs/blog/2025-01-07-Tools-Dependency-Injection/index"},{"title":"Cross-Framework LLM Tool Integration with AG2","href":"/docs/blog/2024-12-20-Tools-interoperability/index"},{"title":"ReasoningAgent Update - Beam Search, MCTS, and LATS for LLM Reasoning","href":"/docs/blog/2024-12-20-Reasoning-Update/index"},{"title":"Introducing RealtimeAgent Capabilities in AG2","href":"/docs/blog/2024-12-20-RealtimeAgent/index"},{"title":"Knowledgeable Agents with FalkorDB Graph RAG","href":"/docs/blog/2024-12-06-FalkorDB-Structured/index"},{"title":"ReasoningAgent - Tree of Thoughts with Beam Search in AG2","href":"/docs/blog/2024-12-02-ReasoningAgent2/index"},{"title":"Agentic testing for prompt leakage security","href":"/docs/blog/2024-11-27-Prompt-Leakage-Probing/index"},{"title":"Building Swarm-based agents with AG2","href":"/docs/blog/2024-11-17-Swarm/index"},{"title":"Introducing CaptainAgent for Adaptive Team Building","href":"/docs/blog/2024-11-15-CaptainAgent/index"},{"title":"AgentOps, the Best Tool for AutoGen Agent Observability","href":"/docs/blog/2024-07-25-AgentOps/index"},{"title":"Enhanced Support for Non-OpenAI Models","href":"/docs/blog/2024-06-24-AltModels-Classes/index"},{"title":"AgentEval: A Developer Tool to Assess Utility of LLM-powered Applications","href":"/docs/blog/2024-06-21-AgentEval/index"},{"title":"Agents in AutoGen","href":"/docs/blog/2024-05-24-Agent/index"},{"title":"AutoDefense - Defend against jailbreak attacks with AutoGen","href":"/docs/blog/2024-03-11-AutoDefense/index"},{"title":"What's New in AutoGen?","href":"/docs/blog/2024-03-03-AutoGen-Update/index"},{"title":"StateFlow - Build State-Driven Workflows with Customized Speaker Selection in GroupChat","href":"/docs/blog/2024-02-29-StateFlow/index"},{"title":"FSM Group Chat -- User-specified agent transitions","href":"/docs/blog/2024-02-11-FSM-GroupChat/index"},{"title":"Anny: Assisting AutoGen Devs Via AutoGen","href":"/docs/blog/2024-02-02-AutoAnny/index"},{"title":"AutoGen with Custom Models: Empowering Users to Use Their Own Inference Mechanism","href":"/docs/blog/2024-01-26-Custom-Models/index"},{"title":"AutoGenBench -- A Tool for Measuring and Evaluating AutoGen Agents","href":"/docs/blog/2024-01-25-AutoGenBench/index"},{"title":"Code execution is now by default inside docker container","href":"/docs/blog/2024-01-23-Code-execution-in-docker/index"},{"title":"All About Agent Descriptions","href":"/docs/blog/2023-12-29-AgentDescriptions/index"},{"title":"AgentOptimizer - An Agentic Way to Train Your LLM Agent","href":"/docs/blog/2023-12-23-AgentOptimizer/index"},{"title":"AutoGen Studio: Interactively Explore Multi-Agent Workflows","href":"/docs/blog/2023-12-01-AutoGenStudio/index"},{"title":"Agent AutoBuild - Automatically Building Multi-agent Systems","href":"/docs/blog/2023-11-26-Agent-AutoBuild/index"},{"title":"How to Assess Utility of LLM-powered Applications?","href":"/docs/blog/2023-11-20-AgentEval/index"},{"title":"AutoGen Meets GPTs","href":"/docs/blog/2023-11-13-OAI-assistants/index"},{"title":"EcoAssistant - Using LLM Assistants More Accurately and Affordably","href":"/docs/blog/2023-11-09-EcoAssistant/index"},{"title":"Multimodal with GPT-4V and LLaVA","href":"/docs/blog/2023-11-06-LMM-Agent/index"},{"title":"AutoGen's Teachable Agents","href":"/docs/blog/2023-10-26-TeachableAgent/index"},{"title":"Retrieval-Augmented Generation (RAG) Applications with AutoGen","href":"/docs/blog/2023-10-18-RetrieveChat/index"},{"title":"Use AutoGen for Local LLMs","href":"/docs/blog/2023-07-14-Local-LLMs/index"},{"title":"MathChat - An Conversational Framework to Solve Math Problems","href":"/docs/blog/2023-06-28-MathChat/index"},{"title":"Achieve More, Pay Less - Use GPT-4 Smartly","href":"/docs/blog/2023-05-18-GPT-adaptive-humaneval/index"},{"title":"Does Model and Inference Parameter Matter in LLM Applications? - A Case Study for MATH","href":"/docs/blog/2023-04-21-LLM-tuning-math/index"}]}]}]}]},"basePath":"","title":"DeepResearchAgent - Your Shortcut for Faster Research - AG2","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-uS0aI388.js","lightbox-handle-r17bVUz3.js"]}