SkillsMay 14, 2026·2 min read

Pydantic Deep Agents — Python Deep Agent Harness

Batteries-included Python agent harness with tool-calling, memory, hooks, and a terminal assistant CLI; verified 788★, pushed 2026-05-14.

Agent ready

Review-first install path

This asset needs a review step. The copied prompt tells the agent to dry-run, show the writes, then proceed only after confirmation.

Needs Confirmation · 64/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Review-first command
npx -y tokrepo@latest install e9d45a90-e88f-5ec8-a619-0c4f158e9c45 --target codex

Dry-run first, confirm the writes, then run this command.

Intro

Batteries-included Python agent harness with tool-calling, memory, hooks, and a terminal assistant CLI; verified 788★, pushed 2026-05-14.

Best for: Python teams building tool-using agents who want a Claude Code–style harness

Works with: Python 3.10+; works with multiple providers/models via Pydantic AI integrations (per README)

Setup time: 12-25 minutes

Key facts (verified)

  • GitHub: 788 stars · 88 forks · pushed 2026-05-14.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: pip install "pydantic-deep[cli]" && pydantic-deep --help.

Main

  • Start with the CLI to validate your environment, then switch to the framework API once you’ve chosen your tool set and provider config.

  • Use lifecycle hooks (PRE/POST_TOOL_USE) to add safety gates, logging, and policy checks around shell/file tools.

  • Keep memory explicit: treat MEMORY.md (and similar context files) as audited inputs, not a dumping ground for secrets.

  • Prefer “capabilities” over ad-hoc glue code: README frames tools/memory/sandbox as composable capabilities you can enable per agent.

Source-backed notes

  • README describes a batteries-included agent harness (tools, memory, sandboxing, unlimited context) plus a terminal assistant CLI.
  • README documents a one-line installer (install.sh) and pip-based install for Python environments.
  • README mentions Claude Code-style lifecycle hooks (PRE/POST_TOOL_USE) as a first-class feature.

FAQ

  • Is it just a library?: No — README includes both a CLI terminal assistant and a framework API for building production agents.
  • How do I install?: Use pip install "pydantic-deep[cli]" or the one-line install.sh method described in README.
  • What’s the safest way to extend it?: Add policy checks in lifecycle hooks and keep tool permissions scoped per agent.
🙏

Source & Thanks

Source: https://github.com/vstorm-co/pydantic-deepagents > License: MIT > GitHub stars: 788 · forks: 88

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets