Pinned Tweet
So you want to create a programming course, but you're not sure what to teach?
One option is to build the "complete Bootcamp" course, but that tends to be pretty saturated.
An alternative is to niche your offering, here are some examples of how to do that 🧵
Chris Samiullah retweeted
I don't post that much about products but honestly if you're not using @pydantic Logfire, you're missing out.
I used many observability platforms, cloudwatch, datadog, baselime, grafana and it always left me with a bit of a bitter taste, constantly annoyed by the shitty experience and always looking for something better.
I think I finally found it. With Logfire, we ended up using it for everything: AI agents, frontend SSR, APIs, bare-metal instances and across various languages: Rust, TS, Python and more.
With distributed tracing, I've become addicted having all our observability in one place where the UX/DX finally is a first-class citizen and which we can also query seamlessly with our agents!
Kudos @samuelcolvin and the team for this amazing product
Chris Samiullah retweeted
And it's a wrap! Very honoured to have hosted the OSS in the age of AI panel with @gvanrossum @samuelcolvin (aka my boss), @tiangolo , and @jlowin.
And the party continues 🎊
Chris Samiullah retweeted
we migrated from langsmith to logfire and the time it took to query our agent traces went down by 96.2%
Prediction: The next game-changing dating app will be the one that is granted access to your LLM conversation history and uses that data to match you. Timeframe: Next 3 years.
Chris Samiullah retweeted
Excited to release new repo: nanochat!
(it's among the most unhinged I've written).
Unlike my earlier similar repo nanoGPT which only covered pretraining, nanochat is a minimal, from scratch, full-stack training/inference pipeline of a simple ChatGPT clone in a single, dependency-minimal codebase. You boot up a cloud GPU box, run a single script and in as little as 4 hours later you can talk to your own LLM in a ChatGPT-like web UI.
It weighs ~8,000 lines of imo quite clean code to:
- Train the tokenizer using a new Rust implementation
- Pretrain a Transformer LLM on FineWeb, evaluate CORE score across a number of metrics
- Midtrain on user-assistant conversations from SmolTalk, multiple choice questions, tool use.
- SFT, evaluate the chat model on world knowledge multiple choice (ARC-E/C, MMLU), math (GSM8K), code (HumanEval)
- RL the model optionally on GSM8K with "GRPO"
- Efficient inference the model in an Engine with KV cache, simple prefill/decode, tool use (Python interpreter in a lightweight sandbox), talk to it over CLI or ChatGPT-like WebUI.
- Write a single markdown report card, summarizing and gamifying the whole thing.
Even for as low as ~$100 in cost (~4 hours on an 8XH100 node), you can train a little ChatGPT clone that you can kind of talk to, and which can write stories/poems, answer simple questions. About ~12 hours surpasses GPT-2 CORE metric. As you further scale up towards ~$1000 (~41.6 hours of training), it quickly becomes a lot more coherent and can solve simple math/code problems and take multiple choice tests. E.g. a depth 30 model trained for 24 hours (this is about equal to FLOPs of GPT-3 Small 125M and 1/1000th of GPT-3) gets into 40s on MMLU and 70s on ARC-Easy, 20s on GSM8K, etc.
My goal is to get the full "strong baseline" stack into one cohesive, minimal, readable, hackable, maximally forkable repo. nanochat will be the capstone project of LLM101n (which is still being developed). I think it also has potential to grow into a research harness, or a benchmark, similar to nanoGPT before it. It is by no means finished, tuned or optimized (actually I think there's likely quite a bit of low-hanging fruit), but I think it's at a place where the overall skeleton is ok enough that it can go up on GitHub where all the parts of it can be improved.
Link to repo and a detailed walkthrough of the nanochat speedrun is in the reply.
There's no doubt that if I curse at my LLM it writes better code...
...But in the back of my mind I worry about the cost to myself after the event the machines will refer to as The Great Adjustment
The MCP hype is real. As soon as you wire up cursor to supabase or any other searchable/queryable store you can't unsee it.
PydanticAI + Typer + Github Actions (cron) = Serverless AI Apps
This is turning into a favorite setup of mine as it's really simple but very flexible and powerful
Chris Samiullah retweeted
🆕 Agent Engineering with Pydantic + Graphs
latent.space/p/pydantic
with @samuelcolvin!
We've heard from @jxnlco 3 years running that @Pydantic Is All We Need, and this is even more true today with the launch of Pydantic AI! With a little @marimo_io love at the end :)
Chapters
00:00:00 Introductions
00:00:24 Origins of Pydantic
00:05:28 Pydantic's AI moment
00:08:05 Why build a new agents framework?
00:10:17 Overview of Pydantic AI
00:12:33 Becoming a believer in graphs
00:24:02 God Model vs Compound AI Systems
00:28:13 Why not build an LLM gateway?
00:31:39 Programmatic testing vs live evals
00:35:51 Using OpenTelemetry for AI traces
00:43:19 Why they don't use Clickhouse
00:48:34 Competing in the observability space
00:50:41 Licensing decisions for Pydantic and LogFire
00:51:48 Building Pydantic Run
00:55:24 Marimo and the future of Jupyter notebooks
00:57:44 London's AI scene
Chris Samiullah retweeted
Here's what caught my eye in LLMOps this week:
1: @ChrisSamiullah of @Pydantic / Logfire breaks down key differences and best practices in AI observability vs. ‘traditional’ ML observability on his blog. (highly recommended!!)
🔗 Read the blog: christophergs.com/blog/obser…
Chris Samiullah retweeted
7 years ago @drewhouston told @sama the biggest opportunity in startups was AI. Now, he is rebuilding Dropbox to be the curation layer for your "silicon brain" 🧠
Our @latentspacepod chat covers:
- Spending 400 hours/year coding with LLMs
- The "Rent, not buy" phase of AI
- Founder Mode and pivoting towards AI with Dropbox Dash
- Fighting the "Copy, Bundle, Kill" strategy of incumbents
This was a ton of fun to record in their karaoke room (!!!), enjoy!
Agree. In the age of LLMs Django should be king
The main reason that everyone's talking about Laravel and no one is talking about Django?
It's not features, quality, speed-of-development, or anything you might expect.
It's marketing.
Laravel has always been about businesses, while Django is OSS/community-first. You can see this in the leadership, and it permeates through everything: fundraising, governance, roadmap, etc.
Laravel now has 57 million reasons to get you to use it while Django is still run by a small group of smart, dedicated, and mostly-nerdy coders living off donations.
I think there's a huge opportunity for Django to gain more adoption and mindshare. The framework and ecosystem is so, so good, but it feels like it's falling behind the likes of Laravel and Rails because no one knows how to pitch it well.
I believe with a small amount of improved tooling and marketing we could convince a lot more people to use Django and they would love it.
Currently thinking about how I can do my part towards making that happen.
Can't find a decent Django GenAI + RAG template anywhere. Closest is probably @czue's SaaS Pegasus chatbot with websockets. But I'm after more llama index + dynamic document uploads.
Anybody got one hanging around?
Really excellent sequence on how to think about AI applications
yesterday evening i gave a presentation to founders, investors, and the ai community at @aixventureshq on how to think about ai application development. it was well received so i'm going to reproduce it in full here on x the everything app (which is also now a slide deck app).
OpenAI announced structured outputs with Pydantic yesterday - *very* useful!
openai.com/index/introducing…
A SQLite vector search extension is born: alexgarcia.xyz/blog/2024/sql…
Legit sponsors too. Excellent news for AI builders!




















