AI Engineer Code Summit 2026

Proactive Agent Engineering — Sydney Runkle, LangChain

Loading slides…

Read the talk

Proactive Agent Engineering

An agent working toward a long-term goal can generate more decisions than its user has time to make. Sydney Runkle explains how LangChain uses memory, background jobs and review interfaces to help agents decide when to act, when to ask and when to stay quiet.

From a talk by Sydney Runkle

At a glance

Ideas worth remembering

  • A proactive agent can start work on an external event, a user-defined schedule or a schedule it creates to advance a longer-term goal. Each run still needs a separate decision about whether to involve the user.

  • Seed memory from existing work, learn from edits and rejections, and follow what happens after an action. Approval and a successful outcome answer different questions.

  • Evaluate silence as carefully as notifications. An ignored message with no consequences may justify fewer interruptions. An important message the agent missed points in the opposite direction.

  • Queue routine decisions in an interface suited to review, reserve interruptions for urgent work and relax approval requirements gradually as the agent earns trust.

  • LangChain gives organizational memory precedence, reviews shared changes and selects context according to user permissions. Which context to include when someone joins an existing Slack thread remains unresolved.

  • Memory maintenance needs domain judgment. Frequent updates help capture changing preferences, separate cleanup jobs can remove duplicates, and important long-lived constraints need protection from simple recency rules.

A conversation that continues while the agent works

Timeline showing approximate milestones for ChatGPT in November 2022, coding agents in November 2025, Claude Cowork in January 2026 and personal agents in September 2026. Personal agents are highlighted in blue.Open full source frame
Sydney Runkle places the rise of everyday coding agents around November 2025, three years after users began copying prompts and answers in and out of ChatGPT. Claude Cowork followed around January 2026. She highlights the emergence of personal agents around September 2026 in blue.

With an early coding agent, you could ask for a feature, wait for the model to finish calling tools, read the result and decide what to do next. The agent could do quite a bit of work, but your conversation with it effectively stopped until it came back.

Sydney Runkle of LangChain traces a progression from copying answers out of ChatGPT in 2022, through the widespread use of coding agents in late 2025, to the personal agents emerging in 2026. One of the most consequential changes is that you can keep talking to a personal agent while it works in the background.

Asynchronous work makes it practical to give the agent a goal that will take many separate runs to accomplish. From the user’s perspective, those runs can belong to one continuous conversation. Starting a new piece of work no longer has to mean starting a new session and explaining yourself again.

That puts a much heavier burden on memory. A coding agent that remembers how you perform a recurring task saves you some instructions. A personal agent writing to someone on your behalf needs to understand your relationship with the recipient before it can even judge what an appropriate message would sound like.

1:181:48

What starts a run, and who gets work back?

A reactive agent waits for a prompt. A proactive agent can begin work when something happens in its environment. There are several ways to arrange that, with different implications for who decides what happens next. 4:04

  • An external event arrives. A new email triggers the agent to decide whether the message looks like spam or deserves a response.
  • The user sets a schedule. Every morning at 9 a.m., the agent sends a digest of the day’s meetings and relevant background information.
  • The agent sets a schedule. Given a longer-term goal, it can arrange its own periodic jobs to complete tasks that contribute to that goal.

Consider the difference between asking a coding agent to add a feature and deliver a pull request, and giving it a goal that takes many such changes. In the second case, someone has to work out the milestones, decide which tasks to undertake and come back to unfinished business. The agent can take on some of that planning and follow-up itself.

Then the direction of delegation flips. You give the agent a goal. The agent starts giving you work. It needs clarification, help taking an action in the world or approval before it does something sensitive.

Human attention quickly becomes scarce. Runkle has a couple of recurring tasks on her own work assistant that generate so much noise she ignores every ping from them. That is a particularly bad failure mode for a channel you also depend on for important approvals. Getting the balance right takes both a memory system that can judge relevance and an interface that makes the remaining requests easy to handle.

An email assistant gets three chances to learn

