existential-birds avatar

Deepagents Implementation

This is a batteries-included agent framework built on LangGraph that handles the repetitive setup work. You get a create_deep_agent factory that spins up agents with configurable backends (ephemeral state, real filesystem, persistent store, or hybrid routing), built-in middleware for common tasks, and a subagent system that lets you delegate work through a task tool. The backend flexibility is genuinely useful: you can start with StateBackend for prototyping, switch to FilesystemBackend when you need actual disk access and shell execution, or use CompositeBackend to route different paths to different storage strategies. It returns a standard LangGraph graph, so streaming and checkpointing work as expected. Good fit if you're tired of wiring up the same agent infrastructure on every project.

skills.sh installs
140
GitHub stars
87
last updated
Aug 21, 2026

Install

$ npx -y skills add existential-birds/beagle --skill deepagents-implementation --agent claude-code

Installs into .claude/skills of the current project.

Files

Deep Agents Implementation

Core Concepts

Deep Agents provides a batteries-included agent harness built on LangGraph:

  • create_deep_agent: Factory function that creates a configured agent
  • Middleware: Injected capabilities (filesystem, todos, subagents, summarization)
  • Backends: Pluggable file storage (state, filesystem, store, composite)
  • Subagents: Isolated task execution via the task tool

The agent returned is a compiled LangGraph StateGraph, compatible with streaming, checkpointing, and LangGraph Studio.

Essential Imports

# Core
from deepagents import create_deep_agent

# Subagents
from deepagents import CompiledSubAgent

# Backends
from deepagents.backends import (
    StateBackend,       # Ephemeral (default)
    FilesystemBackend,  # Real disk
    StoreBackend,       # Persistent cross-thread
    CompositeBackend,   # Route paths to backends
)

# LangGraph (for checkpointing, store, streaming)
from langgraph.checkpoint.memory import InMemorySaver
from langgraph.checkpoint.postgres import PostgresSaver
from langgraph.store.memory import InMemoryStore

Sponsors

Details

Repository
github.com/existential-birds/beagle
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from existential-birds/beagle

All 40
1vm0-ai avatarpdf4mevm0-ai/vm0-skillsPDF4me API for PDF operations. Use when user mentions "PDF4me", "convert PDF", "PDF tools", or document conversion.138skills.sh installs
2TheBeardedBearSAS avatarsecurityTheBeardedBearSAS/claude-craftSécurité. Use when reviewing security, implementing auth, or hardening code.136skills.sh installs
3existential-birds avatardeepagents-code-reviewexistential-birds/beagleReviews Deep Agents code for bugs, anti-patterns, and improvements. Use when reviewing code that uses create_deep_agent, backends, subagents, middleware, or hum132skills.sh installs
4zzci avatarpma-memzzci/skillsKnowledge management skill for capturing, classifying, searching, and syncing project knowledge. Use when storing learnings, syncing BKD issue outcomes, or retr132skills.sh installs
5garfield-bb avatarsocial-media-automationgarfield-bb/hap-skills-collection自媒体运营自动化技能,支持小红书、抖音、微信公众号、视频号等平台的内容生成、图片生成、数据管理和自动化发布。包含 Tavily API 搜索、内容生成、图片生成、HAP 数据管理和自动化发布等完整流程。新增每日热点内容推荐功能。图片生成支持并行生成、自动下载、自动跳过已存在图片等优化功能。强制要求从 HAP "账号人设131skills.sh installs
6itsmostafa avatarrdsitsmostafa/aws-agent-skillsAWS RDS relational database service for managed databases. Use when provisioning databases, configuring backups, managing replicas, troubleshooting connectivity131skills.sh installs