Taking Building with the Claude API. Notes from today

  • Sometimes there’s a delay in response in generating an expected output in streaming mode and then a big chunk appears
    • Claude hangs on to chunks to do validation steps to return proper JSON, eg. waiting for a closing quote on key-value pair and compare against JSON schema
  • If this pause is not acceptable for use case, Fine Grained Tool Calling disables JSON validation step, but the caveat is you may now be given invalid JSON and would require handling 

 Couch to 5K for AI 

  • Using AI as a tool means using an agent to change files on your computer and past the chatting with AI ceiling
  • You can build a context directory that gets smarter over time and claude will understand relevant structures 
Set up my context directory on the Desktop with the following folders:
- me/
- team/
- my-manager/
- projects/
- company-context/
- daily-notes/
Ask me three questions that will help you fill in the most important context in this folder. Save the answers in the right folders.

AI models that can take down governments and business months away, rare Five Eyes statement warns | AI (artificial intelligence) | The Guardian

  • “Frontier AI models are anticipated to exceed current industry expectations, fundamentally transforming both offensive and defensive cyber capabilities. The timeline is not years, it is months,” the warning by Five Eyes’ agencies said.

️ How I AI: Codex Goals explained & Claude Opus 4.8 review & Building an iPhone app with zero technical skills 

  • Bryce used regular Claude as her “friend in the cockpit” to plan what to do and how to approach problems. Claude would tell her when to use Claude Code to write actual code. She’d bring the code back to Claude for confirmation, then Claude would tell her what to paste into Terminal. This three-step dance—plan, execute, deploy—let her ship production code without having to know exactly how it all worked.
  • Use screenshots and give to AI as a debugging tool and to give AI a visual reference
  • The human role has shifted to something broader: understanding the full suite of tools, knowing when to use AI versus when to step in personally, and bringing taste and judgment to the process.
  • Hiring for adaptability and openness matters more than ever. In Bryce’s view, people who get territorial about what they used to do or what other people used to do will struggle with relevance. The winners will be those with “the humility and the curiosity to work with others in ways that you haven’t before” and who recognize that “people can contribute in ways that they haven’t before.” The best idea should win, regardless of where it comes from.
  • The key to long-running tasks eg hours without supervision is a Goal vs a just a prompt 
  • Strong Goals have six key components: outcome (what should be true when done), verification (how to test it), constraints (what can’t regress), boundaries (what tools and files to use), iteration policy (how to decide what to try next), and stopping conditions (when to ask for help). Product managers who’ve written good OKRs will recognize this framework immediately.
  • Working with Goals feels like managing a colleague, not babysitting a tool. You assign a task, the AI goes away for the time required (whether that’s 30 minutes or five hours), and comes back with completed work for you to review.
    • Can be token costly
  • Opus 4.8 The model hallucinates when it gets stuck, which is a significant regression.
  • The model isn’t ambitious enough for truly agentic work.
Posted in , , ,

Leave a Reply