AUTOMATE · 35 ARTICLES

AI Coding & Agents

Continue through the latest AI coding and agents articles.

All articles

Page 2

Showing 12 of 35
AI Coding & Agents6 min read

[Vibe Coder #2] What is an API, and why must API keys be hidden?

In Part 1, I compared an app to a restaurant: dining area (frontend), kitchen (backend), and storage (DB). This time, we cover the topic most likely to cause trouble in vibe coding: APIs—and API keys. Everyone has seen “Never expose your key,” but few explain what the key is, where it lives, or what happens when it leaks. This article covers it all.

Read article
AI Coding & Agents5 min read

[AI Context #5] Why Use Subagents? Context Isolation and Delegation

In earlier installments, we explored ways to conserve context: clear history at each work boundary (Part 3) and keep fixed overhead short (Part 4). Yet some tasks remain too large to handle. A typical example is, “Figure out how payment logic flows through this codebase.” A diligent agent would read dozens of files, and as we saw in Part 1, everything it reads accumulates in context. By the time the investigation is complete, no context remains for the actual work that knowledge enables—changing the code.

Read article
AI Coding & Agents5 min read

[AI Context #7] Cut API Costs with Prompt Caching

The final part of the series is about money. If you have run an agent through an API, you may have noticed something odd on the bill. Input tokens cost vastly more than output tokens. Given the architecture from Part 1, that is only natural. Every turn resends everything from the system prompt through the full conversation history, so in a 50-turn agent session, the same system prompt is effectively billed 50 times…

Read article
AI Coding & Agents5 min read

[AI Context #6] Agent Memory Beyond Context (Plans, Memory, RAG)

If you have followed the series this far, you will see a common pattern: minimize what stays inside the context window. Part 3’s “write state to a file before /clear,” Part 4’s “only pointers instead of the body,” and Part 5’s “leave the process to subagents, send only conclusions to the main agent” all point in the same direction. But we have not yet properly addressed the destination of these files—that is, information sent outside the context.

Read article
AI Coding & Agents5 min read

[AI Context #4] Why CLAUDE.md Should Be Short

In Part 3, we saw how to clear conversation history with /clear. But checking the remaining context immediately afterward shows it is not at 100%. Run /context in Claude Code and the reason becomes clear: the system prompt, tool definitions, CLAUDE.md, and tools registered by MCP servers already consume tens of thousands of tokens…

Read article