Stay Updated

New tutorials, tips, and Atlassian insights. No spam, unsubscribe anytime.

L
LeanZero

An approachable expert helping teams simplify their Atlassian ecosystems. Sharing knowledge and building community, one solution at a time.

Services

  • Atlassian Migrations
  • Atlassian FastShift
  • Atlassian Maintenance
  • Forge App Development
  • AI Development Consultation

Topics

  • Jira
  • Jira Service Management
  • Confluence
  • Bitbucket
  • Atlassian Forge
  • Cloud Migration
  • Local AI
  • AI Coding
  • All topics

Company

  • Blog
  • Tutorials
  • Contact

Community

  • Join Discord
  • Support this site

© 2026 LeanZero. All rights reserved.

Privacy Policy|Terms of Service|Service Level Agreement|Trust Center
LZ·/TOPICS·REV 2.6
  1. Home
  2. Topics
  3. Ai Coding
Topic hub

AI Coding

Coding agents in practice, and how to tell whether they were right.

Read the articlesAll topics
§01
What this covers

AI coding agents fail in specific, repeatable ways, and almost none of them look like the demos. A test command piped through head exits 0 when nothing ran. A 27B model re-reads a file it was handed moments ago, ninety-five percent of the time. A swarm reaches agreement with itself and ships the bug anyway.

Most of this was written while building goose Local Edition, LeanZero's own agent running against local models, so the examples come from a harness that had to actually work. Expect measured before-and-after numbers and the levers that moved them. Expect a lot on verification too: making an agent act is the easy half, and knowing whether it was right is the half that takes the work.

§02
Series

Read in order

Agent control protocols

4 parts

What actually constrains an AI coding agent: the tool you run it in, the protocol underneath, and what the wire really carries.

  1. 1Part 1 — ArticleThe Obedience Trade-off: Why I Swapped Claude Code for Zed + GLM-4.710 min
  2. 2Part 2 — ArticleAI Agent Control Protocols: The Missing Link in LLM Engineering5 min
  3. 3Part 3 — ArticleClaude Code in Zed vs the terminal: what the ACP wire actually carries16 min
  4. 4Part 4 — ArticleWhat 145 MCP Tools Cost Before the Model Reads Your Question14 min

The goose swarm

6 parts

How the goose swarm was built - a fleet of small local models coordinated to ship working code - and what broke in it over weeks of real runs.

  1. 1Part 1 — ArticleThe goose swarm, self-verifying: small local models shipping real software5 min
  2. 2Part 2 — TutorialInside goose-swarm: How We Turned One Local Model Into a Self-Verifying Fleet5 min
  3. 3Part 3 — Tutorialswarm-gym for goose: grading local models by running the code they write5 min
  4. 4Part 4 — ArticleMaking the goose swarm predictable: 602 commits, 100 levers, and three bugs I found writing this14 min
  5. 5Part 5 — Articlegoose compaction: my 27B re-read the file 95% of the time — quoting it in the summary didn't help12 min
  6. 6Part 6 — Articlegoose swarm: pytest | head -80 exits 0 when nothing ran, and pipefail only trades the lie14 min
§03
Everything on this topic

Articles

20
goose swarm: pytest | head -80 exits 0 when nothing ran, and pipefail only trades the lie
ArticleAI Codinggoose Local Edition

goose swarm: pytest | head -80 exits 0 when nothing ran, and pipefail only trades the lie

A worker in my local-model swarm ran pytest against a file that did not exist, twice, and finished the task green. The pipe had eaten the exit code. Measured on bash and zsh, on pytest and cargo — including why turning pipefail on just moves the lie to the other side.

Aug 18, 202614 min read
What 145 MCP Tools Cost Before the Model Reads Your Question
ArticleAI CodingLocal AI

What 145 MCP Tools Cost Before the Model Reads Your Question

MCP went stateless on 2026-07-28. I probed ten real servers: none implement it. Then I measured the thing that actually costs you — 145 tool definitions, 40,784 tokens, and the 30% that is one server repeating itself.

Aug 17, 202614 min read
96 GB is 77.76 GiB: the real memory ceiling on an M3 Ultra
ArticleAI CodingLocal AI

96 GB is 77.76 GiB: the real memory ceiling on an M3 Ultra

