← Back to Blog

Posts tagged #claude-code

9 posts

Self-Evolving Agentic Memory: Compiling Knowledge Instead of Retrieving It

Most agents forget everything between sessions. This is the opposite: a self-evolving memory built with Claude Code and a Karpathy-style architecture — why standard RAG fails agents, how a compile-time knowledge graph beats query-time retrieval, and the loop that makes knowledge compound.

claude-codeagentic-memoryknowledge-compilation
Read more
Teaching Kimi to Speak Claude Code: A Field Guide to Tool-Format Translation

Teaching Kimi to Speak Claude Code: A Field Guide to Tool-Format Translation

Every utility that translates tool-calling formats between LLM providers — LiteLLM, Bifrost, Portkey, claude-code-router, Vercel AI SDK, first-party /anthropic endpoints — what each one actually does, and the three failure classes none of them have solved. Plus the conclusion I arrived at: stop adapting context downward to each model, and build a harness that orchestrates harnesses instead.

llmclaude-codetool-calling
Read more
The Harness, Not the Model: Why the Same LLM Burns 4× the Tokens Without the Right Scaffolding

The Harness, Not the Model: Why the Same LLM Burns 4× the Tokens Without the Right Scaffolding

A token-efficiency reading of the 'harness > model' thesis: the same model solved 6.7% of tasks bare vs 68% with the right harness — at 4× fewer tokens. What a harness is, why it's where the token bill actually lives, and what the Life-Harness and Meta-Harness papers prove. Plus how your Claude Code stack (subagents, skills, hooks, graphs) already is a harness.

harnessclaude-codetokens
Read more
Email on your own domain without a mail server: receive via Cloudflare, send via Resend, and let an AI agent write the emails

Email on your own domain without a mail server: receive via Cloudflare, send via Resend, and let an AI agent write the emails

How to assemble a working [email protected] mailbox in one evening with no mail server at all: receive mail through free Cloudflare Email Routing forwarded to Gmail, send through the Resend API on top of Amazon SES, and as a bonus — Claude Code that emails you over the API. Inside: why receiving and sending don't conflict, real Cloudflare and Resend API calls, and the gotchas I hit.

cloudflareresendemail
Read more
How to Save Tokens in LLM: A Practical Guide for Claude Code

How to Save Tokens in LLM: A Practical Guide for Claude Code

Working approaches to saving tokens in Claude Code and Opus 4.7/4.8: subagents, skills, hooks, Chinese models, knowledge graphs, RAG, xhigh effort, session management, summarization on a cheap model, input compression (headroom, pxpipe, mcp-compressor), and server-side savings (Tool Search, context editing, prompt caching, Batches API). A checklist to cut costs by 10x.

llmclaude-codeoptimization
Read more