Top Tweets for #pyD
Validate everything with Pydantic.
Define the exact schema you expect, parse the model’s response into it, and reject or retry on failure. Don’t trust that it “usually returns valid JSON.”
Usually is not a strategy.
Hi all, sharing a short from my series on building AI agents for production.
Six tools, each deleting a class of agent bugs: Pydantic AI, LangGraph, chanx, OpenTelemetry, mocked tests and evals. One idea behind them: every boundary is declared.
My cat reacts when it breaks 🐈
@getnachonacho Oh man, list is long 🤣 let me put some of them in proper order in time
* scikit-learn
* seaborn
* tensorflow
* pytorch
* opencv
* yolo
* fastapi
* sqlalchemy
* langgraph
* crewai
* pydantic-ai
And many more, these are packages though
These days, I use Hermes mainly 🤣
@ather_7 Typed validation at the edge saves way more midnight incidents than raw async speed. Did you keep Pydantic v2 models strict across internal service calls too, or just at the public API boundary?
@PythonDvz Pydantic and the OpenAPI docs first, then async where the workload actually needs it. On a FastAPI app I shipped, typed request and response models caught bad payloads before they hit the database, which mattered more than raw throughput.
Fetö pyd

One tip: valid JSON is not always true JSON. Keep a check such as Pydantic after the model, and let it think before you force the format.
#wta ini official kan ya yg punya sean pyd tolong in dong
Look at row #10 on memory footprint before betting on multi-worker architectures. Does Pydantic serialization ruin your FastAPI optimization tricks?
https://t.co/gbsNQ8RSQs
Python vs Go backend tables always trash Python concurrency in row #4, yet FastAPI on uvloop handles 10K+ concurrent I/O sockets without GIL bottlenecks.
Go goroutines or Python uvloop + free-threading for I/O APIs?

Have been learning about HTTP, curl, API's from last few days. Also started with pydantic and FastAPI.

Mapping full-stack database integrations and data validation speed caps across Python server layers. For complex relational schemas: Django ORM or Pydantic?
https://t.co/5KnfLb3RJW
FastAPI, Django, and Flask serve completely different architectural needs across modern Python backend and AI systems.
When shipping production web APIs and AI microservices in 2026, do you deploy FastAPI or Django?

@Valentin213__ Il vient de gagner un titre il y a 2 jours pydrrr qu’est ce que tu racontes ?
@DenishaAzamuyt jujur pst pydr lah kwkww
@thesimaximalist Spot on about valid JSON still rendering a beautifully wrong chart when units or axes mismatch.
Beyond syntactic Pydantic checks, do you enforce semantic validation rules against the source SQL schema before the spec hits the renderer?
Python ops automation pattern we reuse everywhere:
ingest (webhook / email / PDF) -> pydantic schema validation -> idempotent upsert to Postgres or CRM -> Slack alert only on exceptions.
Architecture diagram:
https://t.co/NwfKXX2VGk
Most internal ops bottlenecks are the exact same 4 glue steps:
1. Pull data from an email/PDF/form
2. Clean & validate fields against a schema
3. Update the CRM or sheet
4. Ping the owner on Slack/WhatsApp only on exceptions
Drop the messiest manual workflow in your business below — I'll reply with the exact stack to automate it.

wts cus jajan ada pc ld proof, ld butte, dicon 102, mots7, dicon magazine, proof pob, PYD live, chakho, be rebahan, golden, mpc swz, dalmajung, ptd hybe insight, posca proofcoll, lys, daydream, strip tfma, album hyyh, yf day, ynwa, answer, tear, dvd lys, memories, hea, premphot, pb we ourselves, clearfile , ays, dll. abisin yuk 😙🫶🏻
WTS HELP RT 🙏🏻💜
💰Price in pict
🌷Condi by dm
✅WW BUYERS WITH INA ADDRESS
❌Exc pack+adm
🏡Bandung
Tags. wts wtb wtt photocard namjoon seokjin yoongi jhope jimin taehyung jungkook ld proof dicon magazine mots7 grup proof pola i am still mpc ptd hybe insight lys dalma lenti strip album ynwa yf answer dvd memo lfb bts ina ww gom vendo

/amj cus jajan ada pc ld proof, ld butte, dicon 102, mots7, dicon magazine, proof pob, PYD live, chakho, be rebahan, golden, mpc swz, dalmajung, ptd hybe insight, posca proofcoll, lys, daydream, strip tfma, album hyyh, yf day, ynwa, answer, tear, dvd lys, memories, hea, premphot, pb we ourselves, clearfile , ays, dll. abisin yuk 😙🫶🏻
WTS HELP RT 🙏🏻💜
💰Price in pict
🌷Condi by dm
✅WW BUYERS WITH INA ADDRESS
❌Exc pack+adm
🏡Bandung
Tags. wts wtb wtt photocard namjoon seokjin yoongi jhope jimin taehyung jungkook ld proof dicon magazine mots7 grup proof pola i am still mpc ptd hybe insight lys dalma lenti strip album ynwa yf answer dvd memo lfb bts ina ww gom vendo

amj cus jajan ada pc ld proof, ld butte, dicon 102, mots7, dicon magazine, proof pob, PYD live, chakho, be rebahan, golden, mpc swz, dalmajung, ptd hybe insight, posca proofcoll, lys, daydream, strip tfma, album hyyh, yf day, ynwa, answer, tear, dvd lys, memories, hea, premphot, pb we ourselves, clearfile , ays, dll. abisin yuk 😙🫶🏻
WTS HELP RT 🙏🏻💜
💰Price in pict
🌷Condi by dm
✅WW BUYERS WITH INA ADDRESS
❌Exc pack+adm
🏡Bandung
Tags. wts wtb wtt photocard namjoon seokjin yoongi jhope jimin taehyung jungkook ld proof dicon magazine mots7 grup proof pola i am still mpc ptd hybe insight lys dalma lenti strip album ynwa yf answer dvd memo lfb bts ina ww gom vendo

6 things that separate a weekend AI demo from a production-ready agent system:
1. Structured Output Enforcement
Never parse raw markdown or freeform text from an agent. Enforce strict JSON Schema validation (e.g., Zod / Pydantic) on every tool payload before execution.
2. Context Window Compaction
After 10 conversational turns, prune old reasoning steps and preserve only:
- The initial user objective
- Active environment variables
- The current tool execution state
3. Execution Idempotency
Every agent tool call that mutates external state must carry a deterministic idempotency key to prevent double execution on transient network retries.
4. Deterministic Linting Evals
Before an agent presents code as "finished," enforce automated validation:
- TypeScript compiles with zero errors
- Linters pass cleanly
- Unit tests execute green
5. Sandboxed Tool Execution
Run all terminal or shell commands inside restricted Docker containers or isolated WebAssembly (Wasm) runtimes.
6. Observability Tracing
Log every prompt, token count, tool invocation, and latency delta using open telemetry standards to catch cost leaks and execution stalls early.
@Joshua_WD yeah because binding the pydantic object schema with the model wasnt working, so had to change the method to function call
Built the whole backend. FastAPI. SQLAlchemy. Pydantic validation. Three endpoints. Clean architecture. Even hardcoded the exchange rate at ₹95.27 because who needs live forex when you have confidence.
Then I thought let's go bigger. React frontend. Dark theme.
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
240.1M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.4M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers





















