Skip to content

Variable: GENIE\_INSTRUCTIONS

const GENIE_INSTRUCTIONS: string

Suggested orchestration prompt for the central agent that owns the Genie tools. Compose into your agent’s instructions to get the canonical “decompose questions, ask Genie focused sub-questions, place data / chart markers in prose” behavior:

createAgent({
instructions: `${myAgentInstructions}\n\n${GENIE_INSTRUCTIONS}`,
tools(plugins) {
return { ...plugins.genie?.toolkit() };
},
});

The prompt references the bare tool names (ask_genie, get_space_description, get_space_serialized, get_statement, prepare_chart) used for the single-space default alias. Multi-space deployments should write their own variant that names the suffixed per-space tools (e.g. ask_genie_sales).