Suresh retweeted
What does an AI harness actually do?
These 6 terms explain how an agent goes from a request to a finished task.
Let's take this example: a support agent that checks an order and drafts a reply.
What happens at each step:
/1 Agent loop
The model chooses an action, a tool runs, and the result comes back. The cycle continues until the reply is ready, help is needed or a limit is reached.
/2 Tool calling
The model requests a tool by name, with arguments. The harness checks and executes that request, then returns the result. An order lookup gives the model a delivery status it can use.
/3 Context management
What the model sees at each step comes from your instructions, the conversation and tool results, like the order status. When the window fills up, older messages get compacted, and your prompts and hooks decide what's kept.
/4 Checkpointing
The workflow saves its state outside the model. After an interruption, it can reload the order lookup result and continue from a saved point.
/5 Permissions and sandboxing
The harness sets what the agent can touch: which tools, files and actions, and where code runs. The support agent can read the order but can't issue a refund.
/6 Guardrails
Checks inspect inputs, outputs or proposed actions. An output check can inspect the drafted reply; an approval gate can pause before sending it. Those are different controls, and neither catches every error.
The real payoff: you can switch between models from different labs and share the same skills and context across your team.
Which part is hardest to get right in your setup? 🤔

ALT AI Harnesses: six illustrated concepts. Agent loop repeats actions and results; tool calling retrieves order status; context management compacts older chat; checkpointing restores workflow state; permissions and sandboxing allow reading an order but block a refund; guardrails can require human approval before sending.
Suresh retweeted
Introducing e2e
The agentic testing framework for any app
~/ npx e2e init
→ Fully Open Source
→ Mix deterministic and agentic APIs
→ Supports web, mobile, and more
→ Bring your own agent and infrastructure
→ Run locally or in CI
tester.army/e2e
Suresh retweeted
We'll be spending a lot more time trying to understand the outputs of language models. A few thoughts, tips & tricks:
Writing. Something I've had success with: Ask your LLM to explain something in ASD-STE100, it's a controlled language specification originally developed for aerospace maintenance documentation. LLMs well-versed in this language and it comes with heavy constraints on clean writing style that I often find a lot more readable. Sometimes I've tried to soften it a bit e.g. ask for "80% of the way to ASD-STE100" because the spec is quite stringent. But even better:
Diagrams / images. Instead of writing, ask your LLM to create a diagram. These can be a lot easier to process, parse, and understand. But even better:
Web pages. Ask for output "in HTML" to get a beautiful, interactive webpage. LLMs are getting really good at frontend and can create beautiful experiences, animations, etc. But even better:
Explainer videos. The output format I am most bullish on is fully custom / bespoke explainer videos generated on any arbitrary topic. Experiment with things like "Create a 3b1b style video explainer on X. Use my ElevenLabs API key for audio narration". (you'd need an API key for the latter or you can ask your LLM to find you decent free alternatives that use your local compute). This is actually starting to work!
In summary:
- As LLMs get better, they will do more and more of the legwork autonomously, and a lot more of our work will rise up the abstractions into oversight and understanding.
- Luckily, LLMs can help here too because as intelligence and code are increasingly abundant, you can ask for large, custom, discardable software artifacts (e.g. web apps, video explainers) that would have never made sense to create before. Push the boundaries here and you'll be surprised.
Suresh retweeted
I agree with Dario that we need to pace the frontier. This has been a primary topic of discussions we've had at OpenAI in recent weeks.
Committing to having independent evaluators with employee-like access is a great idea, and we will do the same. We'll have more to share soon.
We Must Pace the Frontier: I’ve written a new essay on why the AI industry should slow down, with a three-part plan for doing so.
Anthropic is unilaterally committing to the first of these steps. We’ll provide third-party evaluators with permanent, employee-level access to our systems, so that they can verify adherence to our safety measures, report on incidents, and assess models’ alignment during training.
You can read the full post here: darioamodei.com/post/we-must…
Suresh retweeted
Get more out of GPT-6 Astra by revisiting your skills, AGENTS.md, and task prompts.
Make skill triggers specific, load guidance when it's relevant, and define what done looks like.
developers.openai.com/blog/r…
RT @ClementDelangue: It's now clear that:
- alignment is critical to making AI safe
- alignment won't be solved behind the closed doors of…
This quoted post is unavailable.
Super excited for these new frontier models developed by our lab members!
Suresh retweeted
We've just made a major finding for SovereignAI 🚨:
Take any open-weight model (here: Qwen3.5-397B), apply our π-shaped Continual Learning, and own a genuine frontier model competitive with Opus 4.8 for ~$450k in compute.
Full tech report + open-source models coming soon!
Suresh retweeted
Introducing Sakana Fugu: A full multi-agent orchestration system accessible via a single model API.
Our ‘Fugu Ultra’ model matches the performance of Fable and Mythos, delivering frontier capability without the risk of export controls.
Try it: sakana.ai/fugu 🐡
Suresh retweeted
I spent months optimizing GraphRAG retrieval.
But it turned out I was optimizing the wrong thing....
The biggest knowledge graph problems usually occur during ingestion (even though most conversations focus on retrieval).
Every new document creates a risk of graph corruption.
This is why I now think about knowledge graph ingestion as a 5-step pipeline:
1/ Extraction
Convert raw text into entities and relationships.
For example: Person → WORKS_AT → Organization
The goal is to extract what your ontology cares about.
2/ Resolution
This step standardizes names.
For example:
NYC → New York City
P Morgan → JPMorgan Chase
Jon Smith → John Smith
Most importantly, nothing has been merged yet.
3/ Embedding
Next, embed the entity's full context (not just the name).
Think:
Type
Attributes
Metadata
Relevant content
Because identity lives in context.
4/ Deduplication
Many systems fail here.
Because:
Apple the company ≠ Apple the fruit
Paris, France ≠ Paris, Texas
Two people can share the same name
Resolution answers naming.
Deduplication answers identity.
Those are two completely different jobs.
5/ Routing
Finally, the system decides:
Merge
Human review
Create new node
And the best systems follow a simple rule:
Evidence strength = permission strength.
Weak evidence → new node
Strong evidence → merge
Uncertain evidence → human review
Because false merges are expensive.
A duplicate node is annoying.
But a corrupted graph can silently poison retrieval quality for months.
My biggest takeaway?
Knowledge graph quality isn't determined by your retrieval strategy...
It's determined by the pipeline that creates the graph in the first place.
Get these five steps right... and retrieval becomes much easier.
P.S. I break down the full pipeline, entity resolution, deduplication thresholds, review queues, and production architecture in Decoding AI Magazine
Check it out here: decodingai.com/p/keep-knowle…
Suresh retweeted
When your agent fails, you need to answer specific questions:
- Which step was running?
- Which tool was called?
- What arguments did we send to the tool?
- What did the tool return?
- Was this a timeout, a bad input, a rate limit, or an LLM decision?
- How long did each step take?
- How much did it cost?
- Can we retry safely?
- Can we resume from the failed step?
Without traces and per-step history, you are mostly reading logs and guessing.
For an agent workflow, I would want to see the run ID, step ID, prompt version, model response, tool name, tool arguments, tool response, latency, token usage, error, and retry count.
On June 16, Nicholas Lotz will run a DataTalksClub workshop on Running Durable Agents in Production.
We will discuss the execution layer of the agent loop: state, retries, recovery, human approvals, observability, and deployment.
Tuesday, June 16
4:30 PM - 6:00 PM CET
YouTube
Register here: luma.com/wz20rm8n
Suresh retweeted
My 8000-word note on agents: huyenchip.com//2025/01/07/ag…
Covering:
1. An overview of agents
2. How the capability of an AI-powered agent is determined by the set of tools it has access to and its capability for planning
3. How to select the best set of tools for your agent
4. Whether LLMs can plan and how to augment a model’s capability for planning
5. Agent’s failure modes
AI-powered agents are an emerging field with no established theoretical frameworks for defining, developing, and evaluating them. This post is a best-effort attempt to build a framework from the existing literature, but it will evolve as the field does.
As always, feedback is much appreciated!
Suresh retweeted
about loop engineering.
everyone's saying the same thing this week. you don't prompt agents anymore, you design loops that prompt them.
here's the job that loop hands right back to you.
a loop running unattended is also a loop failing unattended.
loop engineering takes you off prompting. it takes you off curating context. it takes you off babysitting a single run. it does not take you off debugging. it just moves the debugging somewhere worse, into runs you were never watching, with far too much of it to read through by hand.
even the loop engineering posts admit this themselves, usually somewhere near the end. you can only walk away from a loop if you trust the thing checking it. a checker you don't trust drops you right back into reading every output by hand, which is the exact work the loop was supposed to take off you.
so stack the layers up, prompt, context, harness, loop, and one job survives all of them. closing the loop on failure. the leverage point moved. debugging stayed exactly where it was.
i was writing about this exact gap yesterday, before the loop talk picked up today. the idea was simple. make debugging its own loop. a failure leads to a root cause, a proposed fix, a rerun against the exact inputs that broke, and a test that locks it out for good. the checker gets built from your real failures instead of guessed at up front.
Opik, the tool i was writing about, does exactly this. a built-in agent reads the trace, finds the root cause, proposes a diff, you approve it, and that failure becomes a permanent regression test. every break you debug makes the loop a little harder to break next time, which is the kind of checker the loop engineering crowd keeps saying you need before you walk away.
if you're designing loops you actually plan to walk away from, it's worth a look.
Opik is 100% open-source under Apache-2.0 license.
GitHub repo: github.com/comet-ml/opik
(don't forget to star 🌟)
loop engineering moved the leverage point. it didn't remove the engineer who still has to close the loop when something breaks.
the full article, Your Agent Harness Should Repair Itself, is quoted below.
Suresh retweeted
How we prompt AI is very different in 2026 than 2022 when ChatGPT came out.
I'm teaching a new course, AI Prompting for Everyone, to help you become an AI power user — whatever your current skill level.
It covers skills that apply across ChatGPT, Gemini, Claude, and other AI tools. How to use deep research mode for well-researched reports on complex questions. How to give AI the right context, including more documents and images than most people realize you can provide. When to ask AI to think hard for several minutes on important decisions like what car to buy, what to study, or what job to take. And how to use AI to generate images, analyze data, and build simple games and websites.
I also cover intuitions about how these models work under the hood, so you know when to trust an answer and when not to.
Along the way, you'll see flying squirrels, a creativity test, some of my old family photos, and fireworks.
Join me at deeplearning.ai/courses/ai-p…
Suresh retweeted
Claude Code in the terminal will now show recaps when you switch focus away from the session and then come back.
This should help you stay more in flow while multi-clauding.
Suresh retweeted
Meet Kimi K2.6: Advancing Open-Source Coding
🔹Open-source SOTA on HLE w/ tools (54.0), SWE-Bench Pro (58.6), SWE-bench Multilingual (76.7), BrowseComp (83.2), Toolathlon (50.0), Charxiv w/ python(86.7), Math Vision w/ python (93.2)
What's new:
🔹Long-horizon coding - 4,000+ tool calls, over 12 hours of continuous execution, with generalization across languages (Rust, Go, Python) and tasks (frontend, devops, perf optimization).
🔹Motion-rich frontend - Videos in hero sections, WebGL shaders, GSAP + Framer Motion, Three.js 3D.
🔹Agent Swarms, elevated - 300 parallel sub-agents × 4,000 steps per run (up from K2.5's 100 / 1,500). One prompt, 100+ files.
🔹Proactive Agents - K2.6 model powers OpenClaw, Hermes Agent, etc for 24/7 autonomous ops.
🔹Claw Groups (research preview) - bring your own agents, command your friends', bots & humans in the loop.
-
K2.6 is now live on kimi.com in chat mode and agent mode.
For production-grade coding, pair K2.6 with Kimi Code: kimi.com/code
-
🔗 API: platform.moonshot.ai
🔗 Tech blog: kimi.com/blog/kimi-k2-6
🔗 Weights & code: huggingface.co/moonshotai/Ki…
Suresh retweeted
Agency > Intelligence
I had this intuitively wrong for decades, I think due to a pervasive cultural veneration of intelligence, various entertainment/media, obsession with IQ etc. Agency is significantly more powerful and significantly more scarce. Are you hiring for agency? Are we educating for agency? Are you acting as if you had 10X agency?
Grok explanation is ~close:
“Agency, as a personality trait, refers to an individual's capacity to take initiative, make decisions, and exert control over their actions and environment. It’s about being proactive rather than reactive—someone with high agency doesn’t just let life happen to them; they shape it. Think of it as a blend of self-efficacy, determination, and a sense of ownership over one’s path.
People with strong agency tend to set goals and pursue them with confidence, even in the face of obstacles. They’re the type to say, “I’ll figure it out,” and then actually do it. On the flip side, someone low in agency might feel more like a passenger in their own life, waiting for external forces—like luck, other people, or circumstances—to dictate what happens next.
It’s not quite the same as assertiveness or ambition, though it can overlap. Agency is quieter, more internal—it’s the belief that you *can* act, paired with the will to follow through. Psychologists often tie it to concepts like locus of control: high-agency folks lean toward an internal locus, feeling they steer their fate, while low-agency folks might lean external, seeing life as something that happens *to* them.”

































