Default configuration settings
Agent Studio uses default settings optimized for performance and cost-efficiency.- Cache enabled: reduces LLM costs. For more information, see data retention.
- Usage metrics: on-demand.
config object.
Available features
Configure features in your agent’sconfig object from the API.
date_aware
Injects current date (YYYY-MM-DD) into the system prompt.
JSON
datetime_aware
Injects current date and time (YYYY-MM-DD HH:MM) into the system prompt.
citations
Adds citation markers [1], [2] to responses based on search results from tool calls.
JSON
Works in non-streaming mode only.
If you require advanced citation capabilities,
contact the Algolia support team to inquire about early access to the Citations v2 feature.
Search prefetch
Searches your index with the latest user message, before the model runs. When the hits answer the question, such as “waterproof hiking boots for kids”, the model replies right away. That’s often faster. Unlike the features in thefeatures array, it has its own searchPrefetch property.
JSON
Cache tradeoffs
Time awareness features affect caching. For more information, see Date awareness and caching.Client-side time injection
For full control over format, granularity, and timezone, inject time yourself:JavaScript