• Taking AI capabilities and limitations on Claude Academy

    • AI that’s not generative: Recommendation engine, spam filter, fraud model, customer service routing system
      • These sort, rank, classify, and predict
    • Generative AI produce new content rather than categorizing existing content: text, images, code, audio, video
      • Pre-training: trained on massive amounts of data to learn patterns
      • Fine-Tuning: refined to be broadly, safe, ethical, and helpful
    • Generative AI at its core is prediction with defined capability (e.g. writes compelling arguments) and limitation zones (hallucinates)
    • Four properties of Generative AI
      • Next Token Prediction: where do AI answers come from?
        • Unless you tell it to, it may not be doing external research 
      • Knowledge: What does AI actually know?
      • Working Memory: What is the AI paying attention to right now?
      • Steerabillity: How much am I in control?
        • Gap between what you wanted and what actually landed
    • AI needs calibrated trust and there’s a continuum of tasks for generative AI 

    Real-world healthcare AI development and deployment—at scale – Microsoft Research (continued)

    • Epic Systems is one of the several large electronic health records companies, e.g. Siemons, McKesson, Oracle Health – but Epic one of the biggest pieces infra moved to a digital foundation
    • Key learning from predictive analytics timeline eg. predicting falls, is learning the full workflow to make those predictions: what information is available, what can you do about it 
    • Dr. Matthew Lungren at Epic regards analytics, etc. as part of the system and experience and compute holistically and an ROI assessment taking place on “what happens if this runs at full scale”
      • Accelerating in the generative AI era
    • Latent knowledge in LLMs was unprecedented, eg. intuiting physical space of objects, extending programmer capabilities
    • Bigger question of “is this just a language thing or other modalities that can impact scientific research?”
    • Example of first utility was prefilling patient info and context for mychart for doctors to save time responding to patients 
    • Compute overhead passed as part of stack 
    • Needing to explain perception that AI is not reliable 100% of the time and gap between developers and patient perception 
    • Generative AI may be able to fix a class of problems that can help with physician burnout
      • Note pre-generation
      • Ambient voice recording 
    • Gap between public perception of LLM experience vs how this would be used in the software, eg. notes a medical encounter with suggested medical codes and billing and citations to medical record to support code with a hover. These workflow pieces are critical as an aid
    • COSMOS large-scale de-identified longitiudal patient dataset -> see similar patient diagnoses or doctors that have seen a similar context
      • Would lead to personalized therapies or accelerate research – a broader context is available
    • Future means managing a workforce of people and of agents 

    Is sandboxing sufficient to contain rogue agents? – A Few Thoughts on Cryptographic Engineering

    •  “You probably also know that OpenAI’s security team didn’t exactly cover itself in glory during this incident. An internal team saw an agent posting to the message board in late May, but did nothing about it. The team only acted on July 4-5 when the agents sent so much traffic that Artifactory crashed. The response even at that point was to slap on a band-aid and rebuild the box, without bothering to patch a weeks-old CVE in its Linux kernel. By July 19, the agents had admin on an OpenAI research cluster and were reading cloud secrets.”
    • Two camps
      • The information security perspective: AI alignment isn’t really the problem here: labs just need better infrastructure
      • The AI alignment perspective: While sandboxes are excellent, no sandbox will prevent a sufficiently-intelligent agent from finding ways to exceed its authorization
    • Argument 1: “true containment has never been been tried”
      • these agent breakouts represent a serious and unforgivable breach of trust.
      • The CISO role at OpenAI is held by Dane Stuckey. I don’t know Dane personally, and I’m sure he’s excellent at his job. Despite this, he hasn’t communicated much about the ongoing issues. Outside of a BlackHat talk, most recent communications have been managed by the company’s CEO, Sam Altman. When a trillion-dollar company is managing a security incident mainly via CEO, that’s not a sign of company with a mature security organization. To me it says that there is nobody within the organization with the right degree of authority or ownership to speak about these issues.
      • A reasonable summary of the situation is that (as of this summer, and possibly today) OpenAI had effectively no security team with clear authority to secure RL training and evaluation runs, or to override the ML teams and tell them how to do their job.
    • Argument 2: agents need information access
      • In fact, the problem with “just sandbox the agents” argument is that you can’t perfectly isolate agents, at least not if you expect them to do useful things. -> So is it as easy as just putting it in a sandbox? No, it’s not.
      • Unfortunately, monitoring for adversarial data access turns out to be one of the hardest problems you could imagine
      • In other words: a warden-guarded sandbox is just another version of the alignment problem. You’re going to have to trust a model to do it, and that model will need to be at least some fraction as intelligent as the model it’s guarding. If you haven’t convinced yourself that it’s possible to build models you can trust, then sandboxing isn’t going to take you much farther.
    • Argument 3: misaligned models are not the current problem. The real problem is that models are too eager to do what they’re told.
      • Forget the swarms and the super-intelligence. What OpenAI really learned this summer is much worse: its agents will do what they’re told by whoever manages to get text in front of them.
      • So I’m going to give myself a separate third thing to worry about. Not a model that’s so evil and misaligned that it breaks out. Not a problem of failed containment. But rather, a swarm of perfectly amenable agents that never leave their sandboxes, each doing exactly what it’s told to do, by a human being who wasn’t supposed to be giving it orders.
  • Taking AI capabilities and limitations on Claude Academy

    • AI Properties
      • Steerability
      • Working memory
      • Next token prediction
      • Knowledge
    • Understand where model quality is strong and weak since models are prediction engines to assign tasks 
    • A hallucinated citation is next token prediction meeting a knowledge gap
    • Drift over a long conversation is working memory meeting steerability 

    Real-world healthcare AI development and deployment—at scale – Microsoft Research (continued)

    • “Multimodal Medical AI gap” – current models that aren’t sufficient
    • Ecosystem of multiple models and packaged up in a way medical community can use 
    • There is a clear line of sight now from images to draft reports 
    • Nobody knows what AGI will mean, let alone for healthcare, though it’s likely there will be autonomous systems 
    • Ideally AI allows us to have more better home care 

    Privacy Evaluations for AI Systems 

    • Evaluation in the field of AI models looks at how to determine if your chosen model and setup actually works for your use case. There are standard evaluations, like benchmarks, and customizable ones you can build specific to your requirements.
    • Using multiple forms of evaluation has become more common with AI models that have broader capabilities. For example, you might want to use a multi-modal model to both read and write code, but also to produce diagrams and documentation about that code. In doing so, you might look at evaluation for each of those tasks (reading code properly, writing code, producing diagrams and producing documentation).
    • many AI experts recommend analyzing failures, creating evaluations based on failure modes and testing your prompts, harnesses and model versions alongside your evaluations to ensure you are using the best prompt, model, harness combinations available to reduce failures.
    • The most common paradigm presented for privacy and security evaluation is LLM-as-a-judge or something similar. In this setup, you have a prompt that lays out criteria for success, failure or rating and then you send that prompt to one LLM to judge the output or result of another LLM.
    • Revealed extracted synthetic training data via decrypted reasoning tokens shows that companies like Anthropic also use privacy LLM-as-a-judge to guide sanitization of responses to reveal less sensitive data.
    • You can imagine writing a similar judge to potentially classify sensitive v. not-sensitive inputs. This judge could sit somewhere in your routing setup in order to try to stop leaking sensitive data to downstream tasks, AI models or external providers.
    • However, as you may know from having used LLM-as-a-judge before, it’s a relatively non-deterministic, expensive and slow way to evaluate responses. When you apply it to privacy, it can be difficult to exactly define what you are looking for.
    • Here are a few questions to guide your thinking around building a privacy evaluation with a judge:
      • What privacy-related outcome or action are you trying to produce?
      • Do you need a true/false exact answer or are you looking for a more non-deterministic and language-based response?
      • Based on the judge result, what will you change or do?
      • Do you have adequate examples to test if a judge can work?
    • Using classic machine learning metrics (accuracy, recall, precision, etc.)
    • If you are either building your own use case or task-based evaluations or looking to start with some evaluation suites maintained and built by others, you should definitely take inspiration and information from the many open-source evaluation datasets.
    • Starting small
      • Data sensitivity propagation, data classification, PII masking and removal, guardrail outputs
    • There are eval and benchmark software available like HuggingFaceLightEval
    • Agentic Ops adding privacy hooks and testing suites
    • Observability engineering with traces 

  • Finished Introduction to Agent Skills on Claude Academy

    • Run the Agent Skills verifier command to diagnose problems with skills
    • If skills are not triggered, it’s likely the description and semantic matching, eg not proper trigger keywords or variations 
    • If your skill doesn’t appear when you ask Claude, they must be in right directory story 
    • Sometimes multiple skills conflict, it likely means descriptions are too similar, be as specific as possible. There could also be priority conflict/shadowed, eg. Enterprise vs Personal code review, Enterprise is higher on the hierarchy
    • Plugin skills not appearing sometimes require cache clear
    • Runtime failure check dependencies, conditions, and paths

    Real-world healthcare AI development and deployment—at scale – Microsoft Research 

    • Burnout major issue in medicine
    • Old medical transcription software required heavy lift human in the loop for clinical note taking
    • Ideally GPT-4 is a “paper shredder” 
    • “Tech will save time before it saves lives” 
    • Projects in this area start in HIPAA compliant environments
    • AI as a second set of eyes, potential treatments, medications, decisions – potential error reduction, vs “an answering machine”

    Advanced evals: How to find (and fix) hidden AI failures in your product 

    • Drawing from their work with over 50 AI companies, they’ve noticed that most teams jump straight to writing metrics—and end up measuring the wrong things.
    • Evals turn your judgment about what “good” looks like into repeatable tests your team can run before shipping. Production errors flagged by evals can become additional test cases that improve your AI, creating an advantage that compounds over time.
    • Unfortunately, we’ve found that most teams skip the first stage of error discovery and jump straight to writing metrics.
      • It is easy to see why. Looking through lengthy user session records to find failures feels slow and hard to scale, whereas metrics are concrete and easy to automate. But if you write metrics too early, you end up making too many assumptions about what’s important—and potentially measuring the wrong thing, or the right thing poorly.
    • This is why error discovery is the eval equivalent of product discovery. Just as product discovery shows which problems are worth solving, error discovery reveals which AI failures are worth measuring. Without it, teams risk building dashboards around generic metrics that waste time and steer the product toward the wrong outcomes.
    • Step 1: Start with your traces
      • Each trace should contain enough information for a reviewer to reconstruct what happened and decide whether it was good.
    • Step 2: Review and annotate your data
      • After annotating at least 10 traces, the AI will learn from your initial notes and try to find additional issues in your data that you can accept or reject. It’s important not to blindly accept the agent’s early proposals.
    • Step 3: Turn failure modes into product priorities
  • Taking Introduction to Agent Skills on Claude Academy

    • Shared Skills can create a consistent standard and experience in org, eg with team coding standards, project specific workflows – can be done in Enterprise Deployment in Managed Settings
    • Easiest way is to commit shared skills in repo 
    • You can distribute skills through plugins in marketplaces
    • Subagents don’t automatically see skills since they always start with a clean context 

    The grief, loneliness, and burnout sweeping through the tech industry right now | Molly Graham 

    • AI is taking a lot of our Legos, whether we like it or not, and we’re being encouraged to give away our Legos to AI.
    • You had someone on who talked about the job used to be rowing and now it’s steering, and I was like, I feel like there’s a lot of people out in the world right now that are like, I don’t want to steer.
    • Molly’s advice for the last 13 years has been that your career will be better off if you give away your projects and your teams and your responsibilities to other people as your company grows, versus trying to hold onto it, which is what we naturally want to do. Essentially to give away your Legos.
      • After 13 years of giving this advice and it unlocking so much win for so many people over the past decade, Molly’s realized that it is no longer true when you are giving away your Legos to AI. It’s a lot more nuanced and complicated now.
      • And so, in this conversation, we try to get to the bottom of this question, what Legos should you still be giving away and what Legos should you keep? 
    • I think this is happening with AI as well, which is that we do have these instincts to hold on to what we know, and to defend what we know, and to fight for what we know for a bunch of different reasons, many of them good, but the future is going to be defined by the people that are willing to just take the stance of learning and to throw themselves into this change, scary and unknown as it is.
    • What we need to avoid in fear is the reverse centaur where the AI is using us to do things. DoorDash people and Uber people are in that world already, not the funnest life. And it might expand to knowledge work.
    • You’re telling me to let go of my Legos. You’re telling me to make myself irrelevant. Fuck you.” You know what I mean? I don’t believe there’s a job on the other side.
    • And I think that fear narrative, I am sure some of it is real, but some of it is really overblown and it’s creating a pretty toxic environment for people where it’s so hard to lean into this change with joy or excitement or any sense of opportunity.
    • As of right now, there is not a lot of data, although you may have more than I do, that says that AI is genuinely taking jobs away. And I have a lot of beef to pick with all the AI-branded layoffs out there because they’re bullshit. They’re not about AI.
    • They are about badly run companies slapping an AI label and getting some share points from that versus saying, “Whoops, we hired too many people.” And they’re propagating this fear narrative that is like, ” Your job is going away. There is no job on the other side.”
    • Not everybody’s feeling is fear and sense that it’s all doomed, that actually half of people are feeling like they’re having the best time of their life and their career and they’re so excited about all the things going on. You may not feel that. If you’re not that, you may not believe that.
    • But from what I can see around me, many people are very excited. Even though they’re working harder than they’ve ever worked, they’re also the happiest they’ve ever been about their career.
    • I always think AI needs the same coaching and training that a human does, right? It needs context. It needs onboarding. It needs all of these things. And it’s kind of much more like an intern, a bad intern often. I call it a lazy intern.
      • AI said this was good enough so I’m just going to copy, paste, send,” and that is never been how good work happens. You know what I mean? So I feel like we need a change from this super intelligent being that’s better than all of us at our jobs to, “No, it’s just a fucking intern, man.”
    • Yeah, which by the way, there are trends inside of bigger companies to get rid of management, to get rid of whole management layers, and I think it is a huge mistake. I think it is going to end up biting people in the ass long term because I see no signs right now that management matters less.
  • Taking Introduction to Agent Skills on Claude Academy

    • Skills vs Claude.MD
      • Project wide standards that always apply, e.g. never modify database schema
    • Claude.MD leads into every conversation, eg. you want to use TypeScript strict mode all the time
    • Skills load on demand
      • Eg. PR review checklist doesn’t need to be in context when writing new code. Activates when asking for review
      • Skills add knowledge by joining existing context, unlike subagents who are isolated from conversation context
    • Hooks fire on events, eg run a linter when Claude saves, validate specific tool calls
    • Skills are request-driven, activate based on youS asking 
    • A typical setup might include:
      • CLAUDE.md — always-on project standards
      • Skills — task-specific expertise that loads on demand
      • Hooks — automated operations triggered by events
      • Subagents — isolated execution contexts for delegated work
      • MCP servers — external tools and integrations

    The reality of generative AI in the clinic – Microsoft Research 

    • GPT helped remind doctors on empathy, drafting emphatic responses, and improved patient experiences
    • Reduce cognitive burden for doctors on summaries, reminding patients, and more resources – it’s notable it didn’t necessary reduce time, but it reduced burnout and improved messaging to patients 
    • Hallucination didn’t appear to be a problem for purpose-built platform for patients note 
    • Potential to help mid-level providers to protocolize answers and give doctors edge cases
      • Good for routine tasks
    • You don’t want to necessarily save time with patients vs offloading admin tasks/pajama time/operations
      • Problem right now is documenting like 45 minutes vs 15 minutes of patient time
    • Strong evidence of certain AI tasks that augment doctors and some that should replace doctors entirely, eg. radiology images – all elevated care for patients 
    • Still concerns about “irrational exuberance” 
    • Tech world doesn’t think or understand risks, eg. overbooking algos and how it affects vulnerable pages 
    • AI scribes could potentially undo a lot of the harms EMRs have caused. Assign proper billing codes. A lot of improvements since they started this work two years ago
    • Each workflow requires different scribe or rigor, who uses it, what documentation, doctors vs nurses, which encounter 
    • Token cost and efficiency a looming problem
    • Efficiency gains often end up with larger workloads for doctors 
    • Paradox of ai assistants, they hallucinate or show bias, but they are really good at spotting other people’s errors
    • Long way from AI tools being part of standard of care
  • Taking Introduction to Agent Skills on Claude Academy

    • Skill should match directory name and description is used for mapping
      • Description should answer what skill does and when Claude use it 
    • allow-tools: restricts tools for skill
    • mode: restricts model
    • Edited my better-documents skill based on listen 
    • Sometimes you want skills that only read files vs modify, eg security sensitive workflows or ask permissions, eg. ask for bash commands
    • Keep skill.MD under 500 lines. You can use progressive disclosure and feed detailed reference material in separate files that Claude read only when needed 

    The AI Revolution in Medicine, Revisited: An Introduction – Microsoft Research

    • Reflecting on the book two years later, especially given much of the book was hypothesis because they were working on an early preview version of GPT4 before the public
    • “Nine stages of AI grief” for what is possible and not possible + how to harness it real life is not easy

    Build Day D3 Repair

    • Used Claude Code to re-build a portfolio page after a previous website called bl.ocks.org that hosted D3 visualizations shut down
    • Fit it old gists and context of what I wanted, but it took a few tries in Claude Desktop to create a context to past into Claude Code to run 
    • Really cool Claude Code knew to go in the wayback machine to find old examples 
    • Still had to pop-in and point where new URLs go, but similar to working with a junior PM or dev 

  • Taking Introduction to Agent Skills on Claude Academy

    • When you create a skill, Claude scans four locations but loads name and description to match the skill with task at hand
    • Skill priority
      • Enterprise — managed settings, highest priority
      • Personal — your home directory (~/.claude/skills)
      • Project — the .claude/skills directory inside a repository
      • Plugins — installed plugins, lowest priority
    • Loaded the Claude default Marketing, Engineering Product Management skills for my own projects
    • Modified one of my own skills based off Anil Dash’s Better Documents
    • Made an agent based off the Monitor a Topic in Claude 

    🎙️ How I AI: Meta’s Muse review + How Warp ships 2,000 PRs a month with AI factories

    • The teams behind Facebook and Instagram understand how to build trust with nontechnical users, and that experience shows up throughout Muse. It never exposed Claire to a terminal, surfaced a confusing error, or requested permission at an awkward moment.
    • The teams behind Facebook and Instagram understand how to build trust with nontechnical users, and that experience shows up throughout Muse. It never exposed Claire to a terminal, surfaced a confusing error, or requested permission at an awkward moment.
    • Seeing exactly how an agent arrived at an outcome builds a different level of trust than receiving a polished result with no visibility into the process.
    • Instead of displaying a generic spinner while it works, Muse generates an animation in which its avatar picks up a tiny laptop when completing tasks and an orb when creating media.
    • Note: I don’t personally use Muse even though this looks really appealing from a user perspective because of Facebook’s history of lax data privacy and security postures  
    • A software factory is not just a faster coding agent. It is the entire development lifecycle running in the cloud.
      • The difference between a factory and a coding agent is the difference between an assembly line and a single machinist. One completes a task. The other coordinates the entire production process.
    • “Human interactions per pull request” may be the clearest measure of factory efficiency.
    • Humans in code review are now the biggest bottleneck in Warp’s engineering process.
      • Being good at discernment and review are the mission critical abilities in an AI-driven software world
    • The scoring layer is what separates a reliable factory from a vibe-coded pipeline. Warp uses an AI judge to score every agent run across multiple dimensions, including whether it created redundant tests.
  • Taking Introduction to Agent Skills on Claude Academy

    • Skills are about not repeating, eg. markdown file of your company’s coding standards, commit msg formats, brand guidelines, and other specialized knowledge
    • Agent skills are folders of agent skills and scripts that agents can discover to do work more efficiently 
    • Claude.md always load and skills.md only loads on request and doesn’t fill up entire context window, eg. PR review checklist doesn’t need to constantly load in context window

    China Is Scared of A.l. Just in Not the Way We Are. 

    • American A.I. companies know they can’t tap the brakes on A.I. by themselves — China has to go along.
    • Too often, however, A.I. safety experts assume that China has the same concerns as we do about A.I. The reality is, the Chinese have a different set of worries. And until we understand what those are, cooperation with China will be impossible.
    • Generally speaking, China doesn’t fret as much about A.I. as an existential threat to humanity.
    • That’s mainly because of differences in how the two countries think about A.I. training and development. The leading American A.I. companies are hyper-focused on advancing “recursive self-improvement” — using A.I. systems themselves to develop even better A.I. systems. There are fears that this feedback loop could accelerate the pace of A.I. development to the point where humans no longer have control over the process. American tech leaders believe this takeoff point might be around the corner.
    • Chinese A.I. companies are also working on recursive self-improvement. But because of their limited access to A.I. computing power and the slower pace of progress, they believe the takeoff moment is still technologically a long way off. Chinese policymakers seem to share that outlook and so are more focused on building resilient A.I. supply chains and increasing A.I. adoption throughout the economy.
    • For the moment, Chinese policymakers are more worried about the political and social risks caused by A.I. They don’t want it creating deepfakes of political leaders or saying the “wrong” things about Taiwan or Tiananmen Square. They don’t want A.I. chatbots to create psychological dependencies or threaten child safety, or set off social instability or a mass movement powerful enough to topple the Communist Party.
    • Cybersecurity and runaway are more the potential common areas for cooperation
  • Finished Introduction to subagents on Claude Academy

    • Subagents work best when the exploration is separate from the execution. It really depends on the intermediate step and what that step needs
    • Subagents great at research tasks, where a JWT is validated for example, or a styling subagent or scenarios like below:
      • You need a result, not a play-by-play of how it was found
      • The exploratory work would clutter your main thread’s context
      • The task benefits from a fresh perspective or a custom system prompt
    • It’s not a good idea to tell subagent it is an expert in python – this is something Claude already does. It needs to be distinct from the main thread. Avoid them for expert claims, multipstep pipelines, and test runners 

    Attended a Biotech Webinar

    • Life cycle of a drug: AI has reduced time by half to two years to refine a molecule as a target candidate selection – though testing and rest of life cycle requires real human time that cannot be sped up as well as sign-offs that are about cajoling people, eg. clinical research assistant
    • “Congestion under shared capacity” analogy of too many people in public pool, and they can’t work out because there’s not enough patients, etc. for trials, but cash keeps getting burned
      • Patient pool size needs to be increased, but this is an interesting side effect of AI boom
    • The longest mile of setting up sites need to be configured and doctors known to increase the pool
  • Taking Introduction to subagents on Claude Academy

    • The most important improvement you can make to a subagent is defining an output format in its system prompt to create natural stopping points and keep it from running too long
    • You can also ask for workarounds the subagent discovered like a env quirks 
    • Effective subagents share four characteristics:
      • Specific descriptions — The description controls when the subagent is launched and what instructions it receives. Write it to steer both.
      • Structured output — Define an output format in the system prompt so the subagent knows when it’s done and returns information the main thread can use.
      • Obstacle reporting — Include a section in the output format for workarounds, quirks, and problems so the main thread doesn’t have to rediscover them.
      • Limited tool access — Only give a subagent the tools it actually needs. Read-only for research, bash for reviewers, edit/write only for agents that should change code.

    Build Day 

    • Building an Alumni-to-Alumni Mentorship program based off volunteering and reusing assets + integrate original research from memory 
    • Added in a skill to sound less robotic and set the right style guide and tone
    • Claude modes continue to seem like they’re deteriorating and generated two corrupted files, disappointed