Ketan Khairnar (@_ketan) profile picture

ai agents shepherd explore - https://teapaw.org/t.co/coYMOtdOOl

India
Joined January 2008
Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)Photo by Ketan Khairnar (@_ketan)
Ketan Khairnar retweeted
Understanding is the canonical object. Code, runs, and agent output are things that propose changes to it. A human accepts the synthesis.
Don’t read the code. Read the tests.
1
1
96
Ketan Khairnar retweeted
MCP Gateways like executor.sh arcade composio + flow-work.dev is perfect match - Codemode + durable + queryable Flowwork support execution as well as introspection. Its Codemode++
code mode, what you need to know: if you give models 10,000 tools in a normal way, it will flood their context window so you need some form of lazy loading you could implement lazy loading to fix this (give the model two tools, `search` and `call`) but the model is still missing a way to filter the output of large tool calls and chain commands for that, you need some form of `execution layer` where the model can: - discover lazily loaded tools - chain calls - filter outputs the first one of these was bash, it gave the model a place to do all this in, then there was just-bash which extends the same concepts and now we have code mode, which is all the same concepts of 'give the model a place to do these calls' why js? no particular reason actually, you could likely get most of the benefits of code mode via something like just bash as well but in the same way that we don't write our production applications in bash, code mode lets you get more readable output and also has other benefits in being able to be used in generative ui and workflows that's also why it's worth understanding the concepts behind why something like code mode matters, it's not specifically code mode that's important here, it's the principles of lazy loading, chaining, and output filtering > are you dependent on the mcp author to implement it? mcp authors shouldn't be implementing codemode unless there's an extremely good reason for them to. the execution environment is a harness detail > can i add it infront of a poorly implemented mcp yes, for example executor.sh lets you add any mcp / api / graphql / in the future clis into something that can be invoked via code mode > how can i implement it in my own mcp you shouldn't need to, code mode is a harness implementation detail, the same way you wouldn't implement bash in your mcp MCP is in a weird spot at the moment where the execution layer of clients is super varied, some like claude code do lazy loading tools, others like codex have native code mode in prototyping the recommendation i'd give to people is to just push for the harnesses to be better rather than trying to hack around the limitations, the reason for this is if every MCP client implemented code mode then you lose a ton of composability benefits
1
1
779
Ketan Khairnar retweeted
flow-work is shipped and available for downloads - flow-work.dev Its workflow engine carefully crafted for people who work in claude-code or Codex but also care for traceability and want to use AI diligently
1
1
36
Ketan Khairnar retweeted
if you’re in India, subscribing to @opencode just got a lot easier upi autopay is now live for opencode go ₹900/month for generous limits and reliable access to open source coding models
84
71
15
1,713
120,375
Ketan Khairnar retweeted
Replying to @claudeai @SpaceX
👀
“Elon and Dario should do a deal tomorrow.” - Chamath explains how power constraints are giving Elon massive leverage to make AI deals “ To the extent that OpenAI missed, I think what that is, is an insight to not enough compute capacity today, and that problem is only getting worse. If you look at the actual amount of gigawatts that are under construction, we have a huge mismatch now. People have announced all these projects, but less than half of it is actually being built. Less than half. Most of it is stuck in red tape. There's no credible strategy to turn any of this stuff on. Who will this hurt? It will hurt Anthropic and OpenAI the most. Who will this benefit? It will benefit the hyperscalers, specifically Oracle, Amazon, Meta, Microsoft, and Google. And now what you're going to see is a negotiation and a trade back and forth. How much equity do I have to give up? How much control do I have to give up to get access to the compute? How badly will I miss my growth forecasts if I don't? That's a huge lane for Grok and SpaceX to run through because they have a ton of excess capacity. And so I think the Cursor deal was the appetizer. If I were Elon now, I'd be running all over this market because if the models catch up in quality, I think he could also do something really crazy with Anthropic. He and Dario should do a deal tomorrow.”
40
97
8
2,356
224,298
Ketan Khairnar retweeted
The best coding agent in the world is back. ampcode.com/news/neo
111
103
80
1,411
261,051
Ketan Khairnar retweeted
"Generated" desktop app to read all my markdown documents from one App - No need to open vscode/intelij to read "docs" directory : github.com/drutaTushar/mkd-d… Useful as I spend more time reading that coding Supports Mermaid diagrams It will build for MacOs and windows as well.
1
1
46
Ketan Khairnar retweeted
I made claude code skill for excalidraw - github.com/drutaTushar/xcali… A Claude Code skill that opens an Excalidraw drawing canvas, lets you sketch a diagram, and automatically attaches the exported PNG as visual context for your prompt. Tested only for linux.
1
1
55
Ketan Khairnar retweeted
Our @golang load balancer at @render handles more than 150 billion HTTP requests a month across millions of services. The number of times we've wanted to rewrite it in Rust: zero. Go is the most underrated language in infrastructure. "Boring" is the ultimate feature.
130
288
57
4,744
524,074
Ketan Khairnar retweeted
It's 11pm. Postmortem due before the all-hands tomorrow. You open Claude and stare at the blank chat window. "Have you considered the tradeoffs?" That's what you get for a specific, lonely decision. I built five Claude Code skills for those decisions: → /scrutiny — architecture review by a paranoid Staff+ engineer → /verdict — CTO-level decision memo that survives the meeting → /autopsy — incident postmortem that teaches the next on-call → /fracture — spec stress-test (closes your doc, asks you to explain it) → /tacit — router. Describe your situation. Right skill fires. 3-7 sharp questions per skill. Structured artifact you can forward. Specific things they refuse to do: → No banned hedges ("likely", "approximately", "perhaps", "might", "sort of") → No humans named as causes in postmortems (only mechanisms) → No invented skills → No skill runs before you approve the plan
1
1
58
Ketan Khairnar retweeted
"You don't pay engineers to write code, you pay them to understand subtleties and edges of the problem. The code is incidental." – Ted Dziuba
14
192
6
1,301
38,239
Ketan Khairnar retweeted
Replying to @Maaztwts
@Maaztwts built OSAP to stop the constant tab-switching between Slack, GitHub, and Notion. It uses GLM-5.1 as a reasoning layer to handle multi-step tasks across different apps, with persistent memory (HydraDB) to keep track of your specific workflow habits. osap.maazx.dev
94
98
27
372
52,069
Ketan Khairnar retweeted
If you're going to do new one new thing this weekend - Do this Think longer than 30 seconds on the FACT 'Software is commodity now, so why don't you have one for yourself? '
2
2
53
Ketan Khairnar retweeted
Most AI consultancies charge you ₹20L to build a chatbot wrapper and call it "digital transformation" We charge less, deliver in 2 weeks, and your team actually uses the thing on Day 1 The AI consulting industry has a delivery problem, not a talent problem
2
2
1
68
Ketan Khairnar retweeted
Congratulations! We did this for a real case — in 4 days. A professional was denied leave to pursue post-graduation despite internal rules allowing it, full chain-of-command approvals, and zero cost to the employer. The rejection: a one-line email with no reason, no rule cited, no recourse. They had 7 days before losing their seat and facing a 3-year ban. No time for a traditional legal process. Here’s what we built: A structured case summary from 14 documents Legal research across 6 relevant areas A complete 30+ page writ petition with multiple legal grounds and indexed annexures Adversarial reviews catching inconsistencies, typos, and factual errors A dual-track action plan: administrative + legal Gap analysis identifying missing evidence before filing The petition was reviewed, signed, and filed — and listed for hearing on the deadline day. This isn’t generic Q&A. It’s a system that reads real documents, understands rules, and produces filing-ready work under extreme time constraints. Happy to share the approach (not the documents) with others working on similar high-urgency cases.
Our @helloparalegal making waves in US law twitter
1
1
74
Ketan Khairnar retweeted
I ran 929 Claude Code sessions across 46 projects. 96% had no useful intelligence. Raw prompts as titles. Decisions buried. No way to search what I decided last week. I fixed this. Here's what changed: 🧵
1
1
61
Ketan Khairnar retweeted
right now everything in the world is telling you to go faster, ship more, add that feature, start another project so i'm actively working on feeling ok not doing any of that
217
300
60
4,641
333,616
Ketan Khairnar retweeted
People of India! My OCI + Airtel + HDFC has culminated in a massive achievement and rite of initiation. I have made my first UPI payment. I’m now unstoppable.
117
49
12
1,707
92,761
Ketan Khairnar retweeted
I started writing about semiconductors on Substack with a thesis nobody was talking about: memory bandwidth, not compute, is AI’s real bottleneck. I’ve been long NVIDIA since 2016. Believed in the vision before it was consensus. Now I’m at GTC with a creator pass interviewing their engineers and covering the architecture shifts shaping the next decade of AI infrastructure. Institutional investors read my work. International press cites it. Raja Koduri quote-tweeted my Intel thesis. I’m an EE, not a finance guy. I just wrote what I saw and NVIDIA kept proving me right. If you have real domain expertise — put it out there. The world needs it. Live from GTC all week.
27
24
2
491
29,534