Anthropic's announcement of Fable 5.2 and Mythos 5.2 — one base model, 1M context, lower prices, and an optional fast mode up to 2.5x.
- official
- models
- announcement
- fable
A Chinese handbook for context engineering in self-built AI apps: prompt caching, chat compression, memory recall, API / Claude Code switching, and one conversation carried across web, mobile and messaging channels
context-bridge-guide (Chinese title: 让 AI 接得上话) is a Chinese handbook distilled from a continuously used personal AI application, covering the context layer that keeps one conversation coherent across devices and engines: how history is organized (topic summaries, recent verbatim messages, memos, and why character estimates and real token counts must not be mixed), how memory actually enters the request (write sources, rule/event layers, relevance recall, prefetch and query alignment, plus the stored-but-not-injected troubleshooting path), how to choose between the two Claude Code paths (native session resume needs a catch-up watermark; per-turn independent CC needs a full briefing and explicit tool conclusions), and how channels share one conversation (trusted identity mapping, source event dedup, full turn ordering). Seven chapters, runnable offline demos (Python 3.10+, standard library only, no model account; the payload example needs an explicit --send flag to touch the network), and tests. The README pairs it with Cheiineeey/api-where-it-breaks for API integration troubleshooting and states its reference docs were consulted on 2026-11-14.
Use when building your own AI application that must keep one conversation coherent across devices (web, mobile, messaging bridges) and across engines (raw Messages API and Claude Code), or when you need to explain to a team what prompt caching does and does not do before wiring up memory and channel adapters.
Five-minute offline tour — needs Python 3.10+, standard library only, no model account, no network requests: python3 examples/demo.py python3 examples/anthropic_payload.py python3 examples/cc_command.py python3 -B -m unittest discover -s tests -v demo.py simulates a web session mentioning a plan, a phone following up, then an engine switch; anthropic_payload.py needs an explicit --send flag to touch the network.
The README's own limits: the offline examples' ledger, summary cache and locks live in memory and lose state on restart; wiring a real application needs database persistence, trusted channel identity mapping, full turn serialization and idempotent tool-result records. The replier and summarizer in the demos are labeled teaching stand-ins; word-hit retrieval does not pretend to be vector retrieval; the examples cannot verify real-model memory effects, cache hits or gateway compatibility. Real endpoint cache behavior, billing and CLI parameters follow the versions you actually use. MIT license. 15 stars as of writing (2026-11-15).
Repository
yanke521/context-bridge-guideCharted
Anthropic's announcement of Fable 5.2 and Mythos 5.2 — one base model, 1M context, lower prices, and an optional fast mode up to 2.5x.
Anthropic's official "Code with Claude" workshop materials — nine hands-on courses on skills, MCP, evals and Claude Managed Agents.
Anthropic's announcement of Fable 5.1 and Mythos 5.1 — one base model, two guardrail postures.