
Software developer, IT specialist, Traveller, Teacher and Mentor. - Travelling | IT | Education
Gomel, Belarus
Joined November 2010
- Tweets3.3K
- Following185
- Followers76
- Likes3.4K
Andrey Kukharenko retweeted
Archify converts natural language descriptions into interactive architecture diagrams.
github.com/tt-a1i/archify
Andrey Kukharenko retweeted
After Andrej Karpathy released autoresearch, where an agent runs experiments in a loop on its own, I packed his method into one prompt that turns Opus 5.5 into a graph and can carry almost any task to the finish.
→ writes a check that can actually fail, first
→ splits the task into parts
→ runs the independent parts in parallel
→ loops each one until it passes the check
→ sends back only the part that failed
→ turns every mistake into a rule for next time
→ calls you only for the step that can’t be undone
Throw it at Opus 5.5 with the task you’ve been putting off for a week, and you’ll see the difference in one run.
The full prompt is in the comments.
How to tune it for your own work is in the article below. Save it before it gets lost ↓
Andrey Kukharenko retweeted
Understanding Lazy<T> thread safety modes
andrewlock.net/understanding…
In this post I look at how the different LazyThreadSafetyMode values work with Lazy<T> and how exceptions are handled for each mode
#dotnet
Andrey Kukharenko retweeted
TokenEconomizer (Microsoft Research + UC Berkeley) plugs into Claude Code, Codex, Copilot CLI and Pi and learns from past sessions in a repo: it remembers commands that work there, drops unused tools and nudges the agent out of failure loops. 486 stars.
github.com/microsoft/TokenEc…
A single .md file with tips & tricks for high-performance .NET/C# code, mostly meant for AI, and mostly aimed at benchmarks against the crustaceans 🙃 github.com/EgorBo/BlazingFas… (no unsafe!)
Contributions welcome if anything's missing, cc @axeng200 @ben_a_adams
Andrey Kukharenko retweeted
Microsoft quietly published 9 production-ready .NET libraries
Most .NET developers have no idea they exist 👇
They're official and open-source.
Microsoft runs them inside its own production services.
Each one is a separate NuGet package.
You install only what you need, with no extra baggage.
𝟭. 𝗔𝗜
IChatClient gives you one API for OpenAI, Azure OpenAI, Ollama, and more. Switch providers without rewriting your code.
𝟮. 𝗥𝗲𝘀𝗶𝗹𝗶𝗲𝗻𝗰𝗲
One call to AddStandardResilienceHandler() adds retries, timeouts, a circuit breaker, and rate limiting to HttpClient.
𝟯. 𝗧𝗲𝗹𝗲𝗺𝗲𝘁𝗿𝘆
The [LogProperties] attribute logs every property of an object as its own structured field.
𝟰. 𝗖𝗼𝗺𝗽𝗹𝗶𝗮𝗻𝗰𝗲
Tag sensitive fields once, and emails or card numbers get redacted in your logs.
𝟱. 𝗗𝗶𝗮𝗴𝗻𝗼𝘀𝘁𝗶𝗰𝘀
Health checks for Kubernetes liveness and readiness probes, plus CPU and memory monitoring.
𝟲. 𝗖𝗼𝗻𝘁𝗲𝘅𝘁𝘂𝗮𝗹 𝗢𝗽𝘁𝗶𝗼𝗻𝘀
Config values that change per user, tenant, or request.
𝟳. 𝗔𝗦𝗣.𝗡𝗘𝗧 𝗖𝗼𝗿𝗲 𝗘𝘅𝘁𝗲𝗻𝘀𝗶𝗼𝗻𝘀
Measures latency for each stage of the request pipeline, so you see exactly where the time goes.
𝟴. 𝗦𝘁𝗮𝘁𝗶𝗰 𝗔𝗻𝗮𝗹𝘆𝘀𝗶𝘀
Microsoft's curated Roslyn analyzer rules, shipped as one NuGet package.
𝟵. 𝗧𝗲𝘀𝘁𝗶𝗻𝗴
FakeTimeProvider moves time forward instantly. FakeLogger lets you assert on log output.
📌 Explore the repo here:
github.com/dotnet/extensions
I still see teams write this code by hand:
→ A custom retry loop with Task.Delay
→ A regex that masks emails before logging
→ A test that waits 30 seconds for a cache to expire
Each one is more code you have to debug and maintain yourself.
❌ Hand-rolled helpers → your bugs, your maintenance
✅ Microsoft's packages → tested at scale, maintained by the .NET team
Before you write your next helper class, check this repo first.
Have you tried any of these libraries?
Andrey Kukharenko retweeted
This is an actual goldmine for every AI builder
400+ ready-made agents and skills for almost any job. From Anthropic, its engineers and the community.
github.com/msitarzewski/agen… (158k stars)
~170 agents organized like a company: engineering, design, marketing, sales, product, testing, security, support. Extra packs for finance, healthcare and game dev. Works with 15+ tools.
github.com/wshobson/agents (40k stars)
202 agents, 184 skills and 105 commands packed into 94 Claude Code plugins. Language experts, code review, debugging, infra, security, testing. Install only the plugins you need.
github.com/anthropics/knowle… (26k stars)
Anthropic’s own plugins built around jobs: sales, customer support, product management, marketing, legal, finance, data.
github.com/anthropics/claude… (18k stars)
Official agents you can deploy: a daily brief from Slack and GitHub, scheduled Sentry triage, Slack and Linear bots, a customer support agent, a financial data analyst.
github.com/addyosmani/agent-… (103k stars)
From Anthropic engineer. 25 skills covering the whole dev cycle: interview-me, spec writing, TDD, browser testing, security review, CI/CD.
I’d start with claude-quickstarts. Every agent there is a full working example you can run and take apart.
Andrey Kukharenko retweeted
Если и есть ядерная бомба в мире софта - то это вот это
github.com/morluto/rea
Получить ассемблер из бинарника - известная задача, а дальше LLM восстанавливает исходник.
Andrey Kukharenko retweeted
Andrej Karpathy (ex-OpenAI, ex-Tesla) just released a prompt that turns Opus 5.5 into a harness that actually finishes the any job.
It's f*cking unreal...
send it to Opus 5.5, and thank me later. Then read the full guide for Opus 5.5 Harness Engineering.
Andrey Kukharenko retweeted
Google's team published a 9-page PDF on Harness Engineering. one formula replaced prompt engineering:
Agent = Model + Harness
the twist: same Claude Sonnet, same benchmark. change only the harness
the playbook, six steps:
step 1 -> add guides
AGENTS.md, rule files, constraint docs. every line is a past agent failure turned into a permanent fix
step 2 -> add sensors
linters, tests, validation scripts the agent runs on its own output before a human sees it
step 3 -> build the agentic loop
plan, execute, verify, fix. bounded retries, budget caps, escalation when stuck
step 4 -> externalize memory
the model forgets every session. the harness holds state, decisions and artifacts across all of them
step 5 -> enforce permissions
which tools, how many writes, what needs approval. safety lives in the harness, never in the model
step 6 -> wire observability
track every tool call, cost and retry. trip wires fire when behavior drifts
the result: your agent turns from a demo into infrastructure
every failure makes the system permanently better, not just the next conversation
that's also the line between an agent you show people and one a client pays you to leave running
one harness gets you a reliable loop. connect several and it becomes graph engineering, where one agent's failure turns into another agent's sensor
the PDF stops at the harness. the graph is the next layer
that breakdown, running on Kimi, is below ↓
Andrey Kukharenko retweeted
Download this Free 189-page PDF — The Little Book of Deep Learning: fleuret.org/public/lbdl.pdf
————
#MachineLearning #ML #DataScience #DataScientist #Mathematics
Andrey Kukharenko retweeted
this is pure f*cking gold
andrej karpathy landed at anthropic 14 weeks ago
about that "two anthropic seniors made his loop 1000x better with graph engineering" line - i can't find a source for it anywhere, so i'm not passing it off as fact
what is public and checkable:
anthropic's own cookbook on building knowledge graphs, plus karpathy's autoresearch loop that ran 700 experiments in 2 days and surfaced 20 optimizations on its own
i wired the graph approach into my own setup
the difference showed up on the very first reply
claude skipped the stock answer and actually reasoned through the problem
start with the cookbook, the full write-up is below
Andrey Kukharenko retweeted
Spotify just published the internal setup their engineers use with Claude Code, the one that cut token usage by 90 percent. Here is how it works.
The observation behind it: most of what a coding assistant does is not thinking. It opens five files to answer a question about one of them. It writes a test that copies the pattern of the twenty tests sitting next to it. Enormous amounts of work, almost no judgment, and all of it billed at top rates.
So they added two cheap assistants. One opens the files and hands back a short summary. The other writes the repetitive code from an example and saves it straight to disk. The expensive model never sees any of it.
The clever part is how they made it stick. First the rules were written down as instructions, and the model ignored them. Now anything over 350 lines gets stopped before it opens and sent to the cheap one instead. Written rules are a suggestion. A block is not.
Two things stayed expensive. Edits still need the real file. And the cheap worker missed a bug the expensive one caught in seconds.
Andrey Kukharenko retweeted
Karpathy didn't make a course.
He made THE course.
3 hours. Free.
Tokenization. Attention. Hallucinations. Tool use. RLHF. DeepSeek. AlphaGo.
Every behavior you've ever wondered about in an LLM - where it comes from, why it exists, how it was engineered.
The gap between engineers who understand this and engineers who don't isn't technical depth.
It's the ability to conceive of entirely different things.
I converted some of the learnings from it, to below article.
Bookmark. Watch. Read.
Andrey Kukharenko retweeted
Anthropic just dropped a free 59-minute Claude Code course
From autocomplete to real AI agents:
0% → 00:00 - move from autocomplete to agents
20% → 04:50 - understand how the agentic loop works
40% → 14:07 - use CLAUDE.md as project memory
60% → 26:53 - learn why Plan Mode comes first
80% → 33:31 - run a live task from brief to commit
100% → 54:46 - understand Skills vs CLAUDE.md
Most people still use Claude Code like a smarter autocomplete
This shows how Anthropic uses it to plan, call tools, test, and ship actual work
Worth more than 99% of paid Claude Code tutorials
Bookmark it and watch later
Andrey Kukharenko retweeted
Andrew Ng just released a free 2-hour course on complete Harness Engineering
How to go from one prompt to a reliable system of agents that can run, test, and improve themselves:
09:14 - Build your first agent from scratch
33:11 - Master agent loops
1:02:46 - Turn loops into reliable workflows
1:30:15 - Build agents that improve their own work
1:49:05 - Run the complete system without supervision
Model → Harness → Reliable Software
Most agent tutorials stop once the model can call a tool
This one shows you how to build the infrastructure around it within the first 20 minutes
Most people are still prompting one agent at a time
Andrew Ng is already teaching the layer above:
Harnesses that give agents context, tools, tests, and feedback
Watch this brilliant course and build the harness
Then read the full architecture below ↓
Anthropic senior engineer just released a 1-hour course on building a team of agents with loops & graphs:
• 00:27 - introduction to CLAUDE.md & Plan mode
• 11:24 - building "skills" & "hooks" for Claude agents
• 37:02 - building agents & subagents with Claude
• 52:47 - self-improving loops & graphs for Claude agents
this 1-hour watch will replace a $500 agentic engineering course
watch today, then read how to build a team of self-improving agents that work together
This media is unavailable
Andrey Kukharenko retweeted
Most people think an AI agent is simply an LLM connected to a few tools.
But a reliable agent system has much more happening behind the scenes.
This visual breaks it down into 4 layers:
1. LOOP — The execution cycle
The agent observes the environment, takes an action, checks the result, and repeats the process until the goal is reached.
This is the basic unit of agentic behavior.
2. GRAPH — The workflow
A graph connects multiple steps together.
Different nodes can handle different tasks, while conditional paths decide whether the system should continue, retry, or move to another step.
This makes complex workflows easier to manage.
3. HARNESS — The environment
The harness defines what the model is actually allowed to do.
It manages:
→ Tools
→ Permissions
→ Context
→ Traces
So the LLM doesn't get unlimited access to the real world.
4. META-HARNESS — The governance layer
This sits above the individual agents.
It manages shared sessions, policies, collaboration, permissions, and how multiple agents work together.
The bigger picture:
LLM = reasoning engine
Loop = execution
Graph = workflow
Harness = controlled environment
Meta-Harness = governance
Together, these layers turn a model into a much more capable and reliable AI agent system.
Save this visual if you're learning how AI agents actually work.
Follow @AamirAnsar94694 for more AI, tools, productivity and tech insights.
#AI #AIAgents #LLM #GenerativeAI #AIEngineering #MachineLearning #ArtificialIntelligence #TechHub









