Metal will not give you the RAM on the box, and the number it does give is not the 75% everyone repeats. I measured the three ceilings on a 96 GB Mac Studio, then measured what modern hybrid-attention models actually spend against them — including a Gemma 4 cache that quietly holds three times its own sliding window.

Aug 13, 202613 min read
goose compaction: my 27B re-read the file 95% of the time — quoting it in the summary didn't help
ArticleAI Codinggoose Local Edition

goose compaction: my 27B re-read the file 95% of the time — quoting it in the summary didn't help

Our swarm workers kept re-reading files they had already read. Context compaction was summarising the tool output that held the file. Pasting the file into the summary does not fix it; returning the last turns verbatim does. Measured three ways on the same 27B.

Aug 11, 202612 min read
llama.cpp vs MLX on Qwen3.6-27B: MTP is 1.04x here, not 1.85x
ArticleAI CodingLocal AI

llama.cpp vs MLX on Qwen3.6-27B: MTP is 1.04x here, not 1.85x

Multi-token prediction is merged in llama.cpp and still an open PR in mlx-lm. I measured both on an M3 Ultra with the same model. Every default MTP setting was slower than no MTP at all, and the runtime that deletes the MTP head outright is still the fastest thing on the box.

Aug 10, 202615 min read
Ling 3.0 Flash won't load on a Mac Studio. Qwen3-Coder-Next does, at 73 tok/s.
ArticleAI CodingLocal AI

Ling 3.0 Flash won't load on a Mac Studio. Qwen3-Coder-Next does, at 73 tok/s.

Ant Group's 124B/5.1B-active hybrid-linear MoE hit Hugging Face on 2 August. The memory arithmetic fits a 96 GB Mac with room to spare, and mlx-lm still refuses it. I counted exactly which tensors block it — 385 of 62,237 — then measured what that sparsity actually buys on the models that do run.

Aug 5, 202618 min read
Claude Code in Zed vs the terminal: what the ACP wire actually carries
ArticleAI Coding

Claude Code in Zed vs the terminal: what the ACP wire actually carries

I wrote my own Agent Client Protocol client, ran the same bug-fix fourteen times, and logged every frame. The agent never once touched my client's filesystem — and inside the working directory, the editor's permission dialog never sees a read at all.

Aug 2, 202616 min read
MXFP8 vs Q8: 10x the weight error, 1% the perplexity
ArticleAI CodingLocal AI

MXFP8 vs Q8: 10x the weight error, 1% the perplexity

I quantised real Qwen3-Coder weights both ways on an M3 Ultra. MXFP8 reconstructs them about 10x worse than 8-bit affine at identical size — and then costs only 1% perplexity end to end. Both numbers are true, and the gap between them is the interesting part.

Aug 1, 202614 min read
Your Unattended AI Agent Looks Healthy and Does Nothing: 7 Silent Failures on macOS launchd (2026)
TutorialAI Coding

Your Unattended AI Agent Looks Healthy and Does Nothing: 7 Silent Failures on macOS launchd (2026)

An agent scheduled with launchd wrote 288 healthy log lines a day and produced nothing. Here are the seven failure modes behind that, each of which looks identical from the outside, and the checks that make them loud.

Jul 27, 202612 min read
Making the goose swarm predictable: 602 commits, 100 levers, and three bugs I found writing this
ArticleAI Codinggoose Local Edition

Making the goose swarm predictable: 602 commits, 100 levers, and three bugs I found writing this

Three weeks after the swarm shipped its first honest builds, the work stopped being about making small local models smarter and became about making them stop lying to me. Here is what 602 commits bought, what the desktop looks like now, and the three defects I found in my own honesty machinery while writing this post.

Jul 20, 202614 min read
swarm-gym for goose: grading local models by running the code they write
TutorialAI Codinggoose Local Edition

swarm-gym for goose: grading local models by running the code they write

A hands-on walkthrough of swarm-gym — the harness that drives goose local-edition's swarm through real coding tasks and grades the result by running it. Set it up, run both modes, read every output, and tune the swarm from what you find.

Jul 3, 20265 min read
MLX vs GGUF on Apple Silicon: Benchmarking the Same Local Model Two Ways
ArticleAI Codinggoose Local Edition

MLX vs GGUF on Apple Silicon: Benchmarking the Same Local Model Two Ways

We built a harness that makes local coding agents produce real software, grades it by running it, and ran the same model as GGUF and MLX. Here's the harness, its modes and archetypes — and which build wins.

Jul 2, 202612 min read
Inside goose-swarm: How We Turned One Local Model Into a Self-Verifying Fleet
TutorialAI Codinggoose Local Edition

Inside goose-swarm: How We Turned One Local Model Into a Self-Verifying Fleet

The engineering teardown of goose local-edition: how the scheduler, the parallel planner, the CONTRACTS discipline, the model-free judge, and the post-run smoke/AST gates are actually implemented, why each exists — and the self-driving test harness that found the failure behind every one of them.

Jul 1, 20265 min read
The goose swarm, self-verifying: small local models shipping real software
ArticleAI Codinggoose Local Edition

The goose swarm, self-verifying: small local models shipping real software

We forked Block's goose into a multi-agent swarm that decomposes a hard app spec into a task DAG, runs it across three small local models on LM Studio, and makes them verify their own work by actually running it. Over six days and 300-plus commits, the last real limit stopped being the swarm's coordination and became the small model's raw coding ability — and even that ceiling moved.

Jul 1, 20265 min read
What's New in CogniRunner: Local AI, Zero-Key Models & Actions That Write Back
ArticleAtlassian ForgeAI Coding

What's New in CogniRunner: Local AI, Zero-Key Models & Actions That Write Back

CogniRunner's latest update brings local AI inference, a zero-key Atlassian-hosted model, and declarative AI actions that write back to Jira — all configured in plain English.

Jun 18, 20266 min read
Agent Skills, working: a guide with 6 real Atlassian examples
TutorialAI Coding

Agent Skills, working: a guide with 6 real Atlassian examples

Agent Skills are how you give a coding agent reliable knowledge of a framework it's never read. This guide walks the mechanics — progressive disclosure, SKILL.md, auto-trigger via description — and demonstrates each step with one of six open-source Atlassian skills you can install in two minutes.

May 19, 202612 min read
Qwen3-Coder-Next + MXFP8: The 128GB Local LLM That Runs Predictably
ArticleAI CodingLocal AI

Qwen3-Coder-Next + MXFP8: The 128GB Local LLM That Runs Predictably

A deep dive into Qwen3-Coder-Next, the 80B MoE model that brings powerful local development within reach. Learn why this 2026 release matters for developers who value control, predictability, and consistent results.

Feb 4, 202610 min read
AI Agent Control Protocols: The Missing Link in LLM Engineering
ArticleAI Coding

AI Agent Control Protocols: The Missing Link in LLM Engineering

A systematic approach to controlling how AI agents behave when working on software projects. Addresses the fundamental problem that AI models are unpredictable by default.

Jan 28, 20265 min read
The Obedience Trade-off: Why I Swapped Claude Code for Zed + GLM-4.7
ArticleAI Coding

The Obedience Trade-off: Why I Swapped Claude Code for Zed + GLM-4.7

Autonomous AI agents are impressive, but their "helpfulness" often leads to unauthorized changes. After Claude Code silently removed rate limiters and rewrote my email templates, I found a more reliable alternative in the Zed Editor paired with GLM-4.7. Description: A technical deep-dive into the risks of "Vibe Coding" and AI overreach. This post analyzes a real-world incident where an autonomous agent broke production features while fixing bugs, and explores why the strict instruction-following capabilities of Zhipu's GLM-4.7 model inside the Zed editor offer a safer, more deterministic workflow for serious engineering.

Jan 24, 202610 min read
Introducing the MCP Document Processor: A Practical Tool for Document Processing
ArticleAI Coding

Introducing the MCP Document Processor: A Practical Tool for Document Processing

Discover how the MCP Document Processor helps AI agents work with document formats more effectively. This Model Context Protocol server provides tools for reading PDFs with OCR and creating DOCX and Excel files. Tested with Qwen3-8b-VL for vision processing and GLM-4.7-REAP for cloud models, it handles document structure, table extraction, and professional document generation with practical styling options.

Jan 19, 20265 min read