
Building @thematiqlabs. Agentic systems for business operations
India
Joined October 2023
- Tweets930
- Following836
- Followers311
- Likes2.9K
Indresh retweeted
Uber recently published a blog on how they manage their 5,000+ agent skills across the org. Here's the gist and some very interesting pointers (and guidance)...
To set some context, an agent skill is just a Markdown file that teaches an agent a workflow. Think of it as a repeatable prompt. They are easy to write, which is exactly why they multiply. Uber likes to treat them like software:
- Skills live in a Git repository, so each one has an owner, peer review, and history.
- One internal CLI installs the same skills across different coding agents, so nothing is tied to a single tool.
- Hooks send anonymized usage events that feed per-skill metrics, and a linter plus evals gate quality.
The cost side is more interesting. Deterministic steps move out of repeated LLM calls and into scripts, post-supervision ofc. One 50-row query dropped from about 1.4M tokens to about 900.
They also run work in cheaper subagents wherever possible, and this cut one tracing skill's per-invocation cost by 46%.
One super interesting thing was that they have a skill that lets them file structured bug reports when a tool fails, which can then be fixed easily.
And they do not try to have a 100% eval pass rate. Given that a 100% pass rate can hide actual gaps, and better models may make some skills unnecessary, they prune cases, evals, and skills.
Super interesting blog. Hope it helps.
Indresh retweeted
This is f*cking insane. Anthropic pays this engineer up to $950K a year to build agent harnesses, and he just told every developer wiring agents by hand why their systems keep breaking:
"Building harnesses is the reason Anthropic hired me. My systems run loops, sandbox their tools and turn yesterday's logs into new skills
Same model, agents 10x more reliable, and better every morning"
In a 12-minute workshop, he builds one from scratch on stage
Opus 5.5 → Agents → Harness → Loops → Graphs → A System That Learns Overnight
The harness owns the loop, the context and the sandbox, so the model only has to think
It runs on the server, picks up from the log after a crash and retries instead of starting from zero
Overnight, old logs turn into new memory. Anthropic calls it "dreaming"
Worth more than any $2,000 agent course
Bookmark it and watch it today
Then read how the harness, loops and graphs fit together in the guide below ↓
Indresh retweeted
Dear ambitious minds, I beg you. Please STUDY:
- Neuroplasticity
- Pattern recognition
- Game theory
- Obsession
- Non-linear careers
- First-principles thinking
- Behavioral psychology
- Leverage
- Probabilistic thinking
- Energy management
- Storytelling and persuasion
You’ll be extremely SUCCESSFUL if you do.
Indresh retweeted
Computer science is basically a 2 year degree. The 3rd year is just internships. And the 4th year is to regret.
Indresh retweeted
This Anthropic MCP paper is f*cking gold
Anthropic's engineers cut an agent's tool context from 150,000 tokens to 2,000. Same tools, same task. And the model wasn't the upgrade.
The upgrade: the agent stops calling tools and starts writing code that calls them.
tools → files → code → filter → answer
The 6 parts of code mode:
Part 1 → tools as files
Every MCP tool becomes a .ts file in ./servers.
The agent lists the folder and opens only what it needs.
Part 2 → load on demand
150,000 tokens of tool definitions down to 2,000.
A 98.7% saving in time and cost.
Part 3 → filter in code
A 10,000-row sheet gets filtered in the sandbox.
The model sees 5 rows.
Part 4 → loops in code
Polling Slack for "deployment complete" runs as a while loop.
No round trip through the model on every check.
Part 5 → private by default
Emails and phones turn into [EMAIL_1] and [PHONE_1] before the model sees them.
The real data still lands in Salesforce.
Part 6 → skills
Working code gets saved to ./skills with a SKILL.md.
The agent builds its own toolbox.
An agent that loads every tool burns its context before you ask anything. An agent that writes code opens 2 files.
I packed all 6 parts into one prompt. Drop it into Claude Code and it sets code mode up for you.
6 parts. 1 prompt. 98.7% fewer tokens.
Then read the enhanced edition of agent engineering below ↓
Indresh retweeted
People make MCP sound so complicated, but isn't it basically just an API that tells AI agents how to use it?
Indresh retweeted
最近在研究 LangChain 和 LangGraph,发现很多人对这两个东西的理解其实有点混乱。
有人觉得 LangChain 是旧框架,LangGraph 是新框架;也有人认为 LangChain 适合简单 Agent,LangGraph 才能做复杂项目。
但其实,这两个东西根本不是简单的替代关系。
它们解决的是不同层级的问题。
先说 LangChain。你可以把它理解成一个高层 AI Agent 开发框架。
它主要帮你把大模型、Prompt、Tools、上下文以及 Agent 执行循环组织起来。
比如你想做一个招聘 Agent,让模型根据用户的问题,自动查询岗位 JD、读取相关信息、调用工具,最后生成分析结果。
如果直接使用模型 API,你可能需要自己处理模型请求、工具调用、结果回传和下一轮推理。
而 LangChain 已经封装了不少相关能力,可以让你更方便地把这些组件连接起来。
它更关注的是,怎么快速构建一个具备模型推理和工具使用能力的 Agent。
但问题来了。如果你的业务不是简单地调用工具、返回结果,而是需要多个明确的执行步骤呢?
比如招聘系统需要先解析简历,再匹配岗位,生成评分报告,然后根据业务规则进入不同处理流程,最后等待 HR 审批。
而且任务执行到一半突然中断了,你还希望它能够从之前的状态继续执行,而不是所有步骤重新跑一遍。
这时候就轮到 LangGraph 了。
LangGraph 更接近一个有状态的工作流编排框架。
它最核心的三个概念就是 State、Node、Edge。
State 负责保存执行状态,Node 负责执行具体任务,Edge 负责决定任务下一步流向哪里。
你可以明确规定哪些步骤必须执行,哪些地方允许模型自主决策,什么时候进入条件分支,什么时候暂停等待人工审批。
它还提供 Checkpoint、Interrupt 等机制,让开发者能够设计状态持久化、暂停与恢复流程。
但这里有个特别重要的区别。
LangGraph 能帮你恢复工作流状态,不代表它自动解决了业务幂等问题。
比如 Agent 调用一个付费 API,实际上已经执行成功,但程序还没保存结果就崩溃了。
如果恢复后直接重新调用,依然可能产生重复扣费。
所以真正的生产系统,还需要自己处理外部任务 ID、幂等键、业务状态和错误恢复。
说到这里,其实就很容易理解这两个框架的关系了。
LangChain 更关注模型和工具怎么组织起来,让 Agent 具备执行任务的能力。
LangGraph 更关注任务执行过程怎么被组织、控制和管理。
而且现在 LangChain 的 create_agent 本身就是建立在 LangGraph 之上的。
两者完全可以配合使用。
比如用 LangChain 创建一个能够调用招聘工具的 Agent,再把它放进 LangGraph 的某个节点,由 LangGraph 管理整个招聘业务流程。
当然,这也不代表所有 AI 项目都必须使用这两个框架。
如果你的需求只是调用一次模型,提取几个字段,返回一份 JSON,直接使用模型 SDK 可能更加简单。
如果业务流程完全固定,普通的后端代码和状态机也可能足够。
我觉得现在很多人学 AI 开发,最容易犯的错误,就是还没想清楚业务到底需要什么,就急着引入各种 Agent 框架。
最后框架装了一大堆,工作流画得特别复杂,真正出了问题反而不知道从哪里排查。
说到底,LangChain 和 LangGraph 真正值得学习的,不只是它们的 API 怎么调用。
而是它们背后的模型工具调用、任务状态、条件路由、执行恢复和工作流设计思想。
你得知道什么时候应该让模型自主选择工具,什么时候应该使用确定性流程,哪些状态必须保存,哪些操作需要人工审批,以及任务失败以后应该怎么安全恢复。
这些东西即使以后换了框架,依然是非常重要的工程能力。
所以我的理解是:
LangChain 让你更方便地构建 Agent。
LangGraph 让你更精细地控制 Agent 的执行流程。
但真正决定一个 Agent 能不能交付的,不是你选择了哪个框架,而是你有没有把业务流程、状态、权限和异常处理设计清楚。
学框架当然重要,但更重要的是搞明白框架到底帮你解决了什么问题。
不然最后 LangChain、LangGraph 都会用了,却连为什么需要一个 Checkpoint、为什么工具调用不能无脑重试都解释不清楚,那其实还是停留在工具使用层面。
这也是我觉得做 Agent、FDE、企业 AI 落地,最值得长期积累的工程能力。
Indresh retweeted
fu*cking every Jane Street resource for traders.
free. all in one.
hft.md/jane-street
save rn.
Indresh retweeted
As an Agentic AI Engineer in 2026.
Please learn:
1. Context engineering & memory: what enters the context window, what gets summarised, what gets retrieved later. Otherwise the agent re-reads the same files every loop, or forgets a constraint from twenty turns ago.
2. Tool design & schemas: a tool that returns ambiguous free text leaves room for the agent to improvise. Strict schemas and validation make failures visible instead of letting bad output pass silently.
3. Permissions & credentials: enforce these outside the model. The prompt says don't write to production. The prompt isn't the thing holding the token.
4. Retries, backoff, iteration limits & budgets: retrying a side-effecting call can repeat the operation. Without iteration limits, an agent loops until the budget is gone.
5. Idempotency & durable execution: the request timed out, but the write landed anyway. The retry creates a second record. You need to handle retries, checkpoints and partially completed work.
6. Orchestration & handoffs: every handoff compresses context. A worker solves the wrong problem cleanly, while the orchestrator gets more confident as it knows less.
7. Verification & completion detection: the agent will decide it's done. Something outside the agent needs to check whether the outcome was actually achieved.
8. Evals as regression tests: if you built the suite from failures you already understood, it stays green until the first failure nobody anticipated.
9. Observability & traces: which tool was called, with what arguments, in what order, at what cost. Without that, debugging a bad outcome is guesswork.
10. Failure recovery & state reconstruction: runs die halfway. If the system can't reconstruct what happened, it can't reliably resume.
11. Sandboxes & isolated execution: give the agent somewhere to experiment, execute code and test changes without putting the real system at risk.
12. Inference economics & latency: model routing, caching, parallel tool calls, P95 latency and TTFT. An agent that works but costs too much or takes too long to finish won't reach production.
Repository context is not production context. Most of this list is the gap between them.
None of it makes the model smarter. It makes the model's mistakes cheap, visible and recoverable.
Indresh retweeted
not knowing the difference between a container and a sandbox but claiming you can build ai agents should be a sin
Indresh retweeted
The poor are addicted to entertainment.
The ambitious are addicted to information.
The rich are addicted to execution.
Indresh retweeted
This is f*cking insane. Andrej Karpathy, the man who built AI at OpenAI and Tesla:
"Most people still treat LLMs like chatbots
These 5 shifts are turning them into agentic systems"
In just 43 minutes, he walks through the whole stack, one shift at a time
Memory → Vision → Reasoning → Search → Tools → Agentic Systems
Prompting was the old approach. Systems are the new one
Worth more than most $1,000 AI agent courses
Bookmark and watch it today
Then read the full Graph Engineering guide below ↓
Indresh retweeted
Earlier this week Tristan published his top YouTube channels:
thume.ca/2026/11/01/youtube-…
Which looked excellent so clearly I had to turn it into TristanTube:
karpathy.ai/tristan-tube/
47K super nerdy videos +TV mode for laid back watching. (One-shotted with Claude Code in 3 minutes)
Weekend hack: HackerTube. I was annoyed with YouTube's recommendations so I had Claude filter down 43M comments over 20 years of HN to 6,454 videos that keep being recommended. *Significantly* better viewing experience, ~2 hours with Opus 5.5:
hackertube.org/
- Excellent recs without any logins (state is kept in local browser session)
- Thumbnail is a representative frame from middle of the video instead of the super duper A/B test hyper-optimized user uploads
- Underlying data from the comment analysis as one zip file, point your Claude at it and ask for your own version
- HackerTube Longs ✊
A bit more on the process:
I use Claude Code (desktop app for Mac), Opus 5.5 on Medium effort as my default. I only talk to Claude and have it do everything, the only "manual work" I helped with in tandem was in the browser (reminiscent of MenuGen): 1) I had to create some kind of API key from Google Cloud UI to query YouTube for video metadata, 2) I booted up a VPS box for serving and 3) I bought the domain name. Once the box was up I gave Claude the IP and told it update, secure, harden, deploy and optimize the code, and it did the whole thing.
Many awesome projects that would have normally taken weeks/months even can now be few-shotted for breakfast. What else are we not thinking of.
I have been bashing the walls for the past 5 years , juggling multiple things and trying to do something extraordinary...
I should say I have done some cool stuff but the horizon keeps moving and that's expected.
Im so restless, it's 3am and I can't sleep yet
42
Indresh retweeted
Karpathy's 3-file loop runs AI research all night, and this is criminally underrated f*cking gold for anyone building with Claude Opus 5.5
98,844 GitHub stars, MIT, one NVIDIA GPU
5 minutes per experiment, about 12 an hour, roughly 100 by morning
the agent is told never to stop and ask "should I keep going?", because you might be asleep
you never touch the Python
you only edit program. md, which Karpathy calls the code of your research org
a tiny gain that adds 20 hacky lines gets thrown out
the same score with less code stays
one number to beat, one file to edit, a fixed time per run
that's loop engineering in its smallest form, and it works far beyond model training
point the same loop at a Zettelkasten in Obsidian
and Claude keeps your notes linked while you do something else
every night without a loop like this is a night of experiments somebody else's GPU ran for free
the full guide to both ideas is below ↓





























