> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ravvio.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Manual System Prompt Editing

> Direct editing and customization of system prompts for advanced users

## Manual Editing Overview

Manual system prompt editing provides complete control over your AI agent's behavior configuration, allowing advanced users to craft precise, customized instructions that perfectly match their specific requirements.

<img src="https://mintcdn.com/ravvio/_L8X6ofEXB51J7A7/images/agent-prompt.png?fit=max&auto=format&n=_L8X6ofEXB51J7A7&q=85&s=1abc673bf3babb48b149d07f540688a9" alt="System prompt editor interface with advanced editing capabilities" width="547" height="749" data-path="images/agent-prompt.png" />

### When to Use Manual Editing

<CardGroup cols={2}>
  <Card title="Advanced Customization" icon="settings">
    Need specific behavioral instructions not covered by guided configuration
  </Card>

  <Card title="Industry Compliance" icon="shield">
    Require precise language for regulatory or legal compliance requirements
  </Card>

  <Card title="Complex Business Logic" icon="brain">
    Implement sophisticated decision trees or conditional response patterns
  </Card>

  <Card title="Integration Requirements" icon="link">
    Create prompts that work with specific APIs, tools, or business systems
  </Card>
</CardGroup>

## Manual Editor Interface

### Editor Features

<img src="https://mintcdn.com/ravvio/_L8X6ofEXB51J7A7/images/agent-prompt-manual.png?fit=max&auto=format&n=_L8X6ofEXB51J7A7&q=85&s=c91e6af2a4d75dc1d09d25b57ef6b949" alt="Agent customization options and advanced settings panel" width="1866" height="832" data-path="images/agent-prompt-manual.png" />

<AccordionGroup>
  <Accordion title="Rich Text Editor">
    **Functionality**: Full-featured text editor with formatting capabilities
    **Features**:

    * Syntax highlighting for better readability
    * Line numbering for easy reference
    * Auto-indentation and formatting assistance
    * Find and replace functionality
    * Undo/redo capability with change tracking
  </Accordion>

  <Accordion title="Real-Time Validation">
    **Word Count Tracking**: Live counter showing current length versus 500-word limit
    **Structure Analysis**: Identification of key sections and completeness
    **Syntax Checking**: Validation of prompt format and structure
    **Content Warnings**: Alerts for potentially problematic instructions
  </Accordion>

  <Accordion title="Preview and Testing">
    **Live Preview**: See how the prompt will appear to the AI system
    **Test Integration**: Direct connection to playground for immediate testing
    **Response Simulation**: Preview potential agent responses to sample questions
    **Formatting Verification**: Confirm proper display and structure
  </Accordion>

  <Accordion title="Template and Reference">
    **Template Library**: Access to proven prompt templates and examples
    **Best Practice Guide**: Inline tips and recommendations for effective prompts
    **Variable Placeholders**: Easy insertion of company-specific information
    **Format Templates**: Pre-structured sections for consistent organization
  </Accordion>
</AccordionGroup>

### Editor Layout and Navigation

<Steps>
  <Step title="Text Input Area">
    **Primary Editor**: Large text area for prompt composition and editing
    **Features**: Customizable font size, line spacing, and color themes
    **Tools**: Full toolbar with formatting, editing, and navigation options
  </Step>

  <Step title="Information Panel">
    **Statistics Display**: Word count, character count, and structure analysis
    **Validation Status**: Real-time feedback on prompt completeness and quality
    **Quick Reference**: Access to guidelines and best practices
  </Step>

  <Step title="Preview Section">
    **Formatted Display**: How the prompt appears to the AI system
    **Structure Outline**: Visual representation of prompt organization
    **Test Integration**: Quick access to playground testing environment
  </Step>

  <Step title="Action Controls">
    **Save and Apply**: Commit changes to active agent configuration
    **Reset Options**: Revert to previous versions or default templates
    **Import/Export**: Load templates or save custom prompts for reuse
  </Step>
</Steps>

## Prompt Structure Guidelines

### Essential Components

<CardGroup cols={2}>
  <Card title="Agent Identity" icon="user">
    **Purpose**: Establish who the agent is and its primary role
    **Required**: Clear role definition and scope of responsibilities
    **Example**: "You are a customer success specialist for CloudTech Solutions"
  </Card>

  <Card title="Personality Traits" icon="heart">
    **Purpose**: Define communication style and behavioral characteristics
    **Required**: Tone specification and interaction approach
    **Example**: "Maintain a professional yet friendly demeanor, showing patience and empathy"
  </Card>

  <Card title="Knowledge Domain" icon="brain">
    **Purpose**: Specify areas of expertise and information access
    **Required**: Clear boundaries of knowledge and capabilities
    **Example**: "Expertise includes product features, pricing, integration, and troubleshooting"
  </Card>

  <Card title="Response Guidelines" icon="message-square">
    **Purpose**: Instruction on how to structure and format responses
    **Required**: Communication standards and quality expectations
    **Example**: "Provide clear, actionable answers with relevant examples"
  </Card>
</CardGroup>

<img src="https://mintcdn.com/ravvio/_L8X6ofEXB51J7A7/images/agent-personality-settings.png?fit=max&auto=format&n=_L8X6ofEXB51J7A7&q=85&s=1f50f99c4915d94c85c6a4ca789e05aa" alt="Personality and behavioral configuration options" width="1855" height="837" data-path="images/agent-personality-settings.png" />

### Recommended Structure Template

```text theme={null}
## Agent Role and Identity
[Define who the agent is and primary function]

## Personality and Communication Style
[Specify tone, manner, and interaction approach]

## Areas of Expertise
[List knowledge domains and specializations]

## Response Guidelines
[Instructions for answer format and quality]

## Business Context
[Company information and relevant background]

## Special Instructions
[Specific rules, limitations, or unique requirements]

## Escalation Procedures
[When and how to direct users to human support]

```
