Keep chatting with your main agent while a long research or browser job runs in the background: mark that subagent async so it reports back when finished instead of freezing the conversation: AI agent prompt

LangChain's Oct 29, 2026 Managed Deep Agents v0.10 post introduced asynchronous subagents: add async: True on a subagent definition so the orchestrator starts that helper on its own thread and keeps talking with you while the work runs. The agent can check, update or cancel the background task; when the subagent finishes, results arrive mid-run if the orchestrator is busy, or wake an idle agent with a new run, without interrupting a pending human approval. The same release adds browser use with browser_handoff so the agent can work on sites with no API and hand you the window at a login wall so passwords never enter model messages. Product lead Sydney Runkle compared the pattern to a chief of staff who delegates without disappearing. Useful for Slack-based agents that must answer follow-ups while research or multi-step browser work continues.

CodingAsync background subagentsintermediate

The prompt

Design an orchestrator agent for [my product / Slack bot] that stays responsive while long jobs run. Jobs that should be async: [research, multi-page browser task, report build]. Rules: never block the main chat on those jobs; never put passwords in model context—hand the browser to me at login; escalate if a background job fails twice. 1) List which subagents are sync vs async and why. 2) Draft the subagent definitions (name, description, system prompt, async flag) in plain language I can paste into Managed Deep Agents or recreate in my stack. 3) Write what the main agent says when it starts, checks on, and receives a finished background job. 4) Give a 5-case test plan (user asks a follow-up mid-research; login wall; cancel; approval pending; double failure). Do not deploy anything in this chat.
Open in ChatGPT Open in Claude Perplexity Download as agent skill (SKILL.md)

Fill in the blanks, then copy

This prompt has 2 [bracket]s to fill in. Type your details below and the prompt updates as you go. Your answers stay in this browser and are reused on other prompts with the same blanks. Nothing is sent to us.

How to use it

  1. Copy the prompt above.
  2. Replace every [bracket] with your own details (use the fill-in-the-blanks box above, which remembers your answers for the next prompt).
  3. Paste it into LangChain Managed Deep Agents, ChatGPT, Claude and review the answer before you use it.

Works with: LangChain Managed Deep Agents, ChatGPT, Claude, Slack

Real-world example: langchain.com/blog/managed-deep-agents-browser-use-and-asynchronous-su

Featured in: ChatGPT prompts for business email, replies and follow-ups · AI prompts for writing SOPs, reports, policies and checklists

Before you use it: what to check

Already built into this prompt

Check yourself

Using an AI agent? Download this prompt as a SKILL.md agent skill with these checks built in, or get the .zip for Claude.ai. How to install skills.

Share:Post on XLinkedInFacebookRedditWhatsApp
</> Embed this prompt on your site

Paste this HTML into your blog or website. It's a plain card with no tracking scripts that links back to this prompt.

Want to make this prompt even better? Grade it with the free prompt grader or build your own with the AI prompt generator.

Get the free Solo Founder Stack pack

32 copy-paste agent prompts (PDF) plus 5 new prompts every week.

Get it free

More Coding prompts

Ship a small feature as a PRFeatures · intermediateBuild a simple internal toolNo-code apps · beginnerAutomation script for a boring taskScripts · beginnerCommit & PR assistantGit workflow · intermediateFix a failed pipelineCI fixes · intermediateCheckpointed long task setupLong-running tasks · intermediate

See all Coding prompts →

Related prompts from other teams

Draft replies from your FAQCustomer Support · beginner · worked exampleCall notes to follow-up emailSales · beginner · worked exampleLead enrichment + draft replySales · intermediateWeekly newsletter drafterContent · beginner · worked example