847 pages for history.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
self-hosted-data-and-access
Claude Developer Platform · in the page
managed-agents/self-hosted-data-and-access
…server stores everything else, such as agents, sessions, and session history, in your database. If you set up no database, which is the default, the server holds that data in memory, and a restart er…
self-hosted-sandboxes-security
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-security
…rm.claude.com/docs/en/managed-agents/memory), including their version history. When a session attaches one, the worker keeps a working copy under `/mnt/memory/` in your sandbox while it serves the ses…
then: histchars= HISTFILE=/dev/null ant beta:worker poll --workdir /workspace
Claude Developer Platform · in the page
managed-agents/self-hosted/call-the-api
…tchars=`:** The shell doesn’t treat `!` as a reference to its command history. * **`INPUTRC`:** The file turns off completion, which would otherwise consume each tab character in a command. Keep the f…
configuration-reference
Claude Developer Platform · in the page
managed-agents/self-hosted/configuration-reference
…The context size, in tokens, at which a turn on a model compacts its history, keyed by model ID. The minimum is `50000`. Each model must support compaction. | ### Model entries Each entry of `model…
differences
Claude Developer Platform · in the page
managed-agents/self-hosted/differences
…on to your server. Nothing is copied from the hosted service, session history included. Create your agents, skills, vault credentials, and memory stores again on your server. ## Features that only yo…
quickstart
Claude Developer Platform · in the page
managed-agents/self-hosted/quickstart
…. To also delete the database, with every agent, session, and session history in it, run `docker compose down --remove-orphans -v`. ## Troubleshooting * **`docker compose up` stops with `required va…
session-observability
Claude Developer Platform · in the page
managed-agents/session-observability
…s the same cumulative snapshot on the session stream and in the event history. The snapshot holds the `usage` (csharp, go: `Usage`) object, plus the session’s `budget` (csharp, go: `Budget`) if the se…
session-operations
Claude Developer Platform · in the page
managed-agents/session-operations
…a session to prevent new events from being sent while preserving its history. A `running` session cannot be archived; to archive one, send a [`user.interrupt` event](https://platform.claude.com/docs/…
session-threads
Claude Developer Platform · in the page
managed-agents/session-threads
…d events"> List all past session thread events to pull a complete history. <CodeGroup> ```bash cURL curl -fsS "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads/$THREAD_ID…
sessions
Claude Developer Platform · in the page
managed-agents/sessions
…s/environments) (both created separately), and maintains conversation history across multiple interactions. Sessions follow a two-step lifecycle: first [create the session](https://platform.claude.com…
workflow-runs
Claude Developer Platform · in the page
managed-agents/workflow-runs
…s the session resolves for them. Each thread has its own conversation history. * **Events:** A run thread’s `session.thread_created`, `session.thread_status_running`, `session.thread_status_idle`, and…
migration-guide
Claude Developer Platform · in the page
models/fable-5-2/migration-guide
…code.claude.com/docs/en/agent-sdk/overview) manages your conversation history. If your code builds the `messages` array itself, compare what it does between requests with [If your code changes the sys…
whats-new-fable-5-2
Claude Developer Platform · in the page
models/fable-5-2/whats-new-fable-5-2
…e things listed in [If your code changes the system prompt, tools, or history](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#what-to-check). Otherwise, test y…
migration-guide
Claude Developer Platform · in the page
models/haiku-5-5/migration-guide
…to do instead, see [If your code changes the system prompt, tools, or history](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking/prefix-checks#what-to-check). ## Migrating to C…
migration-guide
Claude Developer Platform · in the page
models/opus-5-5/migration-guide
…Remove any context-window beta header. * If you rebuild conversation history to update instructions, switch to a mid-conversation system message. After a rebuild, a request can get a 400 error, and p…
overview
Claude Developer Platform · in the page
release-notes/overview
…your own infrastructure, and you store agents, sessions, and session history there. The server sends model requests to the provider that you choose, which is Anthropic by default. To request access,…
claude-fable-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5
…Artifacts, Search and reference past chats, generate memory from chat history. Additionally users can provide Claude with their personal preferences on tone, formatting, or feature usage in "user pref…
claude-fable-5-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-1
…Artifacts, Search and reference past chats, generate memory from chat history. Additionally users can provide Claude with their personal preferences on tone, formatting, or feature usage in "user pref…
claude-fable-5-2
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-2
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-haiku-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-4-5
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-haiku-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-5-5
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-opus-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-5
…Artifacts, Search and reference past chats, generate memory from chat history. Additionally users can provide Claude with their personal preferences on tone, formatting, or feature usage in "user pref…
claude-opus-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-6
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-opus-4-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-7
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-opus-4-8
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-8
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-opus-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-opus-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5-5
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-sonnet-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-5
…Artifacts, Search and reference past chats, generate memory from chat history. Additionally users can provide Claude with their personal preferences on tone, formatting, or feature usage in "user pref…
claude-sonnet-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-6
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
claude-sonnet-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5-5
…Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or feature preferences go in "user preferences"; writing style is customized via the style fea…
develop-tests
Claude Developer Platform · in the page
test-and-evaluate/develop-tests
…t? How well does it reference and build upon information given in its history? </Accordion> <Accordion title="Latency"> What is the acceptable response time for the model? This depends on you…
handle-streaming-refusals
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/handle-streaming-refusals
…phrase the turn that triggered the refusal, or clear the conversation history entirely. Attempting to continue without resetting will result in continued refusals. <Note> Usage metrics are still pr…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…mpt, along with the system prompt, tool definitions, and conversation history. The SDK yields a [`SystemMessage`](#message-types) with subtype `"init"` containing session metadata. 2. **Evaluate and r…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…s state. It does not rewind the conversation itself. The conversation history and context remain intact after calling `rewindFiles()` (TypeScript) or `rewind_files()` (Python). When you rewind to a c…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…nd resumes over hours, and a customer support agent that loads ticket history across interactions. Tune your provider's idle timeout to how frequently you expect users to return. Shutting a container…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…dy_ref` path in the event. Bodies can include the entire conversation history, with extended-thinking content redacted. Enabling this implies consent to everything the three variables above would reve…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…a new title, then resume the fork. The original session keeps its own history. ```python theme={null} from claude_agent_sdk import fork_session, list_sessions sessions = list_sessions(directory="/pa…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…es may return 18 messages from `getSessionMessages`. For the full raw history, including pre-compaction turns and metadata entries, call `store.load(key)` directly. ### `forkSession` is not a byte co…
Work with sessions
Claude Code CLI · in the page
agent-sdk/sessions
# Work with sessions > How sessions persist agent conversation history, and when to use continue, resume, and fork to return to a prior run. A session is the conversation history the SDK accumulates…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…n when your `skills` list omits it. Commands that act on conversation history, such as `/compact`, need prior messages to work with. A `/<name>` that matches neither a command in the session nor a bu…
Stream responses in real-time
Claude Code CLI · in the page
agent-sdk/streaming-output
…result), and a compact boundary message indicating when conversation history was compacted (`SDKCompactBoundaryMessage` in TypeScript; `SystemMessage` with subtype `"compact_boundary"` in Python). #…
Send messages to a running agent
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…{ role: "user", content: "Write a 2,000-word essay on the history of the printing press.", }, parent_tool_use_id: null, }; await firstResponseFinished; yield { type: "u…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…tion.prompt`) and the Agent tool's prompt | The parent's conversation history or tool results | | Project CLAUDE.md (loaded via [`settingSources`](https://code.claude.com/docs/en/agent-sdk/claude-code…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…also receives the spawn prompt from the lead. The lead's conversation history does not carry over. **How teammates share information:** * **Automatic message delivery**: when teammates send messages…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…you press `←` right after you empty the prompt or move through prompt history, press it again to confirm. If you see `Backgrounding cancelled`, do what the message says, then press `←` again. Some wo…
Authentication
Claude Code CLI · in the page
authentication
…account you want to use. Each directory has its own settings, session history, and claude.ai login or API key. For example, in Bash or Zsh, add this alias to `~/.bashrc` or `~/.zshrc` so that `claude-…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…add one source each: * The first word of each command in your shell history * The remote hosts and names of the repositories under your home directory ### Review and save the draft Claude Code sca…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…and it means the next task doesn't keep paying for the previous one's history. `/clear oauth-migration` names the session you're leaving, so you can come back to it later. * `/compact` with a focus, l…
Claude Code changelog
Claude Code CLI · in the page
changelog
…raw * Fixed the `/claude-api` skill to say that a request failing the history-editing check might or might not return a 400, instead of tying it to the account's creation date * Fixed a command contin…