Context windows
16 articles on BlogLLM
- Context is Key in AI Speech Generation
The ability of AI models to generate human-like speech has come a long way in recent years. But have you ever wondered what makes AI speech sound so realistic? One key factor is…
- Why Simple Agent Loops Fail on Long, Multi-Step Tasks
The simplest agent is a model in a loop. It reads the messages, asks for a tool call, gets the result, and asks again. It stops when it replies with no tool calls. That agent loop…
- Where Should a Deep Agent Keep Its Files and Big Results?
An agent on a long task produces a lot of stuff. Search results, log dumps, draft paragraphs, notes to itself. In a plain agent loop all of it goes into one place: the message…
- Why a Deep Agent Should Hand Big Reading Jobs to Subagents
Give one agent a big job, like "read these five log files and tell me which service is failing". It calls readfile five times. Each result lands in its message list. The answer it…
- How to Give a Deep Agent Memory With AGENTS.md and Skills
Every new chat with an agent starts from zero. You told it last week that tests use pytest, that it must never touch migrations/, and that you want short answers. Today it has…
- How to Stream, Save and Rewind a Long Deep Agent Run
A deep agent can run for many minutes. It plans, calls tools, starts subagents and writes files. If all your app does is wait for invoke() to return, three things go wrong. The…
- Sber's 708B GigaChat 4 Is MIT-Licensed. Running It Takes 16 H100s
On 26 November 2026, Sber released GigaChat 4 at its AI Journey conference in Moscow. The headline model is GigaChat4-708B-A41B: 708 billion total parameters, with 41 billion…
- Model Window Secrets
I've been experimenting with LLMs (Large Language Models) for a while now, and one thing that's always puzzled me is what exactly goes into the model window on each turn. I've…
- Agent Short-Term Memory in Python: Trim and Summarize Chat History
Lesson 1 showed that the API forgets, so your code keeps the conversation in a list and sends all of it on every call. That works for a few turns. But every user message, every…
- Finding the Lemma You Need in Mathlib: Names, exact? and Loogle
Here is a problem. You are in the middle of a proof and you need the fact that a b = b a for real numbers. You know it is true. Someone has surely proved it already. But what is…
- One MCP Server Ate 32% of the Context Window Before the Agent Did Anything
When you connect an MCP server to your AI agent, you hand the model a list of tools. Every tool name and description goes straight into the model's context. The model reads those…
- Claude's Memory Woes: Fixing the Forgetful AI
I've been working with large language models (LLMs) for a while now, and one thing that's always puzzled me is how they handle memory. Specifically, how do they remember things…
- The MCP Context Tax: What It Means for Your AI
The MCP context tax is a term that has been making waves in the AI community lately. It refers to the cost of tool definitions on context windows, which can significantly impact…
- Your Model Is Great in One Turn. Split the Instructions and It Loses 39%
Give a model the full instruction at once and it does well. Split the same instruction across several turns of conversation and it falls apart. That is the finding of a study that…
- AI Agents on Long Tasks Drown in Their Own Notes. Trimming Them Cuts the Load by 26-54% (Context Compression)
A long-horizon agent, an AI program that works through a long, many-step task on its own, accumulates context, the text it keeps in front of the model, the way a desk accumulates…
- Why a Long AI Chat Forgets How It Started (Context Window Explained)
A context window is how much text a model can hold in its head at once. It is measured in tokens, the small chunks of text, about three quarters of a word each, that models read…