A table shows how an email agent learns from past correspondence, current edits and rejections, and future outcomes such as receiving a reply.Open full source frame
Your sent folder can teach an email agent how you write and who matters to you. Your edits help it match your voice, and your reasons for rejecting a draft tell it what to avoid. Whether the recipient replies gives it a clue about what worked.

Memory is information learned across runs that helps with future work. An email assistant illustrates why it matters when that information becomes available. What can the assistant know before its first run, what can it learn while you review a draft, and what will it have to wait to find out? 8:04

Start with precedent. The existing mailbox gives the assistant what Runkle calls a memory seed. Sent messages reveal whom she writes to, the language she uses and how formal she is with different people. Ignored messages are interesting too. Which ones could she leave unanswered without incident? Whose messages, if any, got her into trouble when she took too long to reply? The answers would suggest very different priorities for the next incoming message.

Learn at review time. In Runkle’s proposed starting arrangement, each incoming message triggers a decision about whether it merits a reply. The agent uses the seed memory alongside clues such as whether the message looks like spam. If a reply makes sense, it drafts one in her voice and waits for approval.

A heavily edited draft gives the agent two versions to compare. The changes may teach it how to write a better response the next time a similar message arrives. Rejecting a draft outright can teach it what the user doesn’t want sent. Even leaving a draft unsent is evidence, although that alone tells the agent little about why the user passed it over.

Follow the outcome. Approval tells the assistant that the user was willing to send the message. Did the recipient reply? Did anything useful come of the exchange? If nobody replied, why might that be? An assistant that stops observing at the send button never gets to learn whether its work helped achieve the goal.

How a nightly job learned to write in lowercase

Each agent run produces a trace, a record of the path the agent took. LangChain calls the background process that learns from those experiences dreaming. A dreaming job reviews traces, human feedback and available outcomes, distills useful information into memory, and makes that memory available to subsequent runs. 12:09

What can that job learn from an email draft? A rejection supplies feedback even if nothing goes out. A sent draft can teach the agent twice, once from the user’s edits and again when the consequences become apparent.

For a working example, look at the presentation itself. Which design choices belong to LangChain, and which belong to the person giving the talk? Runkle wrote the deck in a plain Google Slides template and handed it to LangChain’s Content Studio agent. It applied the company blue and the prescribed font. It also put the text in lowercase, a preference of hers that falls outside the brand standard.

Every night, a job reviews her conversations with Content Studio and updates her personal preferences file. By the time she made this deck, she didn’t have to ask for lowercase. A teammate using the same agent wouldn’t automatically get that treatment. The difficult part of remembering a preference is deciding how far it should generalize.

What can a dreaming job learn from an email draft?

Draft for reviewThe agent proposes a reply in the user’s voice.
Human reviewThe user can edit, approve, reject or leave the draft unsent.
Sent emailThe recipient gets the version the user chose to send.
Later outcomeDid the recipient reply? Did the exchange help?
Dreaming jobReviews the run and distills useful observations as they become available.
Memory for later runsGuides future decisions about what deserves a reply and how to write it.
Review feedback can reach memory whether or not the user sends the draft. Evidence about the recipient’s response arrives separately and only after a message goes out.
Read the diagram as text
  • Draft for review. The agent proposes a reply in the user’s voice.
  • Human review. The user can edit, approve, reject or leave the draft unsent.
  • Sent email. The recipient gets the version the user chose to send.
  • Later outcome. Did the recipient reply? Did the exchange help?
  • Dreaming job. Reviews the run and distills useful observations as they become available.
  • Memory for later runs. Guides future decisions about what deserves a reply and how to write it.
  • Draft for review → Human review: Present the proposed reply.
  • Human review → Sent email: Only if the user sends it.
  • Sent email → Later outcome: Observe what follows.
  • Human review → Dreaming job: Edits, rejection or non-use.
  • Later outcome → Dreaming job: Evidence from the exchange.
  • Dreaming job → Memory for later runs: Save what generalizes.

Silence can be a successful result

