Better HN
topnewbestaskshowjobs
Log inSign up

kacper-vstorm

2 karma · joined Dec 9, 2025 (11mo ago) · 47 submissions

Submissions

comment 7mo ago · link · parent

Author here. pydantic-deep is an open-source AI agent framework built on Pydantic AI. This release adds ACP (Agent Client Protocol) support so agents can run inside editors like Zed with streaming and tool visibility.

Other highlights: subagents are now full deep agents by default (filesystem, web, memory), thinking is enabled by default, Anthropic prompt caching is on, and there are 5 new lifecycle hooks for session tracking and error handling.

CHANGELOG: https://github.com/vstorm-co/pydantic-deepagents/blob/main/C...

comment 8mo ago · link · parent

We maintain 5 open-source libraries built on Pydantic AI: a guardrails/shields library, a subagent delegation library, a context summarization library, a filesystem backend, and a full-stack template.

When Pydantic AI shipped capabilities in v1.71+, we migrated all of them. The biggest lesson: we deleted our entire middleware abstraction layer (MiddlewareAgent, MiddlewareChain, ParallelMiddleware, pipeline compiler, config loaders). All replaced by subclassing AbstractCapability and overriding a few methods.

The article walks through what capabilities/hooks/agent specs actually are, with before/after code from each of our repos.

Key architectural insight: capabilities compose automatically. Before-hooks fire in registration order, after-hooks reverse, wrap-hooks nest as middleware. You don't build composition logic anymore -- the framework handles it.

Happy to answer questions about the migration or the specific libraries.

- Shields/guardrails: https://github.com/vstorm-co/pydantic-ai-middleware - Subagents: https://github.com/vstorm-co/pydantic-ai-subagents - Summarization: https://github.com/vstorm-co/pydantic-ai-summarization

comment 8mo ago · link · parent

Everyone has opinions about AI frameworks. Few people show code.

We maintain full-stack-ai-agent-template — a production template for AI/LLM applications with FastAPI, Next.js, and 75+ configuration options. One of those options is the AI framework. You pick from Pydantic AI, LangChain, LangGraph, or CrewAI during setup, and the template generates the exact same chat application with the exact same API, database schema, WebSocket streaming, and frontend. Only the AI layer differs.

This gave us a unique opportunity: a controlled comparison. Same functionality, same tests, same deployment — four implementations.

4.

Same Chat App, 4 Frameworks: Pydantic AI vs. LangChain vs. LangGraph vs. CrewAI(oss.vstorm.co ↗)

1 points · by kacper-vstorm · 8mo ago · 1 comment

comment 8mo ago · link · parent

TL;DR

    BrowseComp is a web browsing benchmark, not a knowledge or reasoning test. It evaluates whether AI agents can navigate the open web to find specific, obscure information.
    Questions are “inverted” - authors start with a fact and work backwards to create a question that’s easy to verify but extremely hard to solve through search.
    Brute-force search doesn’t work. The search space is deliberately massive - thousands of papers, matches, events - making systematic enumeration impractical.
    Grading uses an LLM judge with a confidence score, creating an interesting meta-layer where one model evaluates another’s certainty.
    This benchmark reveals the gap between “can answer questions” and “can do research” - the exact capability that separates chatbots from useful AI agents.

6.

BrowseComp: The Benchmark That Tests What AI Agents Can Find(oss.vstorm.co ↗)

1 points · by kacper-vstorm · 8mo ago · 2 comments

comment 8mo ago · link · parent

## Quick Install

```bash pip install pydantic-deep[cli] pydantic-deep chat ```

## What is this?

The pydantic-deep CLI wraps the full [pydantic-deep](https://github.com/vstorm-co/pydantic-deepagents) agent framework into a terminal tool that works like Claude Code or LangChain's Deep Agents CLI. It gives an LLM full access to your local filesystem, shell, planning tools, and skills — so it can autonomously execute complex coding tasks.

Unlike simple chat wrappers, pydantic-deep implements the *deep agent architecture*: planning, subagent delegation, persistent memory, and context management — the same patterns powering Claude Code, Manus AI, and Devin.

## Usage

### Interactive Chat

```bash pydantic-deep chat pydantic-deep chat --model anthropic:claude-sonnet-4-20250514 ```

Features: 17 slash commands (`/help`, `/compact`, `/context`, `/model`, ...), colored diff viewer for file approvals, visual progress bar, tool call timing, @file mentions, and Ctrl+V image paste.

### Non-Interactive (Benchmark Mode)

```bash # stdout = response only (clean for piping), stderr = diagnostics pydantic-deep run "Fix the failing tests in src/" pydantic-deep run "Create a REST API with FastAPI" --model openai:gpt-4.1 pydantic-deep run "Refactor the auth module" --quiet ```

### Docker Sandbox

Run in an isolated Docker container:

```bash pydantic-deep run "Build a web scraper" --sandbox --runtime python-web pydantic-deep chat --sandbox --runtime python-datascience ```

8.

Pydantic Deep Agents CLI(github.com ↗)

1 points · by kacper-vstorm · 8mo ago · 1 comment

9.

Full-Stack AI Agent Template(github.com ↗)

1 points · by kacper-vstorm · 8mo ago · discuss

12