EgoXDocs
Prompts & Instructions

Prompts & Instructions (SPI)

Every system prompt and instruction your agent can receive has a stable SPI id. This registry explains each one — who owns it, when it is sent, and its exact text.

Every instruction EgoX sends to the model carries a stable SPI id (System Prompt / Instruction). Ids are banded by ownership:

  • SPI_0xx — tenant-editable: your prompts (base / endpoints / knowledge), your personality profile, your tool descriptions.
  • SPI_1xx — EgoX-managed policies: fixed safety/behavior blocks appended automatically (retry policy, workspace scope, voice rules…).
  • SPI_2xx — internal: instructions used by EgoX pipelines, never part of your agent's prompt.

The debug flow canvas (Console → Threads → Debug) tags every prompt segment with its SPI id — click an id there to land on its page here.

Registry

IDNameOwnershipSent when
SPI_001System Prompt (base)Tenant-editableEvery ask in agentic mode; vanilla intent in classic mode.
SPI_002Endpoints promptTenant-editableClassic mode, tools intent.
SPI_003Knowledge Base + Endpoints promptTenant-editableClassic mode, rag_tools intent.
SPI_004Knowledge Base promptTenant-editableClassic mode, rag intent.
SPI_005Personality blockTenant-editableEvery ask when the tenant has an active personality profile.
SPI_006Endpoint (tool) descriptionsTenant-editableWhenever tools are exposed to the model.
SPI_101Tool retry policyEgoX-managed policyWhenever tools are callable (classic tools/rag_tools intents; agentic with any tool or KB).
SPI_102KB search policyEgoX-managed policyAgentic mode when the search_knowledge_base tool is exposed.
SPI_103Get-conversation safety policyEgoX-managed policyWhen a getConversation/get_conversation tool is enabled.
SPI_104Workspace scope policyEgoX-managed policyWhen externalThreadId starts with collab:ws: (in-workspace DotCollab).
SPI_105Voice call policyEgoX-managed policyWhen the request arrives with voiceMode (live /egox/call turn).
SPI_106JSON schema instructionsEgoX-managed policyWhen responseFormat is json_object and the request carries a jsonSchema.
SPI_107KB search tool descriptionEgoX-managed policyAgentic mode with RAG enabled.
SPI_201Compliance classifier promptInternal (not part of your agent’s prompt)Worker process — async compliance audit queue.
SPI_202Conversation title generatorInternal (not part of your agent’s prompt)First turn of a new thread when Auto-title is on and the tenant is not no-store.

On this page