<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Chris Karani</title><description>Exploring AI Agents, Prompt Engineering, and the Future of Automation</description><link>https://chriskarani.xyz/</link><language>en-us</language><item><title>The Command You Approve Is Not the Command That Runs</title><link>https://chriskarani.xyz/posts/the-command-you-approve-is-not-the-command-that-runs/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/the-command-you-approve-is-not-the-command-that-runs/</guid><description>Why approved commands run as something else: shell expansion rewrites what your agent&apos;s safety check read. A case for guarding at execution.</description><pubDate>Tue, 25 Aug 2026 00:00:00 GMT</pubDate><category>engineering</category><category>swift</category><category>ai-agents</category><category>security</category><author>Chris Karani</author></item><item><title>Wax: One File That Survives Hard Kills and Context Resets</title><link>https://chriskarani.xyz/posts/wax-one-file-survives-hard-kills-and-context-resets/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/wax-one-file-survives-hard-kills-and-context-resets/</guid><description>I built Wax, a single-file crash-safe memory engine for AI agents on Apple Silicon: WAL durability, hybrid RAG, bitemporal facts, no cloud dependency.</description><pubDate>Thu, 28 May 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>Inside Swarm&apos;s WebSearchTool: How I Built It to Fit a 4K Context Window</title><link>https://chriskarani.xyz/posts/swarm-websearch-tool-4k-ondevice/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/swarm-websearch-tool-4k-ondevice/</guid><description>I built Swarm&apos;s Swift web tool for 4,096-token on-device LLMs. Here&apos;s the tiered envelope, the Wax-without-embeddings bet, and fourteen decisions behind it.</description><pubDate>Wed, 22 Apr 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>How I Conducted Deep Research with a 3B On-Device Model and a 4K Context Window</title><link>https://chriskarani.xyz/posts/deep-research-3b-4k-foundation-models/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/deep-research-3b-4k-foundation-models/</guid><description>A 3B on-device model with a 4K context window produced a 2,336-word grounded research report using live web search. Here&apos;s the architecture that made it work.</description><pubDate>Thu, 09 Apr 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>EdgeRunner Beats llama.cpp: A Swift/Metal LLM Engine on Apple Silicon</title><link>https://chriskarani.xyz/posts/edgerunner-beats-llamacpp-swift-metal-llm/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/edgerunner-beats-llamacpp-swift-metal-llm/</guid><description>Built EdgeRunner in pure Swift and Metal from scratch over a weekend. On Qwen3-0.6B Q8_0, it hits 212 tok/s on M3 Max, beating llama.cpp by 16%. Here&apos;s what w</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>What Our Espresso Throughput Experiments Actually Found</title><link>https://chriskarani.xyz/posts/throughput-breakthrough-program-without-lying-to-ourselves/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/throughput-breakthrough-program-without-lying-to-ourselves/</guid><description>A throughput research postmortem from Espresso: what we tested, what failed, what stayed slower than baseline, and where the real architectural blockers are.</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>Why iOS Developers Need Conduit: A Unified SDK for Every LLM</title><link>https://chriskarani.xyz/posts/conduit-unified-swift-llm-sdk/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/conduit-unified-swift-llm-sdk/</guid><description>If you&apos;ve shipped AI features in an iOS app recently, you know the drill. Each provider has its own SDK. Switching means rewriting everything. Conduit fixes t</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>ContextCore: GPU-Accelerated Context Memory for On-Device AI Agents</title><link>https://chriskarani.xyz/posts/contextcore-gpu-memory/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/contextcore-gpu-memory/</guid><description>We built ContextCore to manage conversation context on Apple Silicon without cloud or battery drain. Four-tier memory, Metal shaders, 63M chunks/sec, sub-5ms </description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>EdgeRunner Architecture: What We Found When We Read the Whole Damn Codebase</title><link>https://chriskarani.xyz/posts/edgeunner-architecture-deep-dive/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/edgeunner-architecture-deep-dive/</guid><description>We fully documented EdgeRunner, a Metal LLM inference engine for Apple Silicon. Here&apos;s what we found that was actually interesting.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>Why On-Device Observability Is Non-Negotiable for GenAI Applications</title><link>https://chriskarani.xyz/posts/on-device-observability/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/on-device-observability/</guid><description>How local telemetry transforms AI reliability, privacy, and performance for applications running on edge devices.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>Colony: A Native AI Agent Runtime for Apple Platforms</title><link>https://chriskarani.xyz/posts/colony-apple-agent-runtime/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/colony-apple-agent-runtime/</guid><description>Colony is a Swift framework that orchestrates AI agent loops on iOS and macOS using Apple&apos;s Foundation Models. Here&apos;s why it exists and how it works.</description><pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>Swift for Coding Agents</title><link>https://chriskarani.xyz/posts/swift-for-coding-agents/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/swift-for-coding-agents/</guid><description>After building a multi-agent framework in Swift, I have thoughts on why it might actually be a better fit than Python or TypeScript for this kind of work.</description><pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item><item><title>Teaching Machines to Think: The Prompting Revolution in AI</title><link>https://chriskarani.xyz/posts/teaching-machines-step-by-step/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/teaching-machines-step-by-step/</guid><description>How chain-of-thought prompting and simple techniques transformed large language models from pattern-matchers into genuine problem-solvers.</description><pubDate>Sat, 29 Nov 2025 00:00:00 GMT</pubDate><category>Prompt Engineering</category><category>Prompting</category><category>Chain-of-Thought</category><category>AI Reasoning</category><category>Self-Consistency</category><category>Tree-of-Thoughts</category><author>Chris Karani</author></item><item><title>Are We Building Conscious AI Already?</title><link>https://chriskarani.xyz/posts/ai-consciousness-ethics-research/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/ai-consciousness-ethics-research/</guid><description>Exploring the uncertainty around AI consciousness, ethics implications, and what researchers at Anthropic are learning about model welfare.</description><pubDate>Fri, 28 Nov 2025 00:00:00 GMT</pubDate><category>LLMs &amp; Models</category><category>AI Ethics</category><category>Consciousness</category><category>Model Welfare</category><category>Anthropic</category><category>Philosophy</category><author>Chris Karani</author></item><item><title>The file system is becoming the interface for agents</title><link>https://chriskarani.xyz/posts/file-system-interface-for-agents/</link><guid isPermaLink="true">https://chriskarani.xyz/posts/file-system-interface-for-agents/</guid><description>Why the serious agent stacks are converging on files as the primitive for machine behavior, and what that means for the future of AI systems.</description><pubDate>Thu, 20 Mar 2025 00:00:00 GMT</pubDate><category>engineering</category><category>imported</category><author>Chris Karani</author></item></channel></rss>