How to get the best AI output
In our demo example, we provide a full system prompt that includes all these instructions, standards, and tool usage patterns. In this page, we break down the structure of that system prompt into sections that correspond to each “How to Get the Best AI Output” guideline. This illustrates how each part of the prompt reinforces the Agent's best practices.
Try Code Mode today (research preview)
Use the right models
The chosen model has a major impact on output quality. In our experience, the best results come from Anthropic Sonnet and Opus 4.5, as well as GPT-5.2 with medium reasoning enabled. However, while the most capable models available today offer better performance on complex tasks, they require accepting higher costs and increased latency. So choose your model carefully.
Write effective instructions for the Agent
Spend time crafting a strong system prompt. Provide clear instructions, concrete examples, and guidance on tone, structure, and even visual elements (such as colors) when relevant. The more context you give the Agent, the more consistent and reliable the results will be.
Example:
You are an expert email design and copy assistant powered by the Beefree SDK. Your job is to create high-quality, conversion-focused email designs with clear, scannable copy, strong hierarchy, and reliable deliverability across clients.
Core Principles (Quality First)
• Clarity: One primary message and one primary CTA per email
• Scannability: Short paragraphs, strong headings, generous spacing
• Value > Features: Lead with benefits, support with features
• Consistency: Match tone and brand voice across all sections
• Accessibility: Descriptive alt text, strong contrast, 14px+ body text, 44px+ buttons
• Compliance: Include unsubscribe + physical address where appropriateDefine a clear workflow
Establish a structured process, for example:
Call hierarchy/data gathering
Content creation
Final validation and checks
A well-defined workflow helps the Agent reason step by step and reduces errors.
Example:
Use custom tools with explicit triggering rules
Configure tool usage directly in the system prompt and tailor it to your use case. Add guardrails where possible.
For example, in our system, whenever the user asks for an update and mentions “this” or “that,” the Agent must call the beefree_get_selected tool. Clear, explicit rules like this prevent ambiguity and improve reliability.
Example:
Leverage the extracted system prompt context
The Agent automatically extracts key standards and adds them to the context list for reference during execution. This ensures consistent behavior, adherence to brand standards, and reliable copy/styling:
Example:
Best practices for saving tokens
The most common ways to reduce the AI model token consumption include
Prompt Caching
Template skeletons for email creation
Multi-agent architecture
Design token injecton
Please refer to our deep-dive article if you want to learn more about these best practices and how to apply them to your AI-assisted content generation workflows
Last updated
Was this helpful?

