Skip to main content
A daily digest agent combines durable memory and a schedule. Tell it which topics you follow, and each weekday morning it searches for recent news and writes a short digest.
Managed Deep Agents is in beta on LangSmith Cloud and Bring Your Own Cloud (BYOC). Use Managed Deep Agents CLI and SDK v0.10 or later for BYOC.
This Python example requires managed-deepagents>=0.10.4 and the matching mda CLI.
Mock chat interface showing two threads: a Monday thread saving topics to /memories/agent/topics.md and a Tuesday 8:00 AM scheduled thread delivering a cited daily digest. Mock chat interface showing two threads: a Monday thread saving topics to /memories/agent/topics.md and a Tuesday 8:00 AM scheduled thread delivering a cited daily digest.

Configure the agent

Start with the research assistant from the quickstart, which already has web search. Enable shared memory:
memory.py
Replace instructions.md:
instructions.md

Add a schedule

Add a schedule that runs every weekday at 8:00 AM Pacific:
schedules/daily_digest.py

Try it

Run the agent with mda dev and tell it to follow a topic, such as “Follow LangChain releases.” Start a new thread and ask for today’s digest. The agent reads your saved topics from memory even though the new thread has no history. Deploy the agent to run the schedule automatically. Each scheduled run starts a new thread on the deployment.

Extend the pattern

See also

  • Memory: choose and control durable memory layers.
  • Schedules: configure and manage scheduled runs.
  • Web search: add built-in search without a separate API key.