Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

LangChain 5 min read How-to mediumAdept

How to build great out-of-the-box user experiences with Managed Deep Agents

Managed Deep Agents v0.9 adds a `reactions` attribute for Slack channels that accepts either a static emoji string or an async callable, letting agents acknowledge messages with contextual emoji as a loading state. The callable can be a simple `if` heuristic or a decision model such as Jev via the TypeSafe Classifier, which picks from a vocabulary of up to 255 described options. Write `criteria` descriptions that describe the situation rather than the emoji, and fall back to a generic reaction such as 👀 when model confidence is below a threshold (0.25 in the example). Custom Slack emoji can also be added by shortcode.

Related posts

  • What's New in Managed Deep Agents: schedules, per-run configuration, and Slack reactions

    LangChain mediumAdept

    Managed Deep Agents v0.9 adds three features: a Schedules SDK, per-run agent configuration, and Slack reactions. With the Schedules SDK, agents can create cron or one-time schedules mid-conversation; these run with the requesting user's permissions and post results back to the originating channel. Per-run configuration makes the agent a callable that reads the run context and returns a define_deep_agent definition, so one deployment can choose its model, skills, MCP servers and sandbox per team or repo before the model runs, which keeps context small and acts as access control. Slack reactions acknowledge incoming messages with a configurable emoji, including one picked per message by a function. The release is in public beta.

  • What We’ve Learned Building Proactive Agents

    LangChain easyNovice

    Proactive agents run in the background toward goals, triggered by real-world events, developer schedules or schedules they set themselves; on LangChain's Managed Deep Agents over 70% of runs now come from schedules rather than human prompts. Making them useful without being annoying hinges on memory (seeded from past context, updated from feedback and outcomes, maintained by a background "dreaming" job that handles salience, expiry and duplication) and on UX that is high-signal, fast to review, and delivered where users already work, such as Slack. Examples come from LangChain's internal GTM Agent and Robin engineering agent, and suggested memory metrics include draft approval time and the share of check-ins users act on.

  • Managed Deep Agents v0.10: Browser Use and Async Subagents

    LangChain mediumAdept

    Managed Deep Agents v0.10 adds browser use, so agents can operate websites without APIs, and async subagents that run long tasks in the background while the orchestrator keeps talking to the user. The browser runs in a LangSmith sandbox scoped per thread or per user. It exposes snapshot, run, screenshot and handoff tools, and the handoff tool gives a person control of the window for logins so credentials never enter model messages or traces. Async subagents notify the orchestrator instead of being polled: results arrive mid-run, wake an idle agent, or wait behind a pending approval. Other changes include thread-origin records for replying in Slack, a Stop button, Slack event handlers, resolveUser identity mapping, and breaking changes to how MCP connectors are declared.

  • Tiny Agents: an MCP-powered agent in 50 lines of code

    Hugging Face mediumAdept

    An LLM agent built on the Model Context Protocol reduces to a simple while loop around an MCP-aware inference client: connect to MCP servers, convert their tools into OpenAI-style function definitions, pass them to the chat-completion call, execute returned tool calls via the MCP SDK, and feed results back. The TypeScript implementation in huggingface.js extends InferenceClient into an McpClient that holds one session per server and maps tool names to sessions. An Agent class adds a system prompt plus two control-flow tools (task_complete, ask_question). The loop alternates tool calls and results until an exit tool is called, the model answers twice without tools, or a turn limit is reached. The default setup uses Qwen2.5-72B on Nebius, and the model, provider and MCP servers can be swapped.

  • Harness, Scaffold, and the AI Agent Terms Worth Getting Right

    Hugging Face easyNovice

    A glossary of AI agent terms that are often conflated. The model is a stateless LLM. Scaffolding is the behavior-defining layer around it: system prompt, tool descriptions, output parsing and context management. The harness is the execution loop that calls the model, runs tool calls and decides when to stop, and an agent is model plus harness. Further entries cover context engineering, policy, tool use, skills and sub-agents, plus RL training terms (environment, trainer, rollout, reward and rubrics), with pointers to TRL's GRPOTrainer, OpenEnv and Verifiers.

The quest for software engineering knowledge.

Look:
Layout: