{"version":"2.1.238","anchor":"print-mode-can-reuse-one-engine-across-prompts","canonical_anchor":"print-mode-can-reuse-one-engine-across-prompts","heading":"Print mode can reuse one engine across prompts","tier":"use","area":"Print Mode","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/print-mode-can-reuse-one-engine-across-prompts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### Print mode can reuse one engine across prompts\n\nSet one variable and print mode keeps the model, tools and caches warm between prompts instead of rebuilding.\n\n**What**\n\nIn `-p` mode, Claude Code can build the query engine once and submit each prompt to it, keeping the model, tools, MCP clients and read-file cache warm across prompts, instead of rebuilding everything per prompt. Set `CLAUDE_CODE_PRINT_ENGINE_LOOP` to use it; unset, the existing per-prompt path runs.\n\n**Evidence**\n\n`CLAUDE_CODE_PRINT_ENGINE_LOOP`\n\n- Area: Print Mode\n- Names: `CLAUDE_CODE_PRINT_ENGINE_LOOP`, `-p`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 4\/5"}