A two-by-two matrix compares acting or staying quiet with whether action is worthwhile. The four outcomes are useful action, noise, missed opportunity, and useful silence.Open full source frame
The blue diagonal pairs two good calls an agent can make: draft the reply you owe, or stay quiet when nothing important has changed. Drafting a reply to a newsletter creates noise. Missing a time-sensitive thread may be the costlier mistake.

How do you tell whether a proactive agent made a good decision? Separate two questions. Did the agent bring the event to your attention? And did the event actually deserve your attention? Crossing those answers gives four outcomes, including two very different reasons you might hear nothing. 13:53

  • Useful notification. The agent recognizes something that needs your involvement and brings it to you.
  • Noise. It asks you to review a reply to a newsletter or spam email.
  • Missed opportunity. It fails to recognize something important and leaves you unaware. Runkle considers this potentially the most consequential error.
  • Useful silence. It correctly leaves an unimportant event alone.

This is where the history of unanswered email earns its keep. If Runkle repeatedly ignores a kind of message and nothing bad comes of it, the assistant has a reason to keep quiet about similar messages. If a late response has consequences, it has a reason to interrupt next time. The outcome changes what the same apparent lack of feedback means.

Give people a place to review work in batches

Suppose the assistant has correctly identified a batch of messages worth answering. How should it deliver the drafts? Sending each one as a separate Slack ping leaves the user with a stream of interruptions and an awkward editing job. Runkle shows the alternative her team uses for email, a dedicated inbox where users can work through drafts in bulk. 15:03

A good review interface does double duty. It makes it easier to get through the backlog, and the edits people make there are precisely the feedback the memory system needs to improve future drafts.

For other work, a separate inbox would be one more place to remember to check. Runkle estimates that she does about 90% of her coding through Slack. Coding agents can tell her there when a change is ready, or follow up with the appropriate reviewers in the same place colleagues already ask each other for reviews.

The default interaction can stay asynchronous. Ordinary work waits in a review queue, the conversation continues, and the agent can still interrupt when something genuinely needs attention now.

Specify the constraints before handing over more decisions

The ability to keep pursuing a goal is also a weakness of the agent loop. Give it a narrow objective and it may pursue that objective remarkably well while ignoring requirements a person in the field would take for granted. A useful goal description has to say what the agent should optimize given the applicable rules, regulations and circumstances.

Runkle proposes extending an idea from context management to autonomy. With a limited model context window, progressive disclosure means supplying information when it becomes relevant. Her proposed progressive disclosure of autonomy would gradually reduce the decisions that require a human as the agent learns preferences and earns trust. 17:40

For email, she would eventually like the assistant to send some messages without her individual approval. For coding, she might want the agent to get an entire task to the point where only a final sign-off remains. These are aspirations. The appropriate point to relax review depends on how well the agent has learned the work.

That changes the engineering questions around the agent. Building a good harness, the software that runs an individual agent and supplies its working context, is still difficult. Runkle expects more attention to shift toward orchestration. Where do people reach their agents? How do agents communicate with one another? How do they keep making progress on a shared goal over much longer periods?

There is a familiar engineering problem hiding in those questions. Developers already spend considerable effort getting the right context to a model at the moment it needs to make a decision. Now the human who gets pulled into a run needs the same consideration. Runkle calls that attention engineering.

Where knowledge lives and who gets to use it

An audience question gets at a practical ambiguity in the email example. How to write an email could live in memory or in a reusable skill. And if you need to know what someone actually sent, a tool can retrieve the message itself. How should a developer divide the knowledge among those options? 20:00

Runkle uses three kinds of memory as a working heuristic for what to give an agent.

  • Procedural memory goes into skills. A skill guides the agent through a particular workflow, such as how to handle a request to draft a reply.
  • Semantic memory can start in files. Facts and preferences, such as the user’s preferred writing style, can be stored directly.
  • Episodic memory calls for search. When the details of a previous interaction matter, the agent can look through earlier threads and sessions.

When personal and company preferences disagree

A separate question is whose knowledge wins. At LangChain, organizational memory takes precedence over personal memory when they conflict. Runkle might prefer the old LangChain green, but Content Studio should still use the company blue. Lowercase lettering is fair game because the shared requirements leave room for it.

Access also varies by user. A sales representative and a deployed engineer have different permissions in LangChain’s go-to-market agent, GTM Agent. The harness assembles context just in time, using role-based and attribute-based access controls to determine which skills, memories and guidelines to include.

A shared Slack thread exposes a hole in that design. Suppose the agent has already loaded Runkle’s personal memory and context. A colleague joins the conversation. Whose context should the agent now use, and what can it carry forward from the earlier exchange? Runkle describes this as an open problem for the team.

Who can change what everyone remembers?

The distinction matters on writes, too. GTM Agent serves hundreds of people across LangChain. It can record an individual preference such as lowercase lettering directly. A change to organizational memory goes through the GTM Engineering team and pull request review.

The engineers work with the teams that know the domain. Marketing has considerable say over marketing skills, and Design helps shape Content Studio’s skills. That lets the agent pick up individual preferences quickly while giving people a chance to review instructions that will affect their colleagues.

How often should an agent change its mind?

One lowercase slide deck is a poor basis for concluding that its author wants every future deck in lowercase. Wait too long to recognize the preference, though, and the author has to keep repeating it. An audience member asks how often a dreaming job should commit new memories. 24:43

Runkle ran into the first failure herself. Her initial dreaming job was far too eager to remember things. It saved practically every piece of feedback she gave, including corrections that made sense only for the particular content she was working on.

Her working recommendation is to separate two maintenance jobs. Scan recent threads fairly often and add relevant information to memory so the agent can respond to changing preferences. Run other jobs to clean up the accumulated memories, including deduplicating entries. Heavier use provides more opportunities to refine what the agent remembers and creates more maintenance work. The right cadence remains an open question.

Asked what tooling to use, especially for shared agents, Runkle recommends LangChain’s own platform and identifies two capabilities to look for. The harness needs to assemble context for the current user under the appropriate permissions. The infrastructure also needs to run the background jobs that maintain the memories the harness will draw from.

A trip expires. A peanut allergy stays important.

Recency is a tempting way to rank memories. Something you did yesterday often matters more than something you did a month ago. But the final audience question brings out a distinction between the age of a memory and its salience, or how much it should influence the current decision. 26:57

Imagine an agent that orders your food. It should remember that you’re in New York this week and order from restaurants there. It should also remember that you’re allergic to peanuts. Letting both facts fade at the same rate would make little sense. The location has a limited period of usefulness. The allergy needs to remain prominent however long ago you mentioned it.

That calls for domain knowledge in the dreaming job itself. Runkle suggests explicitly telling it where allergy information belongs and how important it is. A job that merely summarizes recent conversations has no reliable reason to keep an old, rarely repeated constraint at the top of its priorities.

The questioner also asks whether some preferences might be easier to represent mathematically than in words. A restaurant’s atmosphere and its fit with someone’s other tastes might be interesting candidates. Runkle hasn’t explored that approach much. Her preference is to start with ordinary files while the hard problems of deciding what to retain, revise and forget are still very much in play.

Resources

From the talk

  • Follow the presentation’s examples and compare Content Studio’s application of LangChain branding with Runkle’s personal typography preferences.

  • Runkle’s companion article goes further into LangChain’s sales and engineering agents. It suggests measures such as draft approval time, reply rates and the share of agent check-ins that users act on.

  • Configure fixed recurring jobs or expose tools that let an agent schedule its own reminders and follow-ups. The examples also cover thread persistence and delivery to Slack.

  • Python examples show how to separate personal and organizational memory, search past conversations, restrict writes to shared files and consolidate memories in the background.

  • Explore how a supervisor can delegate background work, track its status and handle requests for human input while the main conversation continues.

Transcript download
Full transcript

Loading transcript…