James (@jamwithai) profile picture

Intelligence is never artificial when it produces compassion.

United States
Joined January 2022
Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)Photo by James (@jamwithai)
AI benchmarks are more realistic than ever. But they still have bugs (e.g., failing correct work) and mostly measure what's easy, not what matters. Here's my breakdown of 12 public evals: how they're built, where they break, and what to measure instead. eugeneyan.com/writing/public…
84
61
27
438
57,943
Everyone hated on MCP when Skills and CLIs took over. I'm more bullish on MCP than ever 1. Code Mode + typed outputs 2. Native Skills with versioning 3. Always-on Events (webhook, stream, poll) 4. MCP Apps The best harnesses will have the best MCP client
212
81
42
871
58,082
Replying to @juansg_eng
(1) Drive up the quality of verifications for all PRs, (2) Drive down the number of PRs that require human review, (3) mostly focus reviews on verifications, (4) optimize 1-3 relentlessly
2
3
1
37
5,024
GBrain is built for one person. What do you use when your whole team needs the same brain? Here are 6 open-source brains built for teams, and who each one suits. /1 Onyx (Onyx) Connects 50+ apps so your team can ask questions across all of them. In the free edition everything you connect is visible to everyone, and group permissions need a paid plan. A good fit for small teams where everyone can see everything. /2 TencentDB Agent Memory (Tencent) A memory hub that turns chats, documents and code into shared assets, each with an owner and a version. New memories start private, and sharing one is a deliberate step. Made for teams running several agents on the same context. /3 Cognee (Cognee) Turns documents, code and conversations into a knowledge graph your agents can search. It's multi-user out of the box, and you can correct or remove what it remembers. A good fit for people building a self-hosted company brain. /4 Graphiti (Zep) Builds a knowledge graph where every fact has a time window, so when something changes, the old fact stays but is marked outdated. You add access control yourself, so it suits teams building their own brain. /5 Caura (Caura) One shared memory for a whole fleet of agents, scoped to a single agent, the team or the company. It settles memories that contradict each other, retires stale ones overnight and logs every change. A good fit for teams running many agents on one memory. /6 Hindsight (Vectorize) A memory engine that helps agents learn, not just remember. It turns what they store into observations and mental models it keeps rewriting, with one memory bank per user, agent or project. A good fit for teams building agents that should get better over time. Whichever one you pick, the hard part stays the same, keeping what's in it true. Which one is your team trying? 👀 We wrote down how teams keep their brain true in The Knowledge Framework Playbook: slite.com/ebooks/knowledge-f…
22
13
2
106
6,139
James retweeted
Agent platform of 2027. This is the end game. This is the blueprint for the one and only application layer software that will exist. Every other software will effectively become databases for this layer, the everything agentic operating system for the million agent swarm to work on top of. This is obviously the end game vision for the application layer of ChatGPT and Claude. I have reasons to believe that an independent company will own this product layer. But most ADE, "enterprise agent platform", or vertical saas companies, are focused on the wrong things far too narrowly, not technically competent, and do not have the product / technical vision to see this inevitable future. The correct agent platform that wins will function like the base of a garden, from which customers will plant their unique "seeds" to grow their own plants and trees, managed and evolved by agents, humans, and signals from the sensors of the business. This presents a clearer picture than "factory of a factory" imo.
559
724
504
8,319
1,923,737
How my software factories use Vercel Board: 1. Vulnerability fixing factory: - We're syncing Linear tickets into the board as tasks - Nudging devs for approvals is a big part of getting things merged, so those are tracked on the board to prevent over-nudging - Inbound messages (comments on GH, Linear, replies to nudges) from devs are put on the board and processed by a dedicated agent to determine future actions - A needs-you board is used for agents to ask questions to the factory owners - Agents running on Vercel Sandboxes use a comms channel to communicate and give each other tasks. E.g. there is a dedicated agent that makes sure PRs stay green over time. - The board data is mined for a gamification dashboard (Thanks to @vvoyer for being number 1) 2. New secret project factory - This is a project focused on agent swarm hill-climbing - All agents log their decisions to a central board for knowledge sharing - When agents develop a hypothesis for an improvement as part of their work, they post it to the board for other agents to pick up - Each sandboxes log files are posted to the board and full agent traces are attached so that post-mortem debugging is fruitful - The factory has a daily run where it inspects the logs and traces to improve its own behavior - I'm currently interacting with the factory from claude, but all the sandboxes run fx. This type of inter-harness comms is just completely seamless with the board. - And much more. Screenshot attached over how the board is visualized. Notably, this is all prompted together and works just great. The agents just love using the board and the emergent behavior is delightful vercel.com/blog/introducing-…
39
19
8
421
61,372
Eval-driven development: how to choose model, retrieval, and design by testing instead of guessing
66
39
10
545
59,357
Generative UI for conversational agents. Combining @aisdk with Chat SDK and 𝚓𝚜𝚘𝚗-𝚛𝚎𝚗𝚍𝚎𝚛, you can go straight from LLM to UI on platforms like Slack and Teams. I believe this will become the dominant Human-Agent Interaction (HAI) paradigm: vercel.com/changelog/json-re…
257
145
55
2,779
223,628
James retweeted
It's f*cking wild: Google, Cloudflare, Obsidian's CEO and the guy building Claude Code all put their AI configs on GitHub for free, and most people are still starting from zero 1. Matt Pocock's skills · 318K stars 18M+ installs. the exact folder of AI instructions he uses every day: tests first, clear specs, real reviews github.com/mattpocock/skills 2. Addy Osmani's skills · 92K stars engineering skills from the guy working on Claude Code at Anthropic github.com/addyosmani/agent-… 3. Cloudflare's audit · 63.9K stars the starting point of what now scans 128 of Cloudflare's own repos. one team of agents hunts for bugs, another tries to prove them wrong github.com/cloudflare/securi… 4. Obsidian CEO's skills · 51K stars teaches any AI to write real Obsidian notes instead of messy text github.com/kepano/obsidian-s… 5. Google's goldfish · 14.8K stars 2 weeks old. the plugin Google's own engineers use to catch AI coding mistakes. the agent writes a design doc, then fresh AI sessions that never saw it try to tear it apart github.com/google/elephant-g… the biggest teams in tech already stopped writing prompts from zero. their configs are one click away save it and steal one tonight
97
395
14
4,015
452,021
RAG vs. Graph RAG, explained visually! RAG has many issues. For instance, imagine you want to summarize a biography, and each chapter of the document covers a specific accomplishment of a person (P). This is difficult with naive RAG since it only retrieves the top-k relevant chunks, but this task needs the full context. Graph RAG solves this. The following visual depicts how it differs from naive RAG. The core idea is to: - Create a graph (entities & relationships) from documents. - Traverse the graph during retrieval to fetch context. - Pass the context to the LLM to get a response. Let's see how Graph RAG solves the above problem. First, a system (typically an LLM) will create a graph from documents. This graph will have a subgraph for the person (P) where each accomplishment is one hop away from the entity node of P. During summarization, the system can do a graph traversal to fetch all the relevant context related to P's accomplishments. The entire context will help the LLM produce a complete answer, while naive RAG won't. Graph RAG systems are also better than naive RAG systems because LLMs are inherently adept at reasoning with structured data. Once the right architecture is in place, the next leverage point is efficiency. Most RAG architectures rely heavily on vector search, and that layer can be made 32x more memory efficient using binary quantization. I covered the full implementation in the article below. 👉 Over to you: Which RAG architecture are you running in production?
68
295
11
1,914
222,511
James retweeted
We removed ~80% of the Claude Code system prompt for our newest models, this is what we've learned about writing system prompts, skills and Claude.MDs for them.
465
1,897
706
16,309
4,980,189
I've spent the last few months inside large law firms, trying to answer one question: What does it actually take for an institution to absorb AI? Frontier labs have raised hundreds of billions on a single promise: that AI will rebuild the economy. That bet only pays off if institutions absorb what the models can do, and most are repeating the exact mistake factory owners made a century ago. They bolted an electric motor onto the old steam-engine driveshaft and wondered why nothing got faster. The productivity gains came only when they tore up the floor and put a motor on every machine. That is where most of the economy still sits: the new motor, bolted into the old driveshaft. Tearing up the floor is about to become the most valuable work in the economy, and it goes by the least glamorous name in business: change management. New essay: The Two Clocks
8
32
5
282
92,029
new post on harness engineering for AI self-improvement: lilianweng.github.io/posts/2… It is hard to forecast how much the future of RSI will rely on harnesses. Likely harness engineering will evolve in the direction of self-improvement and enable auto-research, and, in turn, smarter models keeps harnesses simple. Even when many harness improvement get eventually internalized into core model, the need to specify goals and context will not disappear.
167
799
136
5,525
957,190
Great article on harness engineering. langchain.com/blog/the-anato…
6
39
4
335
33,099
James retweeted
ANTHROPIC JUST DROPPED A ZERO TRUST PLAYBOOK FOR AI AGENTS and it's not theory it's architecture frontier AI compresses vulnerability-to-exploit timelines from months to hours your agents face threats traditional access controls were never built to handle: ▫️ prompt injection through external data sources ▫️ tool poisoning via MCP server metadata ▫️ memory-based privilege retention across sessions ▫️ multi-agent pivot attacks the framework breaks it into 3 tiers: Foundation, Enterprise, Advanced cdn.prod.website-files.com/6…
42
202
17
1,332
134,685
James retweeted
I'm with @bchesky on this one. I think the future is not about apps, but about agents. But the shift to agents doesn't necessarily mean text-forward, chat-based UIs. That makes sense for some use cases -- but not all. The future is about agents that work on your behalf, often in the background, and let you interact in ways that make sense. Sometimes, that means typing text, but others it might be a personalized UI element. UI affordances are underrated. Sometimes humans need some guidance and nudges instead of an empty prompt box. I think hybrid agentic interfaces will be the future. And it's not just about B2C. Turns out, B2B users are people too. :)
"I do not think a chatbot is the right interface for travel or e-commerce." - @bchesky "I think the future is not apps. The future is agents, but I don't think they're going to be text-forward. I think they're going to be really rich user interfaces." "Imagine using iMessage to do everything, when in fact every other app has a unique interface." "With e-commerce, you want a very rich user interface. It would be agentic. You can have a conversation with it, but the point is that it has to be more visual."
56
31
7
382
73,396
tldr: everyone is converging on the same product shape: a general harness that takes a goal, uses tools, and does knowledge work. once every product is a harness, the next frontier is the feedback loop that improves it after deployment.
37
65
17
1,128
279,609
James retweeted
Replying to @nikogrupen
there's a really interesting finding hiding in this picture, right? most of these tasks didn't get better over time. they got better on the first try meaning: performance was left on the table in the past system. does the team have the strength to avoid the ego hit, and just make progress, knowing most old stuff should be thrown out. interesting findings. nice writeup
1
2
4
932
James retweeted
Harness Design Notes: Decoupling Agent Storage from Agent Compute TLDR: You can give each Agent/Subagent dedicated compute while sharing storage (repo/filesystem) to self-organize work between them. Shared Compute can be a bottleneck especially with long running code execution. Started writing up some harness design patterns over a very long flight this weekend, might make this a series if there's interest! We're on the edge of using a massive amount of compute to orchestrate agents across long horizon work Ex: for Agent Teams, an orchestrator organizes potentially many agents that fan out and do work on a project (like a large repo) For anyone who runs many agents locally, you see your CPU usage skyrocket for even moderate runs with code exec But Sandboxes to the rescue :) There's a nice pattern of shared filesystems via Volumes that all agents access while getting their own sandbox environment. The coordination happens via writing to the write place in the filesystem. And using git makes it so you can track and roll back changes over time good Harness Engineering on self-organizing agents via filesystems requires thinking about infra too. Many patterns work but you have to measure them for your work! Harness Engineering is Systems Engineering
22
34
2
379
20,262
🆕 How to Kill The Code Review latent.space/p/reviews-dead the volume and size of PRs is skyrocketing. @simonw called out StrongDM’s “Dark Factory” last month: no human code, but *also* no human review (!?) in this week’s guest post, @ankitxg makes a 5 step layered playbook for how this can come true.
54
108
51
811
632,356