Module prompts

Module prompts 

Source
Expand description

Built-in Deep Agent system prompts

This module provides comprehensive system prompts that force tool usage and enable Deep Agent behavior automatically, similar to Python’s deepagents package.

§Prompt Formats

  • JSON format (default): Uses JSON examples for tool calls
  • TOON format: Uses TOON for 30-60% token reduction

Enums§

PromptFormat
Prompt format for tool call examples

Functions§

get_deep_agent_system_prompt
Get the comprehensive Deep Agent system prompt that forces tool usage
get_deep_agent_system_prompt_formatted
Get the system prompt in the specified format
get_deep_agent_system_prompt_toon
Get the Deep Agent system prompt with TOON-formatted examples