Ki
4. Jul 202627. Jun 202620. Jun 202619. Jun 202619. Jun 202617. Jun 202616. Jun 202615. Jun 202615. Jun 202613. Jun 202613. Jun 202613. Jun 202612. Jun 202612. Jun 202611. Jun 202610. Jun 202610. Jun 202610. Jun 202610. Jun 20269. Jun 20269. Jun 20269. Jun 20269. Jun 20268. Jun 20268. Jun 20268. Jun 20267. Jun 20267. Jun 20266. Jun 20264. Jun 20263. Jun 20263. Jun 20262. Jun 20261. Jun 202620. May 202619. May 202617. May 202616. May 202615. May 202615. May 202613. May 202612. Apr 20269. Apr 2026
Ornith 1.0: When the Model Writes Its Own Scaffold
DeepReinforce trains a coding model that learns its own agent harness. I tested the 9B and 35B locally on an M3 Max. The idea is strong, the benchmarks are self-reported, and the biggest stumbling block sits in the packaging.
What an Agent Remembers: LLM Memory between Context Window and Knowledge Graph
Agent memory is an architecture problem, not a toggle. An ordered overview: the cognitive memory functions, why the context window is not memory, RAG through GraphRAG with their real costs, and where n8n hits its native limits.
Where the cloud usually sits
For the finale we place the local agent where Claude or ChatGPT usually sit inside Xcode. Apple showed the local provider slot at WWDC26, and we installed macOS 27 and Xcode 27 on purpose to put it to the test. How far does the borrowed small model get there? Article 13 of the series "A Local Coding Agent with apfel".
n8n Authenticates Against SAP BTP — OAuth Against a CAP Service
The series finale: n8n binds to its own service on SAP BTP with a real OAuth flow. Client Credentials against the xsuaa token endpoint, a CAP service as a SAP-native stand-in, the n8n OAuth2 credential, and a workflow that enriches a ticket with a case ID from BTP.
Local Python on the Mac: Gemma 4, Its Coding Finetune, and a Current Specialist
Gemma 4 12B is celebrated as the most complete local model. For Python I ran three variants against each other on an M3 Max, with real code execution, including a parser that defeats all three.
Multi-Token Prediction for MLX: MTPLX Tested on the M3 Max
MTPLX promises noticeably faster local LLMs on the Mac via Qwen 3.6's built-in MTP heads. Measured on an M3 Max, with real numbers instead of marketing claims.
Majorana 2: Microsoft's Quantum Bet on an Unproven Particle
Microsoft celebrates Majorana 2 as a 1,000 times more stable quantum chip. Its foundation is Majorana quasiparticles, whose existence physics has not settled to this day. An assessment with technical background and sources.
n8n or SAP Integration — Not an Either-Or
Eleven articles covered what n8n can do. This one places where it does not belong: against SAP Cloud Integration with its EAI heritage and the Edge Integration Cell with its data boundary. With a decision tree instead of a tool takedown.
n8n in Queue Mode — Main, Worker and Redis
Operation goes production-ready. This article moves the single-process instance to queue mode: main accepts webhooks and enqueues executions in Redis, workers run them. With worker scaling, queue metrics, a production checklist, and a note on what queue mode does not do.
n8n Meets SAP — the Bridge over OData and HTTP
The pipeline now enriches its tickets with master data from a SAP backend. This article shows the OData binding over HTTP, SAP's own error format, graceful degradation on an unknown customer, and where AIF stays complementary.
Three Days at the Frontier: The Trump Regime Pulls Fable 5 and Mythos 5
Three days after launch, an export-control directive forces Anthropic to disable Fable 5 and Mythos 5 for all customers. What happened, why, and what it means.
No Ghost in the Machine: On mistaking language models for minds
ChatGPT sounds thoughtful. Claude sounds empathetic. And yet nobody is home. A mechanistic, philosophical and societal look at the difference between language models and consciousness.
The agent in the browser
The agent gets a third surface. Behind a Hummingbird server it streams its work into the browser over Server-Sent Events, confirmation by click included. The same core as in the terminal, only a different sink. Article 11 of the series "A Local Coding Agent with apfel".
Sovereignty on borrowed ground
The local agent runs without a key and without the cloud. But what does that independence rest on? Two releases from the same week, a cloud handoff from Anthropic and Apple's MLX stack, bring the question into focus. A sober assessment. Article 12 of the series "A Local Coding Agent with apfel".
Tools the agent doesn't write: MCP
MCP moves writing tools out of the agent into separate servers. We build a small MCP server, attach it to apfel, and measure what MCP solves and what it doesn't. Article 10 of the series "A Local Coding Agent with apfel".
Two Models, One Entry Point — Round-Robin and Failover over Local AI Backends
A single AI backend degrades to the rule-based emergency exit on failure. This article builds real redundancy from two local models: round-robin in normal operation, automatic failover on a single outage, rule-based only when both are down.
The interactive terminal session
The one-shot command becomes an interactive REPL session. The key to testability is the strict separation of render logic and terminal I/O. Article 9 of the series "A Local Coding Agent with apfel".
WWDC26 for Developers: Foundation Models, Core AI, and an Agentic Xcode
An overview of the WWDC26 Platforms State of the Union: the Foundation Models framework opens up to server models and goes open source, the new Core AI brings your own models on-device, and Xcode 27 puts agentic coding at the center.
Claude Fable 5: Anthropic's Mythos Class Goes Public, With Caveats
Two months after warning that Mythos was too dangerous to release, Anthropic makes the Mythos class public. A look at Claude Fable 5 and Mythos 5 between benchmark records, pricing tactics, and 30-day data retention.
The agent loop with a done-check
The naive agent loop ends when the model goes quiet, and that is just a self-report. We build a loop whose stop condition is a machine check, with an iteration limit and a context budget as guards. Article 8 of the series "A Local Coding Agent with apfel".
One Entry Point, Two Classifiers — Merging the AI Pipeline into the Live Path
Until now two separate paths ran side by side: the rule-based ingest and the AI classification. This article merges them into one pipeline, makes classification a swappable stage, and positions the rule-based classifier as a deliberate fallback behind the model.
Four Macs as a Cluster: Distributed Inference and Training with MLX
At WWDC26, Apple shows how MLX distributes large language models across multiple Macs. RDMA over Thunderbolt 5, the JACCL library, and a cluster of four M3 Ultras running a trillion-parameter model locally.
Claude in the Foundation Models Framework: The Handoff Becomes a Pattern
Anthropic released a Swift package that wires Apple's Foundation Models framework to Claude. The interesting part isn't Claude in an app — it's the handoff pattern: on-device for fast and cheap, Claude for the hard part.
Editing that works: constrained output instead of tool guessing
The naive file edit fails on the small model. We build the agent around that weakness, with constrained output and a two-stage edit workflow, and measure how much can be recovered. Article 7 of the series "A Local Coding Agent with apfel".
The local coding agent put to the eval
A reproducible eval of 15 tasks across five categories measures where the local Foundation Model carries as a coding agent and where it breaks. With a cloud sample and a separate measurement of what the model claims about its own success. Article 6 of the series "A Local Coding Agent with apfel".
When the Workflow Learns to Fail — Error Handling and Observability in n8n
The AI classifier runs, but what happens when the model goes down? A global error workflow with a Telegram alert, an observability stack of Prometheus, Loki and Grafana, and a silent fallback that wants to be made visible.
The first real tools: file system and shell
We build the first tools the agent uses to change things, and lock them down — a path sandbox, a confirmation gate, a diff before writing, and defense-in-depth for the shell. Article 5 of the series "A Local Coding Agent with apfel".
Understanding tool calling: from schema to round-trip
We teach the agent to call tools — the tool definition in the OpenAI schema, the round-trip of invocation, execution and continuation, and a tool abstraction in Swift. Article 4 of the series "A Local Coding Agent with apfel".
The AI Worm That Rethinks Its Attack for Every Target
A research preprint demonstrates a computer worm that runs a local language model on hijacked machines and devises its attacks per target. What is new about the proof of concept, what is not, and why patch management alone is no longer enough.
The Swift client: first connection to the model
We set up a Swift package, build an async HTTP client against apfel --serve and process SSE streaming token by token — Article 3 of the series "A Local Coding Agent with apfel".
The serve mode and the OpenAI protocol
We start apfel as a local OpenAI-compatible server, walk through every endpoint and see where the protocol diverges from OpenAI — Article 2 of the series "A Local Coding Agent with apfel".
apfel from the command line
We install apfel, walk through the three modes (prompt, serve, chat), and see where the on-device model holds up and where it gives way — Article 1 of the series "A Local Coding Agent with apfel".
The Model Is Already There — A Prologue to the Local Coding Agent
A series takes a close look at the Foundation Model every Apple Silicon Mac running macOS 26 ships with — and builds on it a coding agent in Swift that runs locally.
AI Classification Without the Cloud — the Ticket Workflow Gets a Brain
How an n8n workflow classifies tickets with a local language model: structured output, two backends without a cloud key, deterministic language detection, and a benchmark that exposes its own weakness.
Benchmarks — Hummingbird against FastAPI and Fastify
Article 7 of the Hummingbird series. We measure the LLM gateway against functionally equivalent implementations in FastAPI and Fastify — with a fair middleware stack, a deterministic backend stub, and oha as the load generator. The results are both what you expect and somewhat surprising.
Observability and Linux Deployment — From swift run to systemd
Article 6 of the Hummingbird series. We add Prometheus metrics via swift-metrics and swift-prometheus, a /metrics endpoint, MetricsMiddleware and TracingMiddleware. Plus: cross-compiling to a statically linked Linux binary via the Swift Static Linux SDK, a multi-stage Dockerfile, and a systemd unit for bare-metal Linux deployment.
Auth and RequestContext — Closing the Gate
Article 5 of the Hummingbird series. We add API key auth, token-bucket rate limiting, and spec-compliant error responses — using Hummingbird 2's generic RequestContext to carry typed middleware state without dictionaries.
Streaming — Tokens Flow as They Are Born
Article 4 of the Hummingbird series. We add streaming to both endpoints via Server-Sent Events: MLXClient.completeStream as AsyncThrowingStream, Anthropic events, OpenAI chunks, task cancellation. Tokens appear at the client as the model generates them.
Real Inference — MLXClient and the Local Model
Article 3 of the Hummingbird series. We connect the gateway to mlx_lm.server: MLXClient as a Swift actor, format conversion from Anthropic to OpenAI, error mapping with HTTP status codes. After this article, the gateway delivers real model responses.
Two Protocols, One Backend — Anthropic and OpenAI with Codable
Article 2 of the Hummingbird series. We implement the Anthropic Messages API and the OpenAI Chat Completions API in the same gateway: Codable types for both protocols, two POST endpoints, input validation, mock inference.
Swift on the Server — Hummingbird 2 and a Local LLM Gateway
Prologue · Series: Swift on the Server with Hummingbird. Why Swift on the server is no longer a hobby project in 2026, how Hummingbird differs from Vapor and why we chose a local LLM gateway as our demo project.
Apple Opens MLX as System Framework Starting with macOS 17
Starting with macOS 17, third-party apps can use MLX directly as a system framework.
AI Right on Your Laptop — Why Local Language Models Are Becoming a Real Alternative in 2026
Why local language models are becoming a real alternative in 2026 — MLX, Unified Memory, and a stack that works without the cloud.