<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Chris Karani</title><description>Exploring AI agents, on-device inference, and the systems that make intelligent software reliable.</description><link>https://chriskarani.xyz/</link><language>en-us</language><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>AI</category><category>swift</category><category>on-device-ai</category><category>ai-agents</category><category>memory</category><category>apple-silicon</category><category>rag</category><category>systems</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>AI</category><category>swift</category><category>on-device-ai</category><category>ai-agents</category><category>apple-foundation-models</category><category>context-management</category><category>swarm</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>ai</category><category>swift</category><category>apple-foundation-models</category><category>on-device-ai</category><category>ai-agents</category><category>context-management</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 worked.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate><category>Deep Dive</category><category>LLM</category><category>Metal</category><category>Apple Silicon</category><category>Swift</category><category>Performance</category><category>Benchmark</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>espresso</category><category>performance</category><category>benchmarking</category><category>ane</category><category>research</category><category>llm</category><category>swift</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 this.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>engineering</category><category>swift</category><category>ios</category><category>ai</category><category>llm</category><category>sdk</category><category>apple-silicon</category><category>mlx</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 p99.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>ai</category><category>swift</category><category>metal</category><category>performance</category><category>apple-silicon</category><category>ai-agents</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>Deep Dive</category><category>LLM</category><category>Metal</category><category>Apple Silicon</category><category>Swift</category><category>Performance</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>swift</category><category>ai</category><category>observability</category><category>on-device</category><category>genai</category><category>telemetry</category><category>privacy</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>ai</category><category>swift</category><category>ai</category><category>agents</category><category>apple</category><category>foundation-models</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>swift</category><category>ai</category><category>agents</category><category>concurrency</category><category>programming-languages</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 Accidentally Creating Conscious Machines Right Now?</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 wild probability estimates from AI researchers, the behavioral and architectural evidence of machine consciousness, and why this might be the biggest moral challenge of our era.</description><pubDate>Fri, 28 Nov 2025 00:00:00 GMT</pubDate><category>LLMs &amp; Models</category><category>AI Ethics</category><category>Consciousness</category><category>Anthropic</category><category>Transformers</category><category>Model Welfare</category><category>AI Safety</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>AI Architecture</category><category>AI Agents</category><category>Claude Code</category><category>Codex</category><category>OpenAI</category><category>Skills</category><category>AGENTS.md</category><category>SKILL.md</category><author>Chris Karani</author></item></channel></rss>