Dhananjay Kumar (@debug_mode) profile picture

Teaching AI Agent Engineering | Founder, @nomadcoderai

Gurgaon, India
Joined April 2010
Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)Photo by Dhananjay Kumar (@debug_mode)
Dhananjay Kumar retweeted
AI ecosystem guide 2026: - 120 tools covered - across 18 categories Compute, Data, Pretraining, Fine-tuning, Compression, Inference, Structured outputs, Gateways, Benchmarks, App evals, Ingestion, Retrieval, Memory, Observability, Agents, Security, Prompt
9
12
2
105
5,767
Dhananjay Kumar retweeted
stop blaming the f*cking MODEL ANTHROPIC proved the same Claude acts like a different agent once you build the harness around it... agent = model + harness. the harness is everything around the model: rules, checks, memory, limits the Anthropic engineering team tested it on long coding jobs. give the model a feature list, a progress file, git and a real test, and it stops saying "done" before the job is done Claude Code already has a slot for all 6 layers: 1. guides: CLAUDE.md and skills. every new failure becomes a rule 2. sensors: hooks that run your linter and tests after every edit 3. the loop: plan, build 1 feature, a helper agent checks it, fix, commit 4. memory: claude-progress.txt, feature_list.json and git, so a fresh session knows where to start 5. permissions: allow and deny lists. nothing gets pushed or deleted without you 6. tracking: every tool call and every dollar logged prompt engineering shapes what the model is told context engineering shapes what it sees harness engineering shapes what it can do the harness, not the hype save this. my full 6-layer playbook is in the video ↓
Stop letting unfinished Opus 5.5 runs eat your budget Set up the harness before your next long task Save progress, verify results, reuse the workflow The full 7-layer setup below ↓
6
8
51
5,964
Dhananjay Kumar retweeted
THIS IS AN ACTUAL F*CKING GOLDMINE Fable 5.2 is insane for building self-evolving agent swarms… send it this prompt and it will design a 40-agent team that plans, builds, reviews, benchmarks, remembers failures, and improves its next run then read the full Opus 5.5 harness engineering guide below ↓
Stop letting unfinished Opus 5.5 runs eat your budget Set up the harness before your next long task Save progress, verify results, reuse the workflow The full 7-layer setup below ↓
9
12
198
38,265
Dhananjay Kumar retweeted
Spotify's engineers published the Claude Code setup that cut their token usage by 90 percent. Here is how it works. Most of what a coding agent does needs no thinking. It reads whole files to find a few lines it needs, and it writes routine code by copying examples that already exist. Spotify was paying top model prices for all of that. So they handed this work to two cheap helpers. The first reads the files and sends back a short summary. The second takes an example, writes the repetitive code and saves it straight to disk. The main model never sees any of it. The clever bit is how they enforced it. In the first version the rules lived in instructions, and the model often ignored them. Now any file over 350 lines gets blocked before the model opens it, and the job goes to the cheap helper. Two things still cost full price. Edits need the real file, so short targeted reads still go through. And in testing, the cheap helper missed a bug that the main model found in seconds.
42
43
3
657
59,577
Dhananjay Kumar retweeted
Code Mode is an experimental new feature in Claude Code that can improve both speed and context efficiency when Claude needs to orchestrate multiple steps. Try it out and let us know what you think! It enables Claude to perform multi-step tool calls by writing and running JavaScript. Rather than calling one tool at a time (e.g. Bash, Read, or Edit) and waiting to see the result before deciding what to do next, Code Mode allows Claude to write a simple script to run multiple commands in parallel, passing arguments and filtering outputs for subsequent tool calls to reduce context. I'm excited about this work because Code Mode enables more efficient and streamlined multi-step coding flows. For example, rather than passing large amounts of raw search data into the context window or having to make a large number of sequential calls to perform the same refactoring across dozens of files, Claude can orchestrate these tasks programmatically in a single pass. Still, you will be able to interact with Claude as normal through natural prompts. And if you ever need to see the exact JavaScript that Claude generated, you can always use Ctrl+O to expand the collapsed Code rows in the transcript viewer. One of the most exciting practical improvements from Code Mode is its ability to perform long-running operations, like running test suites or complex builds, as background processes. When Code Mode is running in either auto or bypassPermissions mode, scripts can run in the background for up to two hours. You can continue to interact with Claude and perform other work within the same session. The /tasks command provides complete transparency and control over background scripts. Each tool call that is generated within a script is still governed by your current deny and ask permission policies, sandbox constraints, and PreToolUse hooks. Hooks can even be defined specifically for the REPL tool to inspect the generated JavaScript before running, or redact sensitive tokens from the output before reading it into the context. To enable Code Mode, just start your session with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude or set the environment variable in your ~/.claude/settings.json file. Give it a try by running multi-file audits, batch edits, or any type of parallel search-and-filter operation. Code Mode is experimental and the team is actively iterating on it, so please run /feedback in your terminal to let us know what works well and where you hit any edges. Hope it's helpful!
Check out Code Mode, a new, experimental way for Claude Code to work with tools. Claude writes scripts that chain your tools together in sophisticated ways, and it can answer you while long commands are still running. Opt in with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 code.claude.com/docs/en/code…
274
117
65
2,445
197,234
Dhananjay Kumar retweeted
This is f*cking insane. Anthropic engineer: "Most people are still tweaking prompts and calling it AI engineering Here, 95% of engineers already run loops that improve themselves. The next step is graphs, and prompting is basically done" In just 10 minutes, she builds her full Claude Code setup live, starting from a blank terminal Blank Terminal → Agents → Loops → Graphs → A System That Gets Better On Its Own A loop lets an agent grade its own output and keep fixing it until it passes A graph wires those loops together, so agents hand work to each other while you're away The model is the same for everyone. What's different is the system you build around it Bookmark it and watch it today Then read the full harness engineering guide below and build your first self-improving system ↓
1
6
64
9,895
Dhananjay Kumar 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 ↓
Your agent passed every test The issue is still open A better prompt won't fix it, because the model isn't the broken part I broke down the harness, loop and graph around it: what each one owns, how they nest, and which one to fix first ↓
161
340
27
3,353
384,000
Dhananjay Kumar retweeted
Anthropic, Skilljar üzerinden Claude Forward Deployed Engineer (FDE) adlı yeni bir eğitim programı başlattı. Program toplam 9,5 saat ve 11 dersten oluşuyor. Kendi hızınızda tamamlayabiliyorsunuz. Eğitimde ele alınan konular: - Yapay zekanın yetenekleri ve sınırlamaları - Claude API, model seçimi ve context yönetimi - Claude Code ile uygulama geliştirme - AI Agent geliştirme ve araç kullanımı - Model Context Protocol (MCP) entegrasyonları - Agent Skills oluşturma - Gerçek müşteri senaryolarında AI pilot projeleri geliştirme - Başarı metrikleri, risk yönetimi ve kurumsal AI adaptasyonu Eğitimi tamamladıktan sonra Claude Certified Developer – Foundations sertifikasyon sınavına hazırlanabiliyorsunuz. Program Claude Partner Network üyelerine açık. Daha önce Claude Developer eğitimini tamamlayanlar için yalnızca 2 ek ders, yaklaşık 100 dakika yeterli. İncele: anthropic-partners.skilljar.…
6
83
4
856
70,222
Dhananjay Kumar retweeted
An overview of 16 eval frameworks - what each proposes to score: answers, steps, tool calls, paths, conversations, cost. How they grade and gate.
69
79
6
662
52,350
How do you give AI agents real autonomy without letting them go off the rails in critical systems? 🚧 🎙️ A Guardrail Blueprint for Production AI Agents Laxminarayan Chandrashekar takes the #AIIndia2026 stage next to share a practical architectural blueprint for production agent guardrails.  #AIIndia #TechConference
5
2
5
306
First talk of the day #AIIndia #AI #AIIndia1026 #TechConference Self Improving Agent Architecture @piyukore06 rocking on stage 🔥🔥
1
5
296
#AIindia 2026 begun @debug_mode having welcome note
1
2
190
Dhananjay Kumar retweeted
I am speaking at AI India 🇮🇳 tomorrow in Pune about “offline ai on mobile devices” tomorrow. it marks my first talk at a tech conference! 😄
6
1
27
614
Dhananjay Kumar retweeted
Full package on evals, bookmark it: Evals (general) View article Agentic evals View article Eval-driven development View article Skills evals View article
10
62
610
30,495
Dhananjay Kumar retweeted
I'm hiring 50 staff software engineers on contract and 10 full time to join our team at g2i.ai You'll work with top frontier labs creating datasets for coding/RL env $1,000+ per task on contract Apply here: jobs.ashbyhq.com/g2i/76286c1…
105
116
9
1,226
134,633
Dhananjay Kumar retweeted
This is f*cking insane. SpaceXAI engineer Lauren Tan (ex-Cursor): "All code is slop. Except the code that passes the checks we built 11,000 pull requests in one month, and our revert rate is 0.5%" In 17 minutes, she shows how the Grok Bot team ships that fast without breaking anything Architecture → Lint Rules → Tests → Runtime Checks → Formal Verification → A Software Factory Spend your tokens on verification, not on more agents Worth more than any $3,000 agent engineering course Bookmark and watch it today Then read the full setup: Grok Bot, 6 bots, 200+ agents and a smaller bill ↓
Your Grok Bot is not expensive Your setup is 75% of my Grok Bot tokens went to re-reading old chat. About 1% went to actual work I broke down the 6-bot setup the Grok Bot team runs, and the 9 leaks eating your bill ↓
15
13
2
163
12,558
Dhananjay Kumar retweeted
گوگل لبز ۱۵ عدد AI Design Skill رو به‌صورت متن‌باز منتشر کرده که می‌تونن فرایند طراحی رابط کاربری رو برای Agentهای هوش مصنوعی ساده‌تر و حرفه‌ای‌تر کنن. این مجموعه به Agentها یک Workflow آماده برای طراحی UI می‌ده تا بتونن از ایده اولیه تا ساخت رابط کاربری و توسعه اون پیش برن. این Skillها چه قابلیت‌هایی دارن؟ 🎨 طراحی رابط کاربری از روی متن و تصویر می‌تونید فقط با توضیح متنی یا ارائه یک تصویر مرجع، صفحات وب و رابط کاربری اپلیکیشن طراحی کنید. بعد هم با درخواست‌های متوالی، طرح رو اصلاح و تکمیل کنید. 🎯 حفظ یکپارچگی طراحی رنگ‌ها، فونت‌ها، کامپوننت‌ها و دستورالعمل‌های طراحی داخل یک فایل به نام "DESIGN.md" سازمان‌دهی می‌شن. این کار باعث می‌شه وقتی چندین صفحه مختلف طراحی می‌کنید، همه اون‌ها از یک Design System مشترک پیروی کنن و ظاهر پروژه یکپارچه باقی بمونه. ⚛️ تبدیل طرح به کد React طرح‌های ایجادشده فقط تصویر یا Mockup نیستن؛ می‌تونید اون‌ها رو به React Components تبدیل کنید و وارد مرحله توسعه واقعی بشید. 🌐 پشتیبانی از وب‌سایت‌های چندصفحه‌ای امکان طراحی و ساخت وب‌سایت‌هایی با چندین صفحه، رابط‌های پیچیده و ساختارهای مختلف وجود داره. 🎬 ساخت ویدئوی نمایشی این مجموعه امکان تولید Demo Video از طراحی‌ها رو هم فراهم می‌کنه تا بتونید نتیجه کار رو به شکل ویدئو ارائه بدید. برای چه پروژه‌هایی کاربرد داره؟ - طراحی وب‌سایت‌های معرفی محصول (Product Websites) - ساخت پنل‌های مدیریتی (Admin Dashboards) - طراحی رابط کاربری اپلیکیشن‌ها - ساخت نمونه اولیه محصولات (Prototypes) - تبدیل ایده‌های اولیه به رابط‌های قابل توسعه پیش‌نیاز استفاده: قبل از استفاده باید Google Stitch MCP رو پیکربندی کنید تا Agent بتونه از قابلیت‌های طراحی Stitch استفاده کنه. در واقع این مجموعه رو می‌تونید به‌عنوان یک جعبه‌ابزار طراحی UI در اختیار Agent قرار بدید تا فرایند طراحی، اصلاح و تبدیل طرح به کد رو مدیریت کنه. 🔗 مخزن GitHub: github.com/google-labs-code/… کانال تلگرام : t.me/yarad_ai
20
172
6
1,432
66,640
Dhananjay Kumar retweeted
my AIE talk is up! come hear how the grok @bot team ships so quickly without compromise on quality youtu.be/O_zcc6Xl12g
470
996
297
10,745
3,053,833