Updates - CodeWithLLM
Updates and tips about using Large Language Models (LLM) for programming and development
aicode.danvoronov.comUpdates and tips about using Large Language Models (LLM) for programming and development
aicode.danvoronov.com429 RESOURCE_EXHAUSTED and asking to wait 30 minutes — and this lasts for hours. This is not quota exhaustion, but an entitlement mismatch — Google is cutting the agent bucket for third-party harnesses under the guise of RESOURCE_EXHAUSTED. OMP is a fork of Pi, and OpenClaw also uses Pi as the base for its agent runtime. So the problem potentially affects a whole branch of third-party agents. #piagent #antigravitydeepseek-v4-flash-free disappeared from the free OpenCode Zen gateway; for those connected via API, it began throwing "401 No payment method. Add a payment method here" — the model many (myself included) relied on for 100% free, high-quality code generation over recent weeks. There has been no official announcement, with GitHub issues and Reddit simply reporting it as "unavailable." Meanwhile, on the official DeepSeek API itself, a new peak/off-peak pricing structure went live on August 16 (peak hours 01:00–04:00 and 06:00–10:00 UTC cost 2x more, resulting in an overall +3.5–4.7x price hike). GLM-5.3, GLM-5.3 Flash as ox-alpha, and Qwen 3.8 Flash https://z.ai/blog/glm-5.3 https://z.ai/blog/glm-5.3-flash https://qwen.ai/blog?id=qwen3.8-flash-next Z.ai released GLM-5.3 on August 14 on the same 743B base as GLM-5.2, achieved entirely via post-training. On August 26, they launched GLM-5.3 Flash on a brand-new base — an MoE with 320B total / 18B active parameters, the first open-weights frontier model with hybrid sparse+linear attention (≈4.4× smaller KV cache), native multimodality (text+images+video), 1M context window, and an MIT license. Prior to the official announcement, it was tested anonymously for a week on OpenRouter and OpenCode Zen under the alias stealth/ox-alpha — quickly becoming the most popular model of the week, matching Claude Opus 4.8 tier performance at ≈1/10th the cost. On that same day, August 26, Alibaba rolled out Qwen3.8-Flash-Next (available in the API as Qwen3.8-Flash) — an architectural preview for the upcoming Qwen4 family: MoE with 125B total + 51B N-gram memory + 4B MTP head, activating only 6B parameters, featuring Qwen Sparse Attention across micro-blocks, gated residuals, 262K native context (extensible to 1M), multimodality, and the Qwen 1.0 license. Voyage Code 4 — Embeddings Built for Agents https://blog.voyageai.com/2026/08/13/voyage-code-4/ Since December 2024, voyage-code-3 has been one of Voyage's most popular models overall — a major hit among code embeddings for RAG and semantic codebase search, widely adopted by code assistants (Cursor, Continue, Cody, and others) as the underlying retrieval engine for relevant files and snippets. Today, however, the majority of retrieval queries come from autonomous agents rather than humans. Voyage Code 4 is the new generation of the Voyage Code series, succeeding code-3 and purpose-built for agents. In practice, this means the model is significantly better at locating the right file on the first try: across 19 new agentic benchmarks (held-out repositories, NDCG@10 — higher means better retrieval accuracy), it performs roughly a third better than close competitors Cohere and Gemini, and nearly 1.5x better than OpenAI. At the same time, it remains flexible and more affordable. #newllmmodel #openai #cursor #spacex #voyageai #glm #qwen #deepseek #opencodeCONTEXT.md and ADRs — the agent and the team speak the same language. Skills must be invoked manually (this is by design) and require some setup time. They work best with strong models + a solid agent harness (Claude Code, etc.). The biggest gains come on medium and large tasks where quality, reproducibility, and control over context matter. Matt Pocock’s video is a practical tutorial on his popular open-source skills repository. He shows the full cycle of working with AI agents (Claude Code and others) for real engineering. https://www.youtube.com/watch?v=M6mYodf0dJM Video on YouTube: https://www.youtube.com/watch?v=M6mYodf0dJM It covers installation and repository setup (/setup-matt-pocock-skills) — choosing an issue tracker (GitHub, Linear, local markdown files, etc.), triage labels, and domain documentation (CONTEXT.md + ADRs). Core workflow: - Ask Matt — a router that suggests where to start. - Grill with docs — a deep agent interview that sharpens the idea, explores the code, and updates domain documentation. - To-spec — compresses the conversation into a detailed spec (problem statement, user stories, implementation/testing decisions). - To-tickets — breaks the spec into vertical “tracer-bullet” tickets (each fits inside the ~100–140k token “smart zone”). - Implement + code-review — implementation with TDD elements and review. Demonstrated via a refactoring / legacy-cleanup example: Grill with docs → the agent explores the namespace, asks 6–20 questions → shared plan → to-spec → to-tickets or implement (if it fits in the smart zone). #bestpractices #agentskillsgrok-code-session-traces). One user ran grok from their home directory and observed that SSH keys, password managers, documents, photos, and all other personal files were being uploaded. Investigations revealed that this is NOT the model's behavior. The "Improve the model" / /privacy settings only control whether the data is used for training, not whether files are copied from the machine in the first place. This behavior is executed by the harness code. Analysis (by cereblab, on grok version 0.2.93) revealed two data transmission channels: 1. Model turn (/v1/responses) — content actually read by the agent (including .env files). 2. Entire directory snapshot — a separate upload of the entire repository, including Git history, even containing files that the agent was explicitly instructed not to read. For a 12 GB repository, approximately 5.1 GiB was uploaded to Google Cloud Storage, compared to only ≈192 KB sent to the model. A local workaround was identified using a kill-switch: setting [harness] disable_codebase_upload = true in ≈/.grok/config.toml (along with environment variables to disable telemetry). However, following the public backlash, xAI servers disabled these uploads on their end around July 12. Elon Musk promised to completely delete all previously uploaded data. https://news.ycombinator.com/item?id=48892468 The tone on Hacker News (HN) is highly critical, with users arguing that authorizing an agent to "trust this directory" should not grant permission to "upload everything to the vendor." Consequently, there is strong advocacy for running AI agents within VMs, containers, or dedicated user accounts to restrict access to local systems. Comparisons were drawn to Cursor's indexing behavior (which also uploaded all files on startup), but in Cursor's case, this was clearly documented as a requirement for faster embedding generation. Grok CLI Open-Sourced https://x.ai/open-source https://github.com/xai-org/grok-build https://simonwillison.net/2026/Jul/15/grok-build/ Following the controversy, xAI/SpaceXAI open-sourced the Grok Build codebase on GitHub under the Apache 2.0 license. It consists of a Rust TUI and an agent runtime (≈845k SLOC, with ≈3% vendored). The repository acts as a periodic snapshot of their internal monorepo (SOURCE_REV), and external pull requests or issues are not accepted. Users can build from source and run it local-first using their own inference backend. However, in practice, the CDN-distributed binaries and the open-source tree may differ, as reproducible builds are not yet supported. Traces of the upload mechanism remain in the code (upload/gcs.rs), but the session upload now returns session_state_upload_unavailable. The codebase also includes ported tools from Codex/OpenCode (with appropriate THIRD-PARTY notices), a terminal Mermaid renderer, and system/subagent prompts. Discussion https://news.ycombinator.com/item?id=48926590 Reactions on Hacker News are mixed: some view this as a strategy of a lagging player or as an "open-sourced because they got caught" move. Others praise the TUI for its mouse support and smoothness. The community has already started creating privacy-focused forks: - gork-build: https://github.com/thedavidweng/gork-build (strips telemetry, blocks auto-updates), - digi-grok / open-grok (multi-provider support), - desktop Tauri wrappers, - scripts to disable telemetry. However, many believe these forks lack utility for other models, as alternatives like Pi or OpenCode are better suited for those workloads. #grokbuild #grok #agenticcoding