Sachin Chaurasiya (@sachindotcom) header
Sachin Chaurasiya (@sachindotcom) profile picture

Building AI agents in production at @isotopes_ai (aidnn), and sharing what I learn. Notes on coding agents, AI tools and what breaks. Prev @hackerrank. DMs open

India
Joined January 2019
Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)Photo by Sachin Chaurasiya (@sachindotcom)
Sachin Chaurasiya retweeted
You need both taste and judgement. You need taste to know what is good, and you need judgement to understand the price of quality. If you ask a model for a component or migration plan, it will create a lot of options, very quickly. Most of those drafts seem OK. So once you have a collection of work that meets the basic criteria, you can no longer use taste to select between them. You must choose. I like to think of this as two filters. There is the taste, and there is the judgement. And I think a lot of people mix those up. The first filter is taste. Taste is the feeling for what makes a thing good. Taste is that feeling you get first, before you're able to put into words what is good or bad about something. You've had that experience where something is bad but you're not sure why, until you've worked it through and can describe it. "This user experience was really clumsy" or "that error message was really aggravating." Taste is built up by experience and practice. It comes from looking at a lot of things, and making a lot of things, and remembering the good bits. Kant's great insight into aesthetic taste was that you could appreciate the form, without having a stake in the outcome. Engineers care about the outcomes much more than the forms, but the feeling is the same. Taste can disqualify a lot. It can disqualify 90% of drafts very quickly. But it's not enough to make a decision between the few remaining options. The second filter is judgement. Judgement is understanding the price of quality. The most perfect solution may not be finished by the time that you need it. The sanest architecture may require the users to migrate while you're in the middle of the final upgrade. Judgement is the understanding of what you give up in time and risk to get good things, for the sake of the users, for the sake of the team. Judgement is made from domain knowledge and experience from previous decisions. People with great taste but poor judgement make beautiful work too late. They make the right thing at the wrong time, or the wrong thing at the right time. People with judgement but no taste make on time but don't make things people love. Both taste and judgement are essential. Filter to a few options with taste, and filter to one option for delivery with judgement.
73
90
13
649
32,790
Sachin Chaurasiya retweeted
Reproducibility is important for analyzing data (with or without AI). However, it’s completely distinct from “verification” of the analysis. This is particularly so for Finance teams. We saw this firsthand when an accountant reviewing a reconciliation found a $3,813.58 difference between two analyses of the same 3,144 transactions. The issue wasn't the data or the math. It was how one word in the original request, "discrepancy", had been interpreted. @isotopes_ai's approach treated negative differences as errors and added them. The accountant's workpaper treated them as adjustments and netted them. Both were reasonable interpretations of an ambiguous request. Running the analysis again would have reproduced the same interpretation and returned the same answer. That's why I don't think verification is about adding a better checkmark to AI-generated analysis. The person reviewing the work needs to see the reasoning, sources, assumptions, and corrections behind the number, without needing an engineer to unpack it for them. If AI is going to do more analytical work, verification has to make that work easier for humans to interrogate, not harder. More on how we’re we approach verification: isotopes.ai/blog/trust-but-v…
3
3
703
Sachin Chaurasiya retweeted
Everyone is still asking if India can build its own AI. @sarvamai stopped asking and shipped it. Raised $234M building India-first LLMs. 10 million API calls a day. Half a million hours of audio transcribed a month. In languages no global model bothered to learn. Built from India. Built for the world. Here's their story:
52
259
17
2,260
140,013
Sachin Chaurasiya retweeted
AI can produce an answer in seconds, but if your data is scattered across systems and the output hasn't been reconciled or verified, you're still spending all your cycles on verifying (data, context, accuracy etc.) before you can act. That gap, between a fast answer and a decision-ready one, is where most "chat with your data" tools break down. 📅 Join me and the @isotopes_ai team for our webinar on Thursday, 4/23 | 9:30am PDT to learn: → Why the warehouse-as-single-source-of-truth model breaks down in practice → How aidnn assembles, reconciles, and verifies data across disconnected systems → Real customer examples of true self-service analytics If your team is still spending weeks on reconciliation work that should take minutes, this one's for you.
5
7
355
Sachin Chaurasiya retweeted
The real bottleneck isn't getting answers faster. It's that the data needed to answer them is fragmented across systems, and it needs to be reconciled and assembled before it can be analyzed. Then the answers need to be accurate to make better decisions. In the upcoming @isotopes_ai webinar, we'll walk through why fragmented enterprise data breaks traditional analytics, why chat-with-data tools paper over the problem instead of solving it, and how a verification-first, multi-agent approach with aidnn delivers answers you can actually act on. Join us April 23rd @ 9:30am PST to learn how you can make better business decisions with verified answers before your competition. Register today to join me: isotopes.ai/webinar/verified…
1
5
7
370
Sachin Chaurasiya retweeted
Wow, this tweet went very viral! I wanted share a possibly slightly improved version of the tweet in an "idea file". The idea of the idea file is that in this era of LLM agents, there is less of a point/need of sharing the specific code/app, you just share the idea, then the other person's agent customizes & builds it for your specific needs. So here's the idea in a gist format: gist.github.com/karpathy/442… You can give this to your agent and it can build you your own LLM wiki and guide you on how to use it etc. It's intentionally kept a little bit abstract/vague because there are so many directions to take this in. And ofc, people can adjust the idea or contribute their own in the Discussion which is cool.
LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So: Data ingest: I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them. IDE: I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides). Q&A: Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale. Output: Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base. Linting: I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into. Extra tools: I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. Further explorations: As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows. TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
1,120
2,822
685
26,769
7,359,811
Sachin Chaurasiya retweeted
Introducing Project Glasswing: an urgent initiative to help secure the world’s most critical software. It’s powered by our newest frontier model, Claude Mythos Preview, which can find software vulnerabilities better than all but the most skilled humans. anthropic.com/glasswing
1,920
6,486
4,420
43,301
32,046,812
🔥 @liveblocks shipped a multiplayer SDK for React Flow. If you've been wanting to add realtime collaboration to your app, now's a good time! liveblocks.io/blog/multiplay…
1
6
28
4,189
Sachin Chaurasiya retweeted
New Anthropic research: Emotion concepts and their function in a large language model. All LLMs sometimes act like they have emotions. But why? We found internal representations of emotion concepts that can drive Claude’s behavior, sometimes in surprising ways.
1,001
2,612
1,483
17,483
4,001,866
Sachin Chaurasiya retweeted
Most AI products give you a chatbot. You ask, it answers. But that doesn’t work for serious analytical work. Your team doesn't watch every step. They start an analysis, go to meetings, come back the next day. Colleagues need to understand what happened. Sometimes you need to rewind and try a different path. A chatbot can't do any of that. So we threw out the chatbot model and rebuilt around one idea: the event stream. Every action aidnn takes is emitted as a structured, ordered event. That single decision unlocks everything: → Teammates jump in, ask questions anchored to specific moments, and keep going → Close your laptop, come back tomorrow — zero lost progress → Branch from any checkpoint and compare results → See assumptions and reasoning before execution, not after The result feels less like querying a black box and more like working with a teammate who documents their work and can be reviewed for methods, not just results. Full breakdown on the @isotopes_ai blog: blog.isotopes.ai/building-a-…
1
6
1
7
1,899
Sachin Chaurasiya retweeted
updated.
5
7
7
109
5,407
Sachin Chaurasiya retweeted
Getting phenomenal feedback, and resonance, from the Isotopes AI "Team of Rivals" technical paper published in arXiv. Here is the summary from DAIR.AI: "The paper introduces the idea of organizational intelligence for AI: → 50+ specialized agents organized into teams (planners, executors, critics, experts) → Hierarchical veto authority; critics can reject outputs entirely, triggering internal retry → Pre-declared acceptance criteria established before any work begins → Remote code execution keeps raw data separate from reasoning context → Different model providers for writers vs critics to avoid monoculture It turns out that coherence emerges from opposing forces. Planners push for clarity, executors push for pragmatism, and critics push for correctness. Their conflicting incentives create boundaries that prevent drift in the system." lnkd.in/gZ9hR3yQ It's great to see how this idea is intuitively resonating with many folks - for this is the best way to make reliably accurate, and consistent, multi-agent systems for production. Needless to say, we are excited to actually have this in production *today* unlike anyone else! Head over to isotopes.ai/signup to try it out! Meanwhile, geek out on actual production traces of multiple analysis with multiple teams of agents... each blue box is an sub-agent and the sequence diagram represents the interaction between them.
1
8
12
504
Sachin Chaurasiya retweeted
Remotion now has Agent Skills - make videos just with Claude Code! $ npx skills add remotion-dev/skills This animation was created just by prompting 👇
793
1,641
2,142
21,875
18,900,520
Sachin Chaurasiya retweeted
📣Calling all app developers! Starting today, you can submit your ChatGPT app for review. Approved apps will be listed in the app directory, a new surface for users to search for apps directly in ChatGPT. openai.com/index/developers-…
94
229
103
1,882
625,890
Sachin Chaurasiya retweeted
Chrome DevTools now supports *individual* network request throttling! Folks have been asking for this for years! DevTools now allows developers to simulate slow network conditions for specific requests rather than the entire page. This helps in testing how a web application performs and handles issues when specific resources (like images, scripts, or API calls) are slow to load.
74
377
61
3,133
281,979
Sachin Chaurasiya retweeted
Big moment for Postgres! AI coding tools have been surprisingly bad at writing Postgres code. Not because the models are dumb, but because of how they learned SQL in the first place. LLMs are trained on the internet, which is full of outdated Stack Overflow answers and quick-fix tutorials. So when you ask an AI to generate a schema, it gives you something that technically runs but misses decades of Postgres evolution, like: - No GENERATED ALWAYS AS IDENTITY (added in PG10) - No expression or partial indexes - No NULLS NOT DISTINCT (PG15) - Missing CHECK constraints and proper foreign keys - Generic naming that tells you nothing But this is actually a solvable problem. You can teach AI tools to write better Postgres by giving them access to the right documentation at inference time. This exact solution is actually implemented in the newly released pg-aiguide by @TigerDatabase, which is an open-source MCP server that provides coding tools access to 35 years of Postgres expertise. In a gist, the MCP server enables: - Semantic search over the official PostgreSQL manual (version-aware, so it knows PG14 vs PG17 differences) - Curated skills with opinionated best practices for schema design, indexing, and constraints. I ran an experiment with Claude Code to see how well this works, and worked with the team to put this together. Prompt: "Generate a schema for an e-commerce site twice, one with the MCP server disabled, one with it enabled. Finally, run an assessment to compare the generated schemas." The run with the MCP server led to: - 420% more indexes (including partial and expression indexes) - 235% more constraints - 60% more tables (proper normalization) - 11 automation functions and triggers - Modern PG17 patterns throughout The MCP-assisted schema had proper data integrity, performance optimizations baked in, and followed naming conventions that actually make sense in production. pg-aiguide works with Claude Code, Cursor, VS Code, and any MCP-compatible tool. It's free and fully open source. I have shared the repo in the replies!
52
219
8
2,164
187,557
Sachin Chaurasiya retweeted
Starting at midnight PT tonight, all Pro and Max plans have 2x their usual usage limits through New Year's Eve.
471
567
580
7,546
1,605,513
Sachin Chaurasiya retweeted
great advice to become an expert at anything from Andrej Karpathy
20
418
8
4,570
148,010