Adaptive AI agents: three layers of memory, from a Neo4j graph to Qwen's weights
2026-09-01An agent that solves a problem on Monday and rediscovers the same fix on Tuesday is burning money to stand still. This post works through what adaptation actually means — the agent loop, the four kinds of agent memory, and the three places an agent can improve — and a companion mini-project that builds all of it with Python, Neo4j, and a QLoRA fine-tune of Qwen.
ai-agentsneo4jknowledge-graphsllmfine-tuningpython