Overview
Prompts are the foundation of your agent’s behavior. eigi.ai provides powerful prompt management tools including AI enhancement, version control, diff viewing, and instant rollback—giving you complete control over your agent’s evolution.Prompt Editor
Rich Editing Experience
Create and refine prompts with our advanced editor:Syntax Highlighting
Clear visual formatting for prompt sections and variables
Variable Insertion
Easily insert dynamic variables like customer name, order ID, etc.
Section Templates
Pre-built sections for Identity, Style, Tasks, and Error Handling
Character Count
Track prompt length to optimize for your LLM provider
AI Prompt Enhancement
Intelligent Optimization
Let AI help you create better prompts:1
Write Your Draft
Create your initial prompt with your requirements
2
Request Enhancement
Click “Enhance with AI” to analyze and improve your prompt
3
Review Suggestions
See specific improvements for clarity, structure, and effectiveness
4
Apply Changes
Accept all suggestions or cherry-pick specific improvements
Enhancement Features
| Feature | Description |
|---|---|
| Clarity Improvements | Rewrite ambiguous instructions for precision |
| Structure Optimization | Organize prompts into clear, logical sections |
| Best Practice Alignment | Apply proven prompting patterns |
| Voice Optimization | Adapt for natural spoken conversation |
| Edge Case Handling | Add instructions for error scenarios |
Version Control
Complete History
Every prompt change is tracked automatically:Never lose work. Every save creates a new version you can reference or restore
at any time.
Version Features
Automatic Versioning
Automatic Versioning
Every time you save a prompt, a new version is created with: - Timestamp of
the change - Commit message describing what changed - Full snapshot of the
prompt content
Commit Messages
Commit Messages
Add descriptive messages to each version: - “Added error handling for
invalid order numbers” - “Improved greeting for warmer tone” - “Updated
business hours information”
Version Browser
Version Browser
Browse through all previous versions: - See version timeline - Preview any
version - Compare versions side-by-side
Diff Viewer
Compare Changes
See exactly what changed between any two versions:Diff Features
Line-by-Line Comparison
See additions, deletions, and modifications highlighted clearly
Side-by-Side View
View old and new versions next to each other
Inline Changes
Highlight specific word changes within lines
Change Summary
Quick overview of total additions, deletions, and modifications
Rollback
Instant Restoration
Revert to any previous version with one click:1
Open Version History
Access the version browser from your prompt editor
2
Select Version
Find the version you want to restore (use diff to compare)
3
Preview
Review the full prompt content before restoring
4
Restore
Click “Restore This Version” to revert instantly
Rollback Safety
| Action | Result |
|---|---|
| Restore Version | Creates new version with old content |
| Original Preserved | Current version saved in history |
| Immediate Effect | Agent uses restored prompt instantly |
| Audit Trail | Rollback noted in version history |
Prompt Types
System Prompt
The main instructions that define your agent’s behavior:First Message
The opening message your agent speaks when a call begins:Analysis Prompt
Instructions for post-call analysis (see Call Analysis):Dynamic Variables
Using Variables in Prompts
Insert dynamic data that changes per conversation:| Variable | Description | Example |
|---|---|---|
{{customer_name}} | Contact’s name from phonebook | ”John Smith” |
{{order_id}} | Order reference number | ”ORD-12345” |
{{appointment_time}} | Scheduled time | ”2:30 PM” |
{{custom_field}} | Any custom contact data | Your data |
Example Usage
Prompt Templates
Starting Points
Use templates for common scenarios:Customer Support
Troubleshooting, FAQ handling, escalation paths
Sales Qualification
Lead scoring questions, objection handling
Appointment Booking
Availability checking, confirmation, rescheduling
Survey Collection
Question flow, rating scales, feedback capture
Best Practices
Prompt Structure
Version Control
Troubleshooting
Agent not following instructions
Agent not following instructions
- Check for conflicting instructions in the prompt - Ensure instructions are explicit, not implied - Try the AI enhancement feature for clarity - Review the diff to see recent changes that might have caused issues
Lost a good version
Lost a good version
- Open version history and browse past versions - Use the diff viewer to find the version with the content you need - Restore that version or copy specific sections
Prompt too long
Prompt too long
- Focus on essential instructions only - Move detailed knowledge to the Assets/Knowledge Base - Use concise language while maintaining clarity

