# Pydantic

Python data validation library that uses type annotations for schema validation and serialization.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Write End-to-End Tests in Your Backend's Language

DevFeed: [Write End-to-End Tests in Your Backend's Language](<https://devfeed.tech/articles/write-end-to-end-tests-in-your-backend-s-language-41361.md>)

Original publisher: [Read original article](<https://spin.atomicobject.com/write-end-to-end-tests-in-your-backends-language/>)

Author: James McConkey

Published: 2026-09-17T12:00:42Z

Content type: tutorial

Language: en

Sources: [Atomic Object](<https://devfeed.tech/sources/atomic-object.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Playwright](<https://devfeed.tech/topics/playwright.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Python](<https://devfeed.tech/topics/python.md>), [test data](<https://devfeed.tech/topics/test-data.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [SQLAlchemy](<https://devfeed.tech/topics/sqlalchemy.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>)

Tags: [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [docker-compose](<https://devfeed.tech/tags/docker-compose.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [project-team-management](<https://devfeed.tech/tags/project-team-management.md>), [python](<https://devfeed.tech/tags/python.md>), [sqlalchemy](<https://devfeed.tech/tags/sqlalchemy.md>), [tests](<https://devfeed.tech/tags/tests.md>), [the-software-life](<https://devfeed.tech/tags/the-software-life.md>)

### AI overview

This article argues that end-to-end test-data setup is often the main design challenge, because tests must create consistent domain records while running alongside other tests. It recommends using browser-testing tools in the backend's language when possible, keeping meaningful relationships inline, and extracting small creation helpers without hiding scenario intent.

### Source excerpt

The browser is often the easiest part of an end-to-end test. Consider a test that verifies a user can complete an overdue task. The visible interaction is small: sign in, find the task, click Complete, and observe the new status. Before any of that can happen, the test needs a workspace, a user, a project, and [...] The post Write End-to-End Tests in Your Backend's Language appeared first on Atomic Spin.

## Browser automation with Pydantic AI + Playwright

DevFeed: [Browser automation with Pydantic AI + Playwright](<https://devfeed.tech/articles/browser-automation-with-pydantic-ai-playwright-21751.md>)

Original publisher: [Read original article](<http://blog.pamelafox.org/2026/08/browser-automation-with-pydantic-ai.html>)

Author: Pamela Fox (noreply@blogger.com)

Published: 2026-08-20T21:57:18Z

Content type: tutorial

Language: en

Sources: [Pamela Fox](<https://devfeed.tech/sources/pamela-fox.md>)

Topics: [Playwright](<https://devfeed.tech/topics/playwright.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Browser Automation](<https://devfeed.tech/topics/browser-automation.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Azure OpenAI](<https://devfeed.tech/topics/azure-openai.md>), [Entra ID](<https://devfeed.tech/topics/entra-id.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [OAuth 2.0](<https://devfeed.tech/topics/oauth2.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [automation](<https://devfeed.tech/tags/automation.md>), [azure-openai](<https://devfeed.tech/tags/azure-openai.md>), [browser](<https://devfeed.tech/tags/browser.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-foundry](<https://devfeed.tech/tags/microsoft-foundry.md>), [openai](<https://devfeed.tech/tags/openai.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

This tutorial explains how to combine Pydantic AI with Playwright to build agents that browse websites programmatically. It covers connecting Pydantic AI to Microsoft Foundry models through an OpenAI-compatible endpoint, using Entra token-based authentication, and applying Playwright for browsing, manual QA, and design iteration.

### Source excerpt

When we build agents, we often want to give them the ability to browse the web: open webpages, navigate from one page to the other, and read the content of a webpage. By combining Pydantic AI with the Playwright capability from Pydantic AI Harness, we can build agents that browse the web safely and programmatically. Using Pydantic AI with Microsoft Foundry models Pydantic AI is an open-source model-agnostic framework from Pydantic for building LLM-based applications and agents. It's type-safe and supports OpenTelemetry, making it a great choice for robust production applications. We can use Pydantic-AI with Microsoft Foundry models using either API keys or Entra token-based authentication. When possible, we always recommend the keyless route, so that's what we'll demonstrate here. We use the azure-identity package to authenticate with Entra, using either local or managed identity, and get back a token provider callback function for that credential: from azure.identity.aio import AzureDeveloperCliCredential, get_bearer_token_provider credential = AzureDeveloperCliCredential() token_provider = get_bearer_token_provider(credential, "https://cognitiveservices.azure.com/.default") Then we use the OpenAI package to configure the model connection: from openai import AsyncOpenAI client = AsyncOpenAI( base_url=os.environ["AZURE_OPENAI_ENDPOINT"] + "/openai/v1", api_key=token_provider, ) model = OpenAIChatModel( model_name=os.environ["AZURE_OPENAI_CHAT_DEPLOYMENT"], provider=OpenAIProvider(openai_client=client), ) Let's explain the options used above: base_url: We point this at the OpenAI-compatible endpoint for our Foundry model. This endpoint works for Azure OpenAI models (like gpt-5.4, which this project deploys), and for cross-provider Foundry models that support the OpenAI v1 API, like Kimi-K2.7-Code. The base URL looks like "https://AZURE_OPENAI_SERVICE_NAME.openai.azure.com/openai/v1". api_key: We pass in the token provider callback function that generates OAuth2 token

## Learning Path: FastAPI: Python API Development With Light Speed

DevFeed: [Learning Path: FastAPI: Python API Development With Light Speed](<https://devfeed.tech/articles/learning-path-fastapi-python-api-development-with-light-speed-4379.md>)

Original publisher: [Read original article](<https://realpython.com/learning-paths/fastapi/>)

Author: Real Python

Published: 2026-07-22T12:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Python](<https://devfeed.tech/topics/python.md>), [API](<https://devfeed.tech/topics/api.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [CRUD](<https://devfeed.tech/topics/crud.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-documentation](<https://devfeed.tech/tags/api-documentation.md>), [database](<https://devfeed.tech/tags/database.md>), [development](<https://devfeed.tech/tags/development.md>), [python](<https://devfeed.tech/tags/python.md>), [rest](<https://devfeed.tech/tags/rest.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [validation](<https://devfeed.tech/tags/validation.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

This learning path teaches Python developers how to build REST APIs and complete web applications with FastAPI. It covers automatic validation, serialization, interactive documentation, Pydantic data models, CRUD operations, Jinja2-rendered web pages, and a URL shortener project.

### Source excerpt

Learn FastAPI from the ground up. Build REST APIs, serve web pages with Jinja2 templates, and create a complete URL shortener project in Python.

## Starlette vs FastAPI: what FastAPI actually adds

DevFeed: [Starlette vs FastAPI: what FastAPI actually adds](<https://devfeed.tech/articles/starlette-vs-fastapi-what-fastapi-actually-adds-20058.md>)

Original publisher: [Read original article](<https://www.honeybadger.io/blog/starlette-vs-fastapi/>)

Author: Farhan Hasin Chowdhury

Published: 2026-07-20T07:00:00Z

Content type: comparison

Language: en

Sources: [Honeybadger](<https://devfeed.tech/sources/honeybadger.md>)

Topics: [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Python](<https://devfeed.tech/topics/python.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Cross-origin resource sharing (CORS)](<https://devfeed.tech/topics/cors.md>)

Tags: [cors](<https://devfeed.tech/tags/cors.md>), [data-validation](<https://devfeed.tech/tags/data-validation.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [python](<https://devfeed.tech/tags/python.md>), [python-articles](<https://devfeed.tech/tags/python-articles.md>), [starlette](<https://devfeed.tech/tags/starlette.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

### AI overview

This comparison explains how FastAPI builds on Starlette and Pydantic. Starlette provides the ASGI-based HTTP layer, while Pydantic handles typed data validation; FastAPI adds type-driven parameter parsing, dependency injection, and automatic OpenAPI documentation. It also discusses when using raw Starlette may be preferable.

### Source excerpt

FastAPI is built on Starlette, but most developers never look at what's underneath. Learn what FastAPI actually adds on top of Starlette and Pydantic, what comes straight from Starlette, and when dropping down to raw Starlette makes more sense than pulling in the full stack.

## Using Evaluation Frameworks with Agent Observability

DevFeed: [Using Evaluation Frameworks with Agent Observability](<https://devfeed.tech/articles/using-evaluation-frameworks-with-agent-observability-2318.md>)

Original publisher: [Read original article](<https://www.datadoghq.com/blog/using-evaluation-frameworks-with-agent-observability/>)

Author: Jennifer Mickel; Eddie Cai

Published: 2026-06-22T00:00:00Z

Content type: article

Language: en

Sources: [Datadog | The Monitor blog](<https://devfeed.tech/sources/datadog-the-monitor-blog.md>)

Topics: [agent observability](<https://devfeed.tech/topics/agent-observability.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [experiments](<https://devfeed.tech/topics/experiments.md>), [Traces](<https://devfeed.tech/topics/traces.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [agent-observability](<https://devfeed.tech/tags/agent-observability.md>), [ai-observability](<https://devfeed.tech/tags/ai-observability.md>), [code](<https://devfeed.tech/tags/code.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [development](<https://devfeed.tech/tags/development.md>), [evals](<https://devfeed.tech/tags/evals.md>), [integration](<https://devfeed.tech/tags/integration.md>), [llm](<https://devfeed.tech/tags/llm.md>), [observability](<https://devfeed.tech/tags/observability.md>), [traces](<https://devfeed.tech/tags/traces.md>)

### AI overview

This article explains how Datadog Agent Observability integrates existing DeepEval and Pydantic Evals frameworks. It covers running evaluations in experiments, connecting evaluation scores to production traces, and continuously monitoring LLM evaluation quality across development and deployment.

### Source excerpt

Run DeepEval and Pydantic Evals natively in Datadog Agent Observability. Track regressions and connect eval scores to production traces.

## From Contributor to Outreachy Intern: My Fedora Journey Begins

DevFeed: [From Contributor to Outreachy Intern: My Fedora Journey Begins](<https://devfeed.tech/articles/from-contributor-to-outreachy-intern-my-fedora-journey-begins-31155.md>)

Original publisher: [Read original article](<https://communityblog.fedoraproject.org/from-contributor-to-outreachy-intern-my-fedora-journey-begins/>)

Author: Aman .

Published: 2026-06-16T12:00:00Z

Content type: article

Language: en

Sources: [Fedora Community Blog](<https://devfeed.tech/sources/fedora-community-blog.md>)

Topics: [Fedora](<https://devfeed.tech/topics/fedora.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [API](<https://devfeed.tech/topics/api.md>), [release engineering](<https://devfeed.tech/topics/release-engineering.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [forgejo](<https://devfeed.tech/topics/forgejo.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Swagger](<https://devfeed.tech/topics/swagger.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [openid](<https://devfeed.tech/topics/openid.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [backend](<https://devfeed.tech/tags/backend.md>), [blog](<https://devfeed.tech/tags/blog.md>), [fedora-project-community](<https://devfeed.tech/tags/fedora-project-community.md>), [intern](<https://devfeed.tech/tags/intern.md>), [journey](<https://devfeed.tech/tags/journey.md>), [mentored-projects](<https://devfeed.tech/tags/mentored-projects.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [outreachy](<https://devfeed.tech/tags/outreachy.md>)

### AI overview

Aman describes his first two weeks as an Outreachy intern with the Fedora community. He introduces the Fedora Release Schedule Planner API project and outlines planned work on testing, CI reliability, OpenID Connect authentication, Fedora infrastructure integration, and deployment preparation.

### Source excerpt

Introduction Hi, I'm Aman, a software developer and open-source enthusiast who enjoys backend development, APIs, and building tools that are useful to others. I recently started my Outreachy internship with the Fedora community, and this is my first blog as an intern. In this post, I want to share what my first two weeks have [...] The post From Contributor to Outreachy Intern: My Fedora Journey Begins appeared first on Fedora Community Blog.

## How to build deep research agents using Temporal and Braintrust

DevFeed: [How to build deep research agents using Temporal and Braintrust](<https://devfeed.tech/articles/how-to-build-deep-research-agents-using-temporal-and-braintrust-35865.md>)

Original publisher: [Read original article](<https://temporal.io/blog/how-to-build-deep-research-agents-using-temporal-and-braintrust>)

Author: Martin Bergman

Published: 2026-06-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [parallel](<https://devfeed.tech/topics/parallel.md>), [retry](<https://devfeed.tech/topics/retry.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [build](<https://devfeed.tech/tags/build.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>), [observability](<https://devfeed.tech/tags/observability.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [research](<https://devfeed.tech/tags/research.md>), [retry](<https://devfeed.tech/tags/retry.md>), [tracing](<https://devfeed.tech/tags/tracing.md>)

### AI overview

This tutorial explains a multi-agent deep research pipeline built with Temporal and Braintrust. It covers planning, query generation, parallel web search, report synthesis, and the use of Durable Execution, evals, and observability to handle timeouts, partial failures, and difficult debugging.

### Source excerpt

Deep research agents are fragile in production. Here's how Temporal and Braintrust make them resilient with Durable Execution, evals, and tracing.

## Same-Day Model Integration: ESMC + ESMFold2 in Sheaf v0.11

DevFeed: [Same-Day Model Integration: ESMC + ESMFold2 in Sheaf v0.11](<https://devfeed.tech/articles/same-day-model-integration-esmc-esmfold2-in-sheaf-v0-11-40141.md>)

Original publisher: [Read original article](<https://korbonits.com/blog/2026-05-27-same-day-model-integration-esmc-esmfold2/>)

Published: 2026-05-27T00:00:00Z

Content type: article

Language: en

Sources: [Alex Korbonits](<https://devfeed.tech/sources/alex-korbonits.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [structure](<https://devfeed.tech/topics/structure.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [backends](<https://devfeed.tech/topics/backends.md>), [unit tests](<https://devfeed.tech/topics/unit-tests.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [code](<https://devfeed.tech/tags/code.md>), [language](<https://devfeed.tech/tags/language.md>), [model](<https://devfeed.tech/tags/model.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [release](<https://devfeed.tech/tags/release.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [structure](<https://devfeed.tech/tags/structure.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

The article explains how Sheaf v0.11 integrated ESMC and ESMFold2 on the same day they were released. It attributes the rapid integration to existing typed serving contracts and infrastructure, while describing verification, testing, H100 smoke testing, release work, and documentation.

### Source excerpt

Chan Zuckerberg Biohub released a new protein language model and structure predictor this morning. Sheaf v0.11 shipped with both, same day. The story is less about hustle and more about what a typed serving contract buys you when a new model lands.

## Introducing the Common AI Provider: LLM and AI Agent Support for Apache Airflow

DevFeed: [Introducing the Common AI Provider: LLM and AI Agent Support for Apache Airflow](<https://devfeed.tech/articles/introducing-the-common-ai-provider-llm-and-ai-agent-support-for-apache-airflow-32558.md>)

Original publisher: [Read original article](<https://airflow.apache.org/blog/common-ai-provider/>)

Author: Apache Airflow

Published: 2026-04-14T00:00:00Z

Content type: release

Language: en

Sources: [Apache Airflow Blog](<https://devfeed.tech/sources/apache-airflow-blog.md>)

Topics: [airflow](<https://devfeed.tech/topics/airflow.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [airflow](<https://devfeed.tech/tags/airflow.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-airflow](<https://devfeed.tech/tags/apache-airflow.md>), [community](<https://devfeed.tech/tags/community.md>), [llm](<https://devfeed.tech/tags/llm.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Apache Airflow is releasing the Common AI Provider 0.1.0, a provider package that adds LLM and AI agent capabilities directly to Airflow. Built on Pydantic AI, it supports more than 20 model providers through a single install and requires Apache Airflow 3.0 or newer.

### Source excerpt

At Airflow Summit 2025, we previewed what native AI integration in Apache Airflow could look like. Today we're shipping it. apache-airflow-providers-common-ai 0.1.0 adds LLM and agent capabilities directly to Airflow. Not a wrapper around another framework, but a provider package that plugs into the orchestrator you already run. It's built on Pydantic AI and supports 20+ model providers (OpenAI, Anthropic, Google, Azure, Bedrock, Ollama, and more) through a single install. pip install 'apache-airflow-providers-common-ai' Requires Apache Airflow 3.0+. Note: This is a 0.x release. We're actively looking for feedback and iterating fast, so breaking changes are possible between minor versions. Try it, tell us what works and what doesn't. Your input directly shapes the API. By the Numbers 6 Operators 6 TaskFlow decorators 5 Toolsets 4 Connection types 20+ Supported model providers via Pydantic AI The Decorator Suite Every operator has a matching TaskFlow decorator. @task.llm: Single LLM Call Send a prompt, get text or structured output back. from pydantic import BaseModel from airflow.providers.common.compat.sdk import dag, task @dag def my_pipeline(): class Entities(BaseModel): names: list[str] locations: list[str] @task.llm( llm_conn_id="my_openai_conn", system_prompt="Extract named entities.", output_type=Entities, ) def extract(text: str): return f"Extract entities from: {text}" extract("Alice visited Paris and met Bob in London.") my_pipeline() The LLM returns a typed Entities object, not a string you have to parse. Downstream tasks get structured data through XCom. @task.agent: Multi-Step Agent with Tools When the LLM needs to query databases, call APIs, or read files across multiple steps, use @task.agent. The agent picks which tools to call and loops until it has an answer. from airflow.providers.common.ai.toolsets.sql import SQLToolset from airflow.providers.common.compat.sdk import dag, task @dag def sql_analyst(): @task.agent( llm_conn_id="my_openai_conn", sys

## How to Accept Payments in a FastAPI Backend

DevFeed: [How to Accept Payments in a FastAPI Backend](<https://devfeed.tech/articles/how-to-accept-payments-in-a-fastapi-backend-9532.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/accept-payments-fastapi/>)

Author: Ayush Agarwal

Published: 2026-03-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Python](<https://devfeed.tech/topics/python.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [API](<https://devfeed.tech/topics/api.md>), [Software as a service](<https://devfeed.tech/topics/saas.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [async](<https://devfeed.tech/tags/async.md>), [backend](<https://devfeed.tech/tags/backend.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [merchant-of-record](<https://devfeed.tech/tags/merchant-of-record.md>), [payment-gateway](<https://devfeed.tech/tags/payment-gateway.md>), [payments](<https://devfeed.tech/tags/payments.md>), [python](<https://devfeed.tech/tags/python.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [swagger](<https://devfeed.tech/tags/swagger.md>), [tax](<https://devfeed.tech/tags/tax.md>), [validation](<https://devfeed.tech/tags/validation.md>), [verification](<https://devfeed.tech/tags/verification.md>), [webhooks](<https://devfeed.tech/tags/webhooks.md>)

### AI overview

A tutorial on integrating Dodo Payments into a FastAPI backend. It covers asynchronous checkout sessions and webhooks, Pydantic request validation, signature verification, and using verified webhook events as the source of truth for payment state.

### Source excerpt

Learn how to integrate Dodo Payments into your FastAPI backend with async webhook handlers, Pydantic validation, and secure signature verification.

## Structured outputs with Pydantic AI

DevFeed: [Structured outputs with Pydantic AI](<https://devfeed.tech/articles/structured-outputs-with-pydantic-ai-30003.md>)

Original publisher: [Read original article](<https://engineering.freeagent.com/2026/03/24/structured-outputs-with-pydantic-ai/>)

Author: Ed Berry

Published: 2026-03-24T10:34:08Z

Content type: tutorial

Language: en

Sources: [FreeAgent](<https://devfeed.tech/sources/freeagent.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [JSON Schema](<https://devfeed.tech/topics/json-schema.md>), [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Python](<https://devfeed.tech/topics/python.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [data](<https://devfeed.tech/tags/data.md>), [data-ml](<https://devfeed.tech/tags/data-ml.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [data-validation](<https://devfeed.tech/tags/data-validation.md>), [genai](<https://devfeed.tech/tags/genai.md>), [json-schema](<https://devfeed.tech/tags/json-schema.md>), [llms](<https://devfeed.tech/tags/llms.md>), [prompt-engineering](<https://devfeed.tech/tags/prompt-engineering.md>), [python](<https://devfeed.tech/tags/python.md>), [schema](<https://devfeed.tech/tags/schema.md>), [structured-output](<https://devfeed.tech/tags/structured-output.md>)

### AI overview

This article explains structured outputs for LLMs using Pydantic AI. It introduces the relationship between Python type hints, static analysis, Pydantic, and runtime data validation, while noting that Pydantic AI is model-agnostic.

### Source excerpt

One of the challenges of working with LLMs is getting them to respond with a consistent format, such as a given JSON schema. Anyone who has tried to solve this issue with prompt engineering knows how frustrating it can be. You add a 'MUST' here and an 'always return JSON' there, but still the output [...]

## Building a Local AI Task Manager with PydanticAI and Ollama

DevFeed: [Building a Local AI Task Manager with PydanticAI and Ollama](<https://devfeed.tech/articles/building-a-local-ai-task-manager-with-pydanticai-and-ollama-35014.md>)

Original publisher: [Read original article](<https://read.theaimerge.com/p/building-a-local-ai-task-manager>)

Author: Alex Razvant

Published: 2026-03-22T14:03:18Z

Content type: tutorial

Language: en

Sources: [Neural Bits](<https://devfeed.tech/sources/neural-bits.md>)

Topics: [Ollama](<https://devfeed.tech/topics/ollama.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [App](<https://devfeed.tech/topics/app.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Python](<https://devfeed.tech/topics/python.md>), [Code](<https://devfeed.tech/topics/code.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [code](<https://devfeed.tech/tags/code.md>), [dev](<https://devfeed.tech/tags/dev.md>), [examples](<https://devfeed.tech/tags/examples.md>), [guide](<https://devfeed.tech/tags/guide.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [local](<https://devfeed.tech/tags/local.md>), [models](<https://devfeed.tech/tags/models.md>), [ollama](<https://devfeed.tech/tags/ollama.md>), [practical](<https://devfeed.tech/tags/practical.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

A practical tutorial on building a local AI task manager with Ollama and PydanticAI. The application uses local language models and typed agent tools to handle tasks such as adding work, marking tasks complete, and listing overdue items.

### Source excerpt

A practical introduction to agent-based architectures using typed models, tools, and runtime context in Pydantic AI.

## Key takeaways from the PyAI conference on AI evaluation, software design, and open-source maintenance

DevFeed: [Key takeaways from the PyAI conference on AI evaluation, software design, and open-source maintenance](<https://devfeed.tech/articles/learnings-from-the-pyai-conference-21748.md>)

Original publisher: [Read original article](<http://blog.pamelafox.org/2026/03/learnings-from-pyai-conference.html>)

Author: Pamela Fox (noreply@blogger.com)

Published: 2026-03-12T06:40:00Z

Content type: article

Language: en

Sources: [Pamela Fox](<https://devfeed.tech/sources/pamela-fox.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Python](<https://devfeed.tech/topics/python.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [MCP](<https://devfeed.tech/topics/mcp.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-evals](<https://devfeed.tech/tags/ai-evals.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [conference](<https://devfeed.tech/tags/conference.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [github](<https://devfeed.tech/tags/github.md>), [maintainers](<https://devfeed.tech/tags/maintainers.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [python](<https://devfeed.tech/tags/python.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

The article summarizes lessons from PyAI conference sessions on evaluating AI systems, designing Python software for maintainability by coding agents, and handling AI-generated pull requests in open-source projects. It recommends validating LLM judges with labeled data and conventional evaluation metrics, using clearer software abstractions, and developing systems to triage low-quality contributions.

### Source excerpt

I recently spoke at the PyAI conference, put on by the good folks at Prefect and Pydantic, and I learnt so much from the talks I attended. Here are my top takeaways from the sessions that I watched: AI Evals Pitfalls Hamel Husain 📺 Watch the video recording | 📊 View slides Hamel cautioned against blindly using automated evaluation frameworks and built-in evaluators (like helpfulness and coherence). Instead, we should adopt a data science approach to evaluation: explore the data, discover what's actually breaking, identify the most important metric, and iterate as new data comes in. We shouldn't just trust an LLM-as-a-judge to be given accurate scores. Instead, we should validate it like we would validate a ML classifier- with labeled data, train/dev/test splits, and precision/recall metrics. LLM-judges should always give pass/fail results, instead of 1-5 scores, so that there's no ambiguity in their judgment. When generating synthetic data, first come up with dimensions (such as persona), generate combinations based off dimensions, and convert those into realistic queries. Hamel created evals-skills, a collection of skills for coding agents that can be run against evaluation pipelines to find issues like poorly designed LLM-judges. Build Reasonable Software Jeremiah Lowin (FastMCP/Prefect) 📺 Watch the video recording Write your Python programs in a way that coding agents can reason about them, so that they can more easily maintain and build them. For example, FastMCP v2 SDK was not well designed (bad abstractions) so a new CodeMod feature required 4,000 lines of code. In the new FastMCP v3 SDK (same functional API, different abstractions backing it), the same feature only required 500 lines of code. To make Python FastMCP servers more Pythonic, Jeremiah is developing a new package for MCP apps which includes the most common UIs (forms/tables/charts), called PreFab: https://github.com/PrefectHQ/prefab Panel: Open Source in the Age of AI Guido van Rossum (CPython), Sa

## Validate Environment Variables with Pydantic

DevFeed: [Validate Environment Variables with Pydantic](<https://devfeed.tech/articles/validate-environment-variables-with-pydantic-30865.md>)

Original publisher: [Read original article](<https://www.packetcoders.io/validate-environment-variables-with-pydantic/>)

Author: Rick Donato

Published: 2025-12-02T08:00:19Z

Content type: tutorial

Language: en

Sources: [Packet Coders - Learn Network Automation](<https://devfeed.tech/sources/packet-coders-learn-network-automation.md>)

Topics: [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>), [.env](<https://devfeed.tech/topics/dotenv.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [env-file-security](<https://devfeed.tech/tags/env-file-security.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [python](<https://devfeed.tech/tags/python.md>), [settings](<https://devfeed.tech/tags/settings.md>), [tips](<https://devfeed.tech/tags/tips.md>)

### AI overview

A brief tutorial tip showing how to validate environment variables from .env files with Pydantic before they reach an application. It also notes that this can remove the need to manually call python-dotenv.

### Source excerpt

Tip! Validate your env vars from your .env files before they hit your application by using Pydantic. This also eliminates the need to call python-dotenv manually. Here's an example: # uv add pydantic pydantic-settings python-dotenv from pydantic import Field, AnyHttpUrl, ValidationError from pydantic_settings import BaseSettings,

## Recent Guides on AI Inference and FastAPI Backend Engineering

DevFeed: [Recent Guides on AI Inference and FastAPI Backend Engineering](<https://devfeed.tech/articles/my-best-recent-guides-for-ai-engineers-35017.md>)

Original publisher: [Read original article](<https://read.theaimerge.com/p/my-best-recent-guides-for-ai-engineers>)

Author: Alex Razvant

Published: 2025-11-29T14:02:54Z

Content type: article

Language: en

Sources: [Neural Bits](<https://devfeed.tech/sources/neural-bits.md>)

Topics: [AI Development](<https://devfeed.tech/topics/ai-development.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Inference Performance](<https://devfeed.tech/topics/inference-performance.md>), [backends](<https://devfeed.tech/topics/backends.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [ai-engineer](<https://devfeed.tech/tags/ai-engineer.md>), [ai-inference](<https://devfeed.tech/tags/ai-inference.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [guides](<https://devfeed.tech/tags/guides.md>), [inference](<https://devfeed.tech/tags/inference.md>), [production](<https://devfeed.tech/tags/production.md>)

### AI overview

A curated collection of recent guides for AI engineers. It highlights FastAPI and Pydantic practices for building maintainable AI and ML backends, along with inference engines and serving frameworks for deploying models in production across different scales and infrastructure.

### Source excerpt

A curated list of the most actionable guides I've published in the past months.

## Moving from Django DRF to Ninja API / Pydantic

DevFeed: [Moving from Django DRF to Ninja API / Pydantic](<https://devfeed.tech/articles/moving-from-django-drf-to-ninja-api-pydantic-30798.md>)

Original publisher: [Read original article](<https://devblog.kogan.com/blog/moving-from-django-drf-to-ninja-api-pydantic>)

Author: Michael Sidharta

Published: 2025-11-10T05:35:43Z

Content type: comparison

Language: en

Sources: [Kogan.com](<https://devfeed.tech/sources/kogan-com.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [API](<https://devfeed.tech/topics/api.md>), [Python](<https://devfeed.tech/topics/python.md>), [Development](<https://devfeed.tech/topics/development.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Swagger](<https://devfeed.tech/topics/swagger.md>)

Tags: [api-documentation](<https://devfeed.tech/tags/api-documentation.md>), [data-validation](<https://devfeed.tech/tags/data-validation.md>), [django](<https://devfeed.tech/tags/django.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [python](<https://devfeed.tech/tags/python.md>), [swagger](<https://devfeed.tech/tags/swagger.md>)

### AI overview

This article examines moving from Django REST Framework API patterns to Django Ninja API and Pydantic. It describes motivations including reducing boilerplate, improving performance for some use cases, using modern Python type hints and data validation, and enhancing developer experience. It also outlines Django Ninja's type-based validation, automatic OpenAPI documentation, performance focus, and simplified endpoint definitions.

### Source excerpt

As our project grows, we're always looking for ways to streamline development, improve performance, and enhance the developer experience. Recently, we've been exploring a shift from our traditional Django REST Framework (DRF) API patterns to a combination of Django Ninja API and Pydantic. This blog post will delve into our motivations for this change, the benefits we've observed, and some considerations for others contemplating a similar transition. Why Consider a Change from Django DRF? Django REST Framework has been a robust and widely adopted solution for building APIs with Django. It provides a comprehensive set of tools, including serializers, viewsets, and excellent browser-based API interfaces. However, as our needs evolved, we identified areas where a different approach could offer advantages: Boilerplate Code: While DRF offers powerful abstractions, creating serializers, views, and viewsets can sometimes lead to a significant amount of boilerplate code, especially for simpler APIs. Performance: For certain use cases, the overhead of DRF's serializer validation and rendering can impact performance, particularly in high-throughput scenarios. Modern Python Features: We were keen to leverage modern Python features like type hints and data validation more extensively, which are core to Pydantic. Developer Experience: A more concise and explicit way to define API endpoints and data structures could improve developer productivity and reduce potential errors. Introducing Django Ninja API and PydanticDjango Ninja API Django Ninja is a web framework for building APIs with Django and Python 3.6+ type hints. It's heavily inspired by FastAPI and offers a number of compelling features: Type Hinting for API Endpoints: You define your request and response models using Pydantic, and Ninja automatically validates and serializes the data based on these type hints. Automatic OpenAPI (Swagger) Documentation: Just like FastAPI, Ninja generates interactive API documentation out o

## Build durable AI agents with Pydantic AI and Temporal

DevFeed: [Build durable AI agents with Pydantic AI and Temporal](<https://devfeed.tech/articles/build-durable-ai-agents-with-pydantic-ai-and-temporal-35736.md>)

Original publisher: [Read original article](<https://temporal.io/blog/build-durable-ai-agents-pydantic-ai-and-temporal>)

Author: David Montague

Published: 2025-11-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>), [reliability](<https://devfeed.tech/topics/reliability.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [python](<https://devfeed.tech/tags/python.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [type-safety](<https://devfeed.tech/tags/type-safety.md>)

### AI overview

This article explains how Pydantic AI combines type-safe agent development with Temporal's Durable Execution. The integration is presented as a way to help AI agents recover from API failures, exceptions, restarts, and deployments while preserving progress and state during long-running or human-in-the-loop workflows.

### Source excerpt

Find out how you can combine Pydantic AI's type safety with Temporal's Durable Execution to build prod-ready AI agents.

## Schema-Guided Reasoning: как научить языковые модели последовательно рассуждать

DevFeed: [Schema-Guided Reasoning: как научить языковые модели последовательно рассуждать](<https://devfeed.tech/articles/schema-guided-reasoning-24029.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/redmadrobot/articles/962236/>)

Author: redmadrobot (red\_mad\_robot)

Published: 2025-10-31T16:31:44Z

Content type: tutorial

Language: ru

Sources: [Redmadrobot EN](<https://devfeed.tech/sources/redmadrobot-en.md>), [Redmadrobot RU](<https://devfeed.tech/sources/redmadrobot-ru.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>)

Tags: [function-calling](<https://devfeed.tech/tags/function-calling.md>), [json](<https://devfeed.tech/tags/json.md>), [llm](<https://devfeed.tech/tags/llm.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [schema](<https://devfeed.tech/tags/schema.md>), [scheme](<https://devfeed.tech/tags/scheme.md>), [sgr](<https://devfeed.tech/tags/sgr.md>), [structured-output](<https://devfeed.tech/tags/structured-output.md>), [tag-1cd610c0e518](<https://devfeed.tech/tags/tag-1cd610c0e518.md>), [tag-5335b6f99fba](<https://devfeed.tech/tags/tag-5335b6f99fba.md>), [tag-b0a411324cb6](<https://devfeed.tech/tags/tag-b0a411324cb6.md>)

### AI overview

This tutorial explains Schema-Guided Reasoning (SGR), an approach that guides large language models through predefined schemas. It describes how structured output, Pydantic models, JSON schemas, and constrained decoding can make model responses more consistent, transparent, and easier to test, while noting that SGR is not a universal solution.

### Source excerpt

LLM умеют многое: генерировать тексты, анализировать документы, писать код. Но на практике их работа часто непредсказуема -- сегодня модель даёт точный ответ, а завтра на тех же данных ошибается, пропускает ключевые шаги или придумывает факты. Для AI-инженеров это системная проблема. Возьмём автоматизацию документооборота: нужно классифицировать договоры, извлекать реквизиты, проверять стандарты. Но модель работает как лотерея -- результат не поддаётся логике или меняется при повторном запуске с одинаковыми данными. Как встроить такой результат в бизнес-процесс? Для решения этой задачи появился подход Schema-Guided Reasoning (SGR). Его активно продвигает Ринат Абдуллин в материалах по работе с LLM. Идея проста и эффективна: заставить модель мыслить не хаотично, а внутри заданной схемы. Это не панацея, но SGR серьёзно снижает количество ошибок, делает процесс прозрачнее, а также позволяет тестировать отдельные компоненты рассуждений. Читать далее

## Durable Digest: September 2025

DevFeed: [Durable Digest: September 2025](<https://devfeed.tech/articles/durable-digest-september-2025-35815.md>)

Original publisher: [Read original article](<https://temporal.io/blog/durable-digest-september-2025>)

Author: Temporal Technologies

Published: 2025-09-30T00:00:00Z

Content type: news

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [releases](<https://devfeed.tech/topics/releases.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>), [Retool](<https://devfeed.tech/topics/retool.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [ai](<https://devfeed.tech/tags/ai.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [aws](<https://devfeed.tech/tags/aws.md>), [blog](<https://devfeed.tech/tags/blog.md>), [developer](<https://devfeed.tech/tags/developer.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

Temporal's September 2025 Durable Digest covers recently shipped and preview features, including Pydantic AI integration, task queue fairness, a Kubernetes Worker Controller, namespace tags, and AWS PrivateLink access. It also highlights Retool and OpenPhone projects using Temporal for AI and voice agents.

### Source excerpt

Explore Temporal's latest developer updates: questions from the field, new releases, builder spotlights, learning resources, and ways to connect with our team.

## Filter the tools from MCP servers

DevFeed: [Filter the tools from MCP servers](<https://devfeed.tech/articles/filter-the-tools-from-mcp-servers-21742.md>)

Original publisher: [Read original article](<http://blog.pamelafox.org/2025/09/filter-tools-from-mcp-servers.html>)

Author: Pamela Fox (noreply@blogger.com)

Published: 2025-09-18T17:35:00Z

Content type: tutorial

Language: en

Sources: [Pamela Fox](<https://devfeed.tech/sources/pamela-fox.md>)

Topics: [Model Context Protocol (MCP)](<https://devfeed.tech/topics/model-context-protocol-mcp.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [vs-code](<https://devfeed.tech/topics/vs-code.md>), [LangChain](<https://devfeed.tech/topics/langchain.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>)

Tags: [agentic-coding](<https://devfeed.tech/tags/agentic-coding.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [langchain](<https://devfeed.tech/tags/langchain.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [openai](<https://devfeed.tech/tags/openai.md>), [python](<https://devfeed.tech/tags/python.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

### AI overview

A tutorial on filtering tools exposed by MCP servers to reduce LLM confusion, token usage, latency, context-window pressure, and unintended destructive actions. It covers GitHub Copilot in VS Code, LangChain v1, and Pydantic AI.

### Source excerpt

What I like about MCP servers: they give me lots of great tools that can make my agents more powerful, with very little work on my side. 🎉 What I don't like about MCP servers: they give me TOO many tools! I usually only need a handful of tools for a task, but a server can expose dozens. 😿 The problems with too many tools: LLM confusion. The LLM will be presented with the tool definition for every single tool in the server, and it needs to decide which tool (if any) is the best for the job. That's a hard decision for an LLM - it's always better to make it easier for the LLM by narrowing the tool list. Increased tokens. The tool call definitions require more tokens, which can cost more money, increase latency, and potentially even go over the context window limit of the model. Destructive actions. A server may include tools that are read-only, just sending down data to serve as context, but many servers expose tools that do write operations, like the GitHub MCP server's tools for creating issues, closing issues, pushing branches, and many more. It's possible your task requires some of those write ops, but you generally want to be very explicit about whether an agent is allowed to take action that can actually change something about your accounts and environments. Otherwise, you can be in for a nasty surprise when the agent took actions that you weren't expecting. (Ask me how I know...) Fortunately, there is almost always a way to configure agents to only allow a subset of the tools from an MCP server. In this blog post, I'll share ways to filter tools in my favorite agentic coder, GitHub Copilot in VS Code, plus two popular AI agent frameworks, Langchain v1 and Pydantic AI. Agentic coding with GitHub Copilot in VS Code Global configuration When you are using agent mode in VS Code, configure the tools by selecting the gear icon near the chat input window. That will pop-up a window showing all your available tools, coming from both installed MCP servers and VS Code exte

## Temporal and the next frontier: Scaling AI reliably

DevFeed: [Temporal and the next frontier: Scaling AI reliably](<https://devfeed.tech/articles/temporal-and-the-next-frontier-scaling-ai-reliably-36005.md>)

Original publisher: [Read original article](<https://temporal.io/blog/temporal-and-the-next-frontier-scaling-ai-reliably>)

Author: Samar Abbas

Published: 2025-09-03T00:00:00Z

Content type: article

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [systems](<https://devfeed.tech/topics/systems.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [agentic workflows](<https://devfeed.tech/topics/agentic-workflows.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [agentic-workflows](<https://devfeed.tech/tags/agentic-workflows.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [context-engineering](<https://devfeed.tech/tags/context-engineering.md>), [developer-community](<https://devfeed.tech/tags/developer-community.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [openai](<https://devfeed.tech/tags/openai.md>), [rag](<https://devfeed.tech/tags/rag.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

Temporal describes how its durable workflow infrastructure is being applied to production AI systems, including agentic workflows, multiple AI models, stateful processes, and integrations with OpenAI, MongoDB, and Pydantic.

### Source excerpt

At Temporal, we've always focused on one thing: making it simpler to build systems that work and keep working -- reliably at scale and in the messy reality of prod. That mission matters more today than ever.

## Building Agents With Heroku AI and Pydantic AI

DevFeed: [Building Agents With Heroku AI and Pydantic AI](<https://devfeed.tech/articles/building-agents-with-heroku-ai-and-pydantic-ai-26380.md>)

Original publisher: [Read original article](<https://www.heroku.com/blog/building-agents-with-heroku-ai-and-pydantic-ai/>)

Author: Anush DSouza

Published: 2025-08-08T16:33:37Z

Content type: tutorial

Language: en

Sources: [Heroku](<https://devfeed.tech/sources/heroku.md>)

Topics: [Heroku](<https://devfeed.tech/topics/heroku.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Agent Framework](<https://devfeed.tech/topics/agent-framework.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [A2A protocol](<https://devfeed.tech/topics/a2a-protocol.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [a2a](<https://devfeed.tech/tags/a2a.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [claude](<https://devfeed.tech/tags/claude.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [heroku](<https://devfeed.tech/tags/heroku.md>), [heroku-ai](<https://devfeed.tech/tags/heroku-ai.md>), [managed-inference-and-agents](<https://devfeed.tech/tags/managed-inference-and-agents.md>), [mcp-on-heroku](<https://devfeed.tech/tags/mcp-on-heroku.md>), [model-context-protocol](<https://devfeed.tech/tags/model-context-protocol.md>), [model-context-protocol-mcp](<https://devfeed.tech/tags/model-context-protocol-mcp.md>), [news](<https://devfeed.tech/tags/news.md>), [product-features](<https://devfeed.tech/tags/product-features.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

This tutorial explains how to build production-grade AI agents with Heroku Managed Inference and Agents and the Pydantic AI Python framework. It covers Claude model integration, secure code execution, OpenAI-compatible APIs, environment-variable configuration, MCP client and server support, and exposing agents through the A2A protocol.

### Source excerpt

Building production-grade AI applications can be complex, but with Heroku and Pydantic AI, developers gain a powerful and reliable solution for integrating advanced AI capabilities. Heroku makes it easy to integrate AI into your applications with Heroku Managed Inference and Agents. With a single click, you can attach powerful Large Language Models like Anthropic's Claude [...] The post Building Agents With Heroku AI and Pydantic AI appeared first on Heroku.

## Structured Output with LangChain and Llamafile

DevFeed: [Structured Output with LangChain and Llamafile](<https://devfeed.tech/articles/structured-output-with-langchain-and-llamafile-25139.md>)

Original publisher: [Read original article](<https://blog.brakmic.com/structured-output-with-langchain-and-llamafile/>)

Author: brakmic

Published: 2025-06-22T16:50:12Z

Content type: tutorial

Language: en

Sources: [Harris Brakmic - Coding](<https://devfeed.tech/sources/harris-brakmic-coding.md>)

Topics: [LangChain](<https://devfeed.tech/topics/langchain.md>), [llamafile](<https://devfeed.tech/topics/llamafile.md>), [JSON](<https://devfeed.tech/topics/json.md>), [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>), [Parser](<https://devfeed.tech/topics/parser.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [cpp](<https://devfeed.tech/tags/cpp.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [import](<https://devfeed.tech/tags/import.md>), [json](<https://devfeed.tech/tags/json.md>), [langchain](<https://devfeed.tech/tags/langchain.md>), [llama-cpp](<https://devfeed.tech/tags/llama-cpp.md>), [llamafile](<https://devfeed.tech/tags/llamafile.md>), [llm](<https://devfeed.tech/tags/llm.md>), [local](<https://devfeed.tech/tags/local.md>), [local-llm](<https://devfeed.tech/tags/local-llm.md>), [models](<https://devfeed.tech/tags/models.md>), [properties](<https://devfeed.tech/tags/properties.md>), [python](<https://devfeed.tech/tags/python.md>), [structured-output](<https://devfeed.tech/tags/structured-output.md>)

### AI overview

A tutorial on using LangChain with Llamafile to produce structured JSON output from a local large language model. It uses JsonOutputParser, PromptTemplate, and a Pydantic model because Llamafile does not provide a with_structured_output method.

### Source excerpt

Learn how to extend Llamafile with LangChain's JsonParser to produce clean, structured JSON output