AI engineering is basically:
Model hallucinating? Add RAG.
Retrieval too slow? Add reranking.
Context getting too long? Add summarization.
Agent stuck in a loop? Add a stopping condition.
LLM giving inconsistent answers? Add structured outputs.
Agent making wrong decisions? Add an evaluator.
Tool calls failing? Add retries and fallbacks.
Inference getting expensive? Add caching and smaller models.
Agent forgetting previous steps? Add memory.
Agent doing stupid things? Add human-in-the-loop.
The last one is probably the most expensive.
Shalen retweeted
LLMs are 𝗕𝗹𝗶𝗻𝗱 𝗢𝘂𝘁𝘀𝗶𝗱𝗲𝗿𝘀 to how the world works.
We introduce InsiderBench: 500 questions from podcasts with 100 industry experts from 20 industries. The best frontier LLM misses over half of what they said.
Read the full blog post "LLM’s Outsider Blindness" at tonychen.xyz/blog/outsider-b… 🧵
greatest hack when prompting is still adding this when learning
"explain extremely bottoms up, in plain simple english, in a way that is extremely simple to read once and then you get it. i should have a strong feeling of 'wow i really get it this time' after reading"
Shalen retweeted
If you're building AI agents, one of the most important things to understand is what happens outside the model.
This is where harness engineering comes in.
Consider a coding agent working through a large repository. The model can decide which file to inspect, which function to modify or which test to run. The software surrounding it has to turn those decisions into actual operations.
It manages which tools are available, what actions are permitted, how results are returned and what information the model receives on its next step.
Things become particularly interesting when an agent works on longer tasks.
As execution history grows, retaining everything in the context window becomes expensive and can make relevant information harder to find. The system needs mechanisms to select context, summarize previous work and maintain state outside the model's context window.
A well-designed harness can also preserve checkpoints, recover from interruptions, enforce execution limits and record traces that help engineers understand why an agent failed.
Harness engineering is the discipline of designing and improving this surrounding software and the environment in which the agent operates.
Engineers can study execution traces, evaluate agents on representative tasks, identify recurring failures and improve the system without necessarily changing the underlying model.
Sometimes an agent fails because it received the wrong context, had a poorly designed tool interface or couldn't recover from an unsuccessful operation. A more capable model alone may not solve those problems.
As AI agents take on longer and more complex tasks, understanding how to engineer the systems around models will become increasingly important.
If you're learning AI agent development, harness engineering deserves a place alongside model architecture and inference engineering.
Shalen retweeted
Alexandr Wang on one of the most important ideas he learned from Jeff Bezos:
"Customers are always beautifully, wonderfully dissatisfied, even when they report being happy and business is great. . . People have a voracious appetite for a better way, and yesterday's 'wow' quickly becomes today's 'ordinary.”
Shalen retweeted
There are six layers to a working agentic system.
Most companies spend their time debating which model to pick. The model sits inside a larger operating system, and almost every production failure happens in the six layers wrapped around it.
> Layer one: experience and trigger. Stop defaulting to a chat box. Real business agents fire on an event: a file arrival, an incoming invoice, a ticket status change, or a schedule. When the agent needs a human, it routes to an exception queue or inbox, not a raw chat transcript nobody on the ops team has time to read.
> Layer two: orchestration and state. Stop treating agents like scripts sitting on someone's laptop. An agent definition should be versioned, bounded, and governed like any other code artifact, with rollback. Store execution history and checkpoints in a database like Postgres so an interrupted run resumes where it left off instead of restarting from scratch.
> Layer three: tools and deterministic logic. The guarantees live in plain, unit-tested code, not in the prompt. Wrap your proven business logic and system-of-record APIs behind one connector service as named tools with stable interfaces. Let deterministic rules handle the fixed steps, and call the model only where judgment is actually required.
> Layer four: trusted context. Do not dump your whole wiki or repo into a giant prompt. Give each domain its own scoped knowledge graph or data catalog that the agent queries mid-run as a tool. When documentation drifts from reality, agents hallucinate. The fix is not a longer prompt. It is authoritative, permission-aware context.
> Layer five: evaluation and human control. Before an agent touches a customer or moves money, build a golden set of real past cases that your domain experts agree are right. Run deterministic checks and LLM-as-a-judge evaluations on every change, and keep a human approval gate on any high-impact or irreversible action. Operators stop pressing buttons and start judging.
> Layer six: runtime and control plane. Every model call goes through one LLM gateway inside your own cloud perimeter. Direct calls to a vendor API are a production defect. Enforce virtual keys per tenant and service, hard spend caps, prompt-injection guardrails, full traces, and internal model aliases so swapping providers is a configuration change, not a rewrite.
Models and frameworks will keep changing. The durable assets are your workflow rules, evaluation sets, context boundaries, and operational ownership.
Shalen retweeted
Behold, my first new handbook I've written in three years!
How to angel invest into startups:
julian.com/guide/angel/
Anthropic just published a chart that visualizes what I've been saying for a year now.
- A chatbot doesn't move the needle.
- Point solution AI doesn't move the needle.
- If you want to WIN in AI, you HAVE to go deep.
Look at all the use cases on the bottom left of the chart: "slide decks", "ad hoc data analysis", "competitive analysis"… All of them required individuals to change their habits but offered almost no value.
Compare that to the top right: "document review", "frontline support agents", "coding agents"… All of them required re-engineering the processes.
So what does it take to get from the bottom left to the top right?
- Map the current process meticulously, including exceptions (what's in the SOP and what's in the system logs are often very different)
- Agree with the business on what KPI the new process will measure (time, revenue minus token cost, or risk), just one
- Re-engineer the process to reduce the number of steps, say from 15 to 5, four of which will be done by AI
- Build AI agents that interact with the systems you already have (SAP, Salesforce, ServiceNow, etc.), no new systems to learn
- Get a C-suite sponsor for the project. If you don't have someone at that level, you won't be able to eliminate steps, merge teams, or change KPIs, which will force you to automate the existing process (good luck with that)
- Have the people who will be running the new process own the AI agents, be responsible for handling exceptions, and improve them over time
And that last point is how you deal with Ethan's second point. People are going to fight changes that are being done to them, but they're going to participate in changes they're taking ownership of.
This is what we do at Varick. If you'd like to work with us, visit the website below:
Two big points from this new Anthropic paper:
1) The most AI value comes from changing the organization
2) There is wide worker resistance to AI adoption (partially due to point 1)
Changes that expand what workers do & share AI gains with them could help anthropic.com/research/worki…
Shalen retweeted
CANCEL your weekend plans.
The late-2026 meta just shifted. You NEED to:
• Build an A2A (Agent-to-Agent) commerce gateway where Agent A negotiates scope and pays Agent B via Stripe API to execute a sub-task
• Ship inference-time compute scaling that dynamically forks 50 parallel reasoning branches, scores them and votes on the best answer before responding
• Wire an active-exploration RAG agent that realizes the vector DB is empty, writes a Playwright scraper, fetches live web data and indexes it on the fly
• Build an Agentic Cron daemon that wakes up an LLM every morning to read Slack, triage Jira and draft PRs while your team sleeps
• Ship a neuro-symbolic router that sends math and logic queries to a deterministic Python solver and only uses the LLM for natural language synthesis
• Add a deterministic rollback engine that snapshots the database state before an agent executes a write, allowing 1-click "undo" for autonomous mistakes
• Build a "Shadow Swarm" that autonomously red-teams your production agents 24/7, finding novel jailbreaks and auto-filing Jira tickets with the exploit chain
• Implement cross-cluster KV-cache migration so a user's session seamlessly moves from US-East to EU-West GPUs without dropping a single token of context
• Ship an audio-native duplex loop that handles overlapping speech, user barge-in and emotional tone-shifting in sub-200ms latency
• Wire an MCP-to-MCP discovery protocol where your agent dynamically negotiates tool schemas with a third-party agent it has never met before
• Add an edge-to-cloud PII split where a local on-device SLM redacts sensitive data and only passes anonymized intent to the frontier cloud model
• Build a "World Model" sandbox where your coding agent runs its own generated tests 100x in parallel in isolated microVMs before touching the main branch
• Ship a hierarchical context compactor that summarizes 10M tokens of episodic memory into a 4k working window without losing the needle in the haystack
• Automate the "Agent Retirement" pipeline: when an agent's live eval score drops, it automatically shifts traffic to a fallback and triggers a DPO retraining job
• Build a multi-modal perception loop that ingests live video streams, tracks visual state changes & triggers agent actions based on pixel diffs
The wrapper era is dead. The autonomous infrastructure era pays.
You have way too much to do.
Bookmark & Repost.
Shalen retweeted
It's f*cking unreal...
Lilian Weng's (Thinking Machines co-founder) agent memory method just became a prompt that makes Opus 5.5 pick up exactly where it left off every single run, working while you sleep for less than your phone bill
Send it to Opus 5.5, and thank me later. Then read the article below ↓
Shalen retweeted
Agent Memory 2.0 is here!
Every agent harness implements its own memory today, so whatever Claude Code learns about you is gone once you switch to Codex.
Devs just open-sourced Harness Memory in HarnessRouter, where the entire memory actually belongs to the user, not to the harness.
Any harness can read and write it through one standard protocol, and the engine underneath is swappable: Mem0, Graphiti, Hindsight, ReMe, or your own.
In the video below, I gave a Claude Code agent some trip preferences. A fresh Codex session then recalled them and planned dinner around them, with no handoff code in between.
Memory loads at session start, gets searched on every turn, and is saved when the turn ends. Each user's memory stays isolated, and recalled memory reaches the agent as data, not instructions.
Here's the repo: github.com/HarnessRouter/har…
(don't forget to star it ⭐)
This works because HarnessRouter already runs every harness behind one interface.
Sessions, streaming, files, and failures look the same whether the task goes to Claude Code, Codex, or Hermes, so memory could become one more shared layer instead of something each harness reinvents.
Akshay wrote a detailed article on how that interface works and why routing a harness is very different from routing a model.
You can read it below.
Shalen retweeted
Notable omissions
Company brain: I don't think is particularly hard Memory: I don't think is particularly hard
Both are imo solved problems, custom dreaming agents on top of a filesystem with access control (to protect certain levels of information).
They can just be markdown files. All dreaming can converge to event sourcing - just have a memory_log.md file and memory_current.md file, where log is append only and current is current state. Either let the agent decide the directory or you can nudge it for the domain. This is bitter lesson pilled as it scales with compute and intelligence and is token efficient.
The hard part (maybe) is understanding how to do the dreaming for your company. You may want certain concepts like user specific memory, or organization specific memory, or conversation (channel) specific memory, or external contact / client specific memory (e.g. your internal system needs to be configured to handle information regarding customers), which could be represented as just directories within the filesystem (/users/<id>, /clients/<id>, etc). You can even add semantic search / hybrid search mirroring the filesystem format on Turbopuffer as your corpus grows big.


































