DeepAgents CLI: A New Tool for Efficient Coding and Research



Ted Hisokawa
Nov 01, 2025 12:25

LangChain introduces DeepAgents CLI, a tool for coding, research, and building agents with persistent memory, enhancing productivity through terminal-based operations.



DeepAgents CLI: A New Tool for Efficient Coding and Research

LangChain has announced the launch of DeepAgents CLI, a command-line interface designed to streamline coding, research, and the creation of agents with persistent memory. This innovative tool allows users to create and manage custom DeepAgents directly from their terminal, according to LangChain.

Features and Capabilities

DeepAgents CLI offers a suite of functionalities aimed at enhancing productivity. Users can read, write, and edit files within their projects, execute shell commands with human approval, and search the web for up-to-date information. Additionally, the tool can make HTTP requests to APIs and maintain a persistent memory system, allowing it to learn and remember information across different sessions.

One of the tool’s standout features is its ability to plan tasks using visual to-do lists, making it a versatile assistant for developers and researchers alike. The CLI supports both Anthropic (Claude) and OpenAI models, with Anthropic Claude Sonnet 4 being the default model and Tavily used for web searches.

Installation and Setup

Installing DeepAgents CLI is straightforward. Users can simply run the command pip install deepagents-cli or, if using uv, uv pip install deepagents-cli. After installation, users need to set up their API keys by adding them to the .env file in the project root. This setup ensures that DeepAgents can automatically load the necessary configurations.

Getting Started with DeepAgents

Once installed, launching DeepAgents in the project directory is as simple as entering deepagents or, for uv users, uv run deepagents. The CLI can assist with tasks such as adding type hints to functions, where it reads the relevant files, analyzes them, proposes changes, and seeks user approval before executing those changes. An option for auto-accepting edits is also available to expedite the process.

Leveraging Persistent Memory

DeepAgents CLI’s persistent memory system is a powerful feature that allows it to store and recall information across sessions. This system supports a Memory-First Protocol, which involves checking stored memories for relevant knowledge during research, searching memory files for uncertainties before responding, and saving new information as it is learned. This capability is particularly useful for maintaining consistency and efficiency in repetitive or complex tasks.

For instance, users can teach the agent specific API patterns, which it will then remember and apply in future interactions, ensuring adherence to predefined conventions.

Managing Multiple Agents

The CLI also supports the creation of specialized agents for different projects or roles. Users can list existing agents, create new ones, or reset an agent to its default state, offering flexibility in managing various projects simultaneously.

LangChain encourages users to explore the capabilities of DeepAgents CLI and contribute to its ongoing development. This tool presents a significant advancement in AI-driven project management and research, promising to enhance productivity and streamline workflows.

Image source: Shutterstock


Source: https://blockchain.news/news/deepagents-cli-efficient-coding-research