Skip to main content

12 posts tagged with "ai"

View All Tags

Mastering the Context Window: Why Your AI Agent Forgets (and How to Fix It)

· 5 min read
Pedro Arantes
CTO | Product Developer

AI agents are transforming how we write code, but they are not magic. They operate within a strict constraint that many developers overlook until it bites them: the context window.

If you treat an AI session like an infinite conversation, you will eventually hit a wall where the model starts "forgetting" your initial instructions, hallucinating APIs, or reverting to bad patterns. This isn't a bug; it's a fundamental limitation of the technology. Success in agentic development requires treating context as a scarce, economic resource.

The 80% Rule: Why Your AI Agents Should Only Speak When Confident

· 4 min read
Pedro Arantes
CTO | Product Developer

We've all been there: You ask your AI coding assistant for a solution to a tricky bug. It responds instantly, with absolute certainty, providing a code snippet that looks perfect. You copy it, run it, and... nothing. Or worse, a new error.

The AI wasn't lying to you. It was hallucinating. It was "confidently wrong."

In our Agentic Development Principles, we call this The Corollary of Confidence-Qualified Output. But in practice, we just call it The 80% Rule.