Skip to main content

How to Configure Agent Instructions

📋 Prompt

The agent's system prompt is assembled from multiple instruction sources — date/time awareness, citation formatting, platform knowledge, user-specific guidance, and more. Each source contributes an independent section. You control which are active and what they inject.

List and Enable Sources​

za agents capabilities instruction-sources list
za agents capabilities instruction-sources configure <source-name>

Configure Provider Settings​

za agents capabilities instruction-sources settings

Instruction Sources​

SourceCLI nameDefaultDescription
Date and TimedatetimeenabledInjects current date and time
User Instructionsuser-instructionsdisabledFree-text behavioral guidance
In-Memory Instructionsin-memory-instructionsdisabledStructured instruction blocks defined in JSON
Citation Instructionscitation-instructionsdisabledCitation formatting rules (auto-enabled with citation_configuration)
Index Explorerindex-explorerdisabledMethodology for autonomously probing an index to generate configuration
OnboardingonboardingdisabledBehavioral guidance for introducing platform features
Platform Documentationplatform-docsdisabledPlatform self-knowledge

Date and Time​

Injects the current date and time so the agent can reason about recency. Enabled by default.

za agents capabilities instruction-sources configure datetime

Configuration​

SettingTypeDefaultDescription
timezonestr"UTC"IANA timezone name (e.g. "Europe/Amsterdam")

User Instructions​

Free-text behavioral guidance added to the system prompt.

za agents capabilities instruction-sources configure user-instructions

Configuration​

SettingTypeDefaultDescription
instructionsstr or nullnullInstructions to inject into the system prompt

When prompted, provide your instructions:

Always check for recent publications (last 6 months) before answering. Prefer primary sources over reviews. Respond in the user's language.


In-Memory Instructions​

Structured, multi-section instructions defined in configuration. Each entry becomes a separate ## {header} section in the system prompt.

za agents capabilities instruction-sources configure in-memory-instructions

Configuration​

SettingTypeDefaultDescription
instructionslist[{header, body}][]List of instruction blocks, each with a header and body
{
"in_memory_instruction_source_configuration": {
"enabled": true,
"instructions": [
{ "header": "Response formatting", "body": "Use markdown tables for comparisons." },
{ "header": "Domain expertise", "body": "You are an expert in pharmaceutical R&D." }
]
}
}

Citation Instructions​

Injects citation formatting rules into the system prompt. Automatically enabled when a citation_configuration is present.

za agents capabilities instruction-sources configure citation-instructions

Configuration​

SettingTypeDefaultDescription
citable_resourceslist["search_results" | "documents" | "tags"]["search_results"]Which resource types to include citation instructions for

The actual citation format depends on citation_configuration.strategy — see Policies — Citations.


Index Explorer​

Injects a detailed methodology for autonomously probing a document collection and generating an index-tools configuration. Designed for one-time setup — enable it, run za agents dev, tell the agent "Run the Index Explorer", then disable it.

za agents capabilities instruction-sources configure index-explorer

Configuration​

SettingTypeDefaultDescription
instructionsstr or nullnullOverride the built-in exploration methodology

See Index Tools — Auto-Generate with the Index Explorer for the full workflow.


Onboarding​

Behavioral guidance that encourages the agent to naturally introduce platform features during conversations — not as a feature tour, but contextually.

za agents capabilities instruction-sources configure onboarding

Configuration​

SettingTypeDefaultDescription
guidancestr or nullnullOverride the built-in onboarding guidance

Platform Documentation​

Gives the agent self-knowledge about the Zeta Alpha platform capabilities.

za agents capabilities instruction-sources configure platform-docs

Configuration​

SettingTypeDefaultDescription
instruction_overridestr or nullnullOverride the built-in platform knowledge text
tip

Pair with the Platform Docs tool source for a complete setup — instructions tell the agent what the platform can do, tools let it look up how.


Instruction Files​

You can also manage instructions as markdown files on disk:

za agents instruction add "Response Guidelines"
za agents instruction list

This creates .md files in instructions/ that are automatically loaded into the system prompt.