{"slug": "opencode-v1-17-session-snapshots-undo-your-ai-agent", "title": "OpenCode v1.17: Session Snapshots Undo Your AI Agent", "summary": "OpenCode released v1.17.10 and v1.17.11, introducing session snapshots that allow users to roll back AI agent sessions to any earlier message, including file changes. The update also adds MCP resource template support, enabling agents to dynamically discover and read structured data from MCP servers. OpenCode now has 8 million monthly active users and is on track for $25 million in annualized revenue.", "body_md": "OpenCode shipped two releases within 24 hours this week — [v1.17.10](https://github.com/anomalyco/opencode/releases/tag/v1.17.10) on June 24 and [v1.17.11](https://github.com/anomalyco/opencode/releases/tag/v1.17.11) on June 25. The headline feature in v1.17.11 is session snapshots: a checkpoint-and-revert system that rolls back your entire agent session — conversation history and all file changes — to any earlier message. If you have ever watched an AI agent confidently rewrite the wrong module, this is the feature you have been waiting for.\n\n## Finally: An Undo Button for AI Agents\n\nSession snapshots work exactly how the name suggests. After every message in a session, OpenCode captures a checkpoint — the conversation state and every file change made up to that point. The new revert control in the UI lets you pick any earlier snapshot and roll everything back. Files included.\n\nThis sounds obvious in retrospect, but no major AI coding agent has shipped this natively until now. Claude Code does not have it. Cursor does not have it. Developers have been working around the problem with manual git checkpoints and careful staging habits. Session snapshots make that workaround unnecessary.\n\nThe trust implication is significant. The hesitation most developers feel about giving agents large tasks — refactoring a core module, touching the database layer, restructuring a config system — comes from the irreversibility problem. If the agent takes a wrong turn, recovery is painful and slow. Snapshots change the calculus. You can now attempt the ambitious task and revert cleanly if it goes wrong.\n\nThe implementation detail worth noting: snapshot creation reuses existing Git objects to avoid re-hashing on large repositories. This is not a naive filesystem copy — the team clearly tested against real codebases and engineered around the obvious performance trap.\n\n## MCP Resource Templates: OpenCode Becomes a Proper MCP Client\n\nv1.17.10 adds something quieter but architecturally significant: support for MCP resource templates. The [Model Context Protocol](https://modelcontextprotocol.io) lets servers expose data resources — files, database rows, API responses — and resource templates are URI-templated endpoints that generate those resources dynamically (for example: `db://schemas/{table_name}`\n\n).\n\nPreviously, OpenCode could call MCP tools but could not enumerate or read what resources a connected MCP server had available via templates. That gap mattered for teams running internal MCP servers that expose structured data. Now OpenCode can list the templates, read the resources they generate, and handle permission denials gracefully — tools are hidden when access is denied, and key collisions between multiple MCP servers are prevented automatically.\n\nThe practical unlock: an MCP server exposing your company’s database schemas becomes fully navigable by the agent. It can discover what tables exist, pull the right schema, and use that context without a developer manually fetching and pasting it. That is the difference between MCP as a demo feature and MCP as actual infrastructure.\n\n## 8 Million Users and a Growth Story Worth Knowing\n\nThese releases land as OpenCode crosses a milestone that deserves context. In a [BetaKit interview earlier this month](https://betakit.com/qa-opencodes-founder-on-how-the-ai-agent-went-from-zero-to-8-million-users-in-a-year/), founder Dax Raad disclosed that the project has reached 8 million monthly active users and is on track for roughly $25 million in annualized revenue from its hosted-model service. The project debuted at a Toronto developer meetup one year ago with roughly 30 people in the room.\n\nThe growth has a founding story worth knowing. Early on, Anthropic blocked Claude Code connections inside OpenCode. Raad messaged OpenAI that same night; by morning, OpenAI officially supported the tool. That single incident — forced by a competitor’s restriction — pushed the team toward building something genuinely provider-agnostic. OpenCode now supports [75-plus model providers](https://opencode.ai/docs/models/) under an MIT license. The block was probably the best thing that happened to the project’s architecture.\n\n## –mini Mode and Desktop Polish\n\nv1.17.10 also ships a `--mini`\n\nflag for `opencode tui`\n\nand `opencode attach`\n\n: a minimal interactive mode with replay controls, suitable for quick one-off tasks or scripted workflows where the full TUI is more than needed. On the desktop side, Chrome-style tab shortcuts (`mod+1`\n\nthrough `mod+9`\n\n), draggable tabs, a redesigned titlebar, and an archived sessions panel bring the desktop app steadily closer to Cursor’s UX polish — while keeping the open-source, provider-agnostic engine underneath.\n\n## What to Do Now\n\nIf you are already on OpenCode, update now — session snapshots are too useful to leave on the table. Full details are in the [official changelog](https://opencode.ai/changelog). If you are evaluating OpenCode for the first time, start with [our earlier guide to the tool](https://byteiota.com/opencode-open-source-ai-coding-agent-guide-2026/), then check the [MCP integration docs](https://opencode.ai/docs/mcp-servers/) to see what is now possible with resource template support.", "url": "https://wpnews.pro/news/opencode-v1-17-session-snapshots-undo-your-ai-agent", "canonical_source": "https://byteiota.com/opencode-v1-17-session-snapshots-mcp-resource-templates/", "published_at": "2026-06-28 15:08:51+00:00", "updated_at": "2026-06-28 15:15:12.720562+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools", "ai-products", "ai-infrastructure"], "entities": ["OpenCode", "Anthropic", "OpenAI", "Claude Code", "Cursor", "Dax Raad", "BetaKit", "Model Context Protocol"], "alternates": {"html": "https://wpnews.pro/news/opencode-v1-17-session-snapshots-undo-your-ai-agent", "markdown": "https://wpnews.pro/news/opencode-v1-17-session-snapshots-undo-your-ai-agent.md", "text": "https://wpnews.pro/news/opencode-v1-17-session-snapshots-undo-your-ai-agent.txt", "jsonld": "https://wpnews.pro/news/opencode-v1-17-session-snapshots-undo-your-ai-agent.jsonld"}}