Gen-AI Developer Classroom notes 05/Jun/2026

High level Overview of What happends inside a deep agent

  • High level flow

Preview

  • Deep agent is Langchain’s framework for building multi-agent systems with structured subagent delegation.
  • Each sub agent is an isolated agent with
    • Its own system prompt/instruction
    • Its own tools
    • Its own execution context
  • Sub agent behavior can be defined as a skill file

  • Sub agents can use backends

    • State: In memory dictionary (ephemeral)
    • FileSystme: Read/Write Files
    • Store: Persistent key-value stores
    • Composite: Combine multiple backends
  • Middleware: Wraps subagent execution

Lets assume we want to create a deep agent

Travel Planner:

  • Scenario: User has asked 3-day trip to North east india
  • Orchestrator (deep agent)

    • Plans
    • Task list
    • spawns 3 sub agents in parallel
      • Hotel Finder
      • Flight Searcher
      • Itineary Builder
    • Merges the results
    • Final travel plan
  • For performing the above mentioned deep agents have different harness capabilities

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading