Navigate Select ESC Close

Context Engineering for AI Agents with LangChain and Manus

2025-10-14 Science & Technology
67.0k
1.8k
50
LangChain
LangChain
194.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Join us for a deep dive into context engineering – the critical practice that determines how well your AI agents perform in production. Lance Martin from LangChain and Manus co-founder Yichao "Peak" Ji share battle-tested strategies for managing context windows, optimizing performance, and building agents that scale. Peak was recently named one of MIT's Innovators Under 35 for his work on AI agents. Here, we cover Manus's context engineering approach. Strategies include: (1) **Context reduction** via dual-form tool results (full/compact) with policy-based compaction and schema-driven summarization (2) **Context offloading** through layered action spaces (function calling → sandbox utils → packages/APIs) with filesystem-based state management and shell utilities instead of vectorstore indexing (3) **Context isolation** using minimal sub-agents (planner, knowledge manager, executor) with agent-as-tool paradigm and constrained decoding for schema-based inter-agent communication. 📊 Access the Presentations: Lance Martin's slides (LangChain): https://docs.google.com/presentation/d/16aaXLu40GugY-kOpqDU4e-S0hD1FmHcNyF0rRRnb1OU/edit?slide=id.p#slide=id.p Yichao "Peak" Ji's slides (Manus): https://drive.google.com/file/d/1QGJ-BrdiTGslS71sYH4OJoidsry3Ps9g/view?usp=sharing Ready to start building reliable agents? Sign up for LangSmith, our agent observability & evals platform: https://www.langchain.com/langsmith/?utm_medium=social&utm_source=youtube&utm_campaign=q4-2025_meetup-manus_co Learn how to observe and evaluate agents on LangChain Academy: https://academy.langchain.com/courses/quickstart-langsmith-essentials/?utm_medium=social&utm_source=youtube&utm_campaign=q4-2025_youtube-academy-links_aw Chapters 0:01:00 Introduction to context engineering 0:12:00 Why context engineering in Manus 0:15:00 Context reduction in Manus 0:19:20 Context isolation in Manus 0:22:17 Context offloading in Manus 0:29:00 Avoid context over-engineering 0:31:00 Q&A: Explain sandbox utils in Manus 0:31:55 Q&A: Indexing (vectorstore) vs just using files 0:32:50 Q&A: Memory in Manus 0:34:30 Q&A: Manus and The Bitter Lesson 0:36:44 Q&A: Data format 0:37:45 Q&A: Summarization tips 0:40:00 Q&A: Sub-agents as tools 0:43:57 Q&A: Model choice 0:46:20 Q&A: Tool selection 0:49:48 Q&A: Planning 0:53:35 Q&A: Guardrails 0:55:39 Q&A: Evals 0:57:15 Q&A: Using RL

Top Comments (10)

@kofi-tawiahagyeman 2025-10-22

Martin didn't come to interview. He came to squeeze the source out of Manus to go code. But shout-out to the Manus guy. He is very liberal and generous with giving out all the juice.

33
@idesignengineer 2025-10-28

Peak is one of the few who actually takes a clear stance — impressive, considering how vague most others are.👏

12
@MarkusEicher70 2025-10-14

Thanks for this informative session. I learned quite a lot about agentic AI systems. On the slide "Why Context Engineering - The Second Trap" Peak mentions that we should not rebuild what base-model companies already have. This stands as long as you are allowed or willing to use proprietary models. But I get the idea. Do not reinvent the wheel if you don't need to. Interesting point about costs for opensource in regard to KV Cache. Never thought about this in detail. Another takeaway we got is to do model switching to test and evaluate our system for different models and their iterations. This is a good idea. Overall, a good session. Hope to find the time to do some work with Manus and LangChain anytime soon.

5
@BlizzardzRS 2025-12-27

I’ve watched hundreds of AI & agent related videos, and this was one of the best. Super high signal. Thank you both for sharing.

3
@keithhupp5995 2026-01-08

I learned a lot from watching this interview. I'm a big fan of Manus. I think it's probably the best agent so far. And it's really exciting to hear this new terminology. I'm going to have to do some deep research myself and try to find some more YouTubers that use this kind of terminology.

3
@ayeshaimran 2025-10-16

the amount of info packed in this video is incredible! found the discussion regarding tool calling and handling the most insightful. gonna have to give this “tools-on-demand” strategy a try👀👀

3
@StraussBR 2025-10-24

So much valuable experience you got to admire the openness of Manus as a company they embrace the spirit of the langchain community

1
@Superteastain 2025-10-16

This is awesome. I've been looking for something like this for the last couple of months. Awesome.

1
@AmandaMooreUK 2025-10-16

Fantastic session, anyone seriously looking at Context Engineering , have a look, this is Langchain and Manus, really helpful nfo and insights. Thanks to you all. Excellent, no froth or hyperbole, real knowledge phew!

0
@SAQIBJAWAD-o1o 2026-05-24

Thanks for sharing this webinar transcript on context engineering. Insightful points from Lance and Pete on agents and offloading. Appreciate it. SAQIB JAWAD Pakistan

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot