Subdomain 1.1: Differences between create_agent and deepagents
1.Which statement correctly describes the relationship between the deepagents package and create_agent?
- A.deepagents is a separate package that extends create_agent, reusing its core building blocks to add higher-level capabilities.
- B.deepagents is a newer package that supersedes create_agent, which is now deprecated in favor of deepagents' own agent loop.
- C.deepagents is an independent package that implements its own agent loop alongside create_agent, sharing none of its code.
- D.deepagents is a lower-level package that create_agent wraps, adding convenience defaults on top of its core agent loop.
Show answer & explanation
Correct answer: A — deepagents is a separate package that extends create_agent, reusing its core building blocks to add higher-level capabilities.
- A. deepagents is documented as a separate package that builds on create_agent's foundational building blocks and layers extra capabilities on top. create_agent stays a distinct, lower-level foundation that deepagents reuses.
- B. deepagents does not supersede create_agent, and create_agent is not deprecated. It remains the recommended choice for lightweight, low-level agent building, and deepagents is built on it rather than replacing it.
- C. deepagents does not implement a separate agent loop. It is built on create_agent's core building blocks, so the two packages share a foundation and are not parallel, independent implementations.
- D. This reverses the dependency. create_agent is the standalone, lower-level builder, and deepagents depends on it as a foundation. create_agent does not wrap deepagents or sit on top of it.