
Agent Creation
Create reusable AI agents with custom prompts and JSON schemas for automated extraction and processing of documents, images, and other visual content. Define once, execute many times with consistent results.Key Features
- Reusable Workflows: Define an agent once, execute it repeatedly with different inputs
- Custom Prompts: Specify exactly what information to extract using natural language
- Structured Outputs: Define JSON schemas for type-safe, validated responses
- Version Control: Manage different versions of agents for different use cases
- Easy Integration: Simple API for creating agents programmatically or via UI
Use Cases
Invoice Processing
Extract invoice details like amounts, dates, and vendor information automatically
Receipt Management
Parse receipts from various stores into a unified structured format
Form Extraction
Pull structured data from filled forms, applications, and surveys
ID Card Parsing
Extract information from driver’s licenses, passports, and identity documents
Industry Applications
- Healthcare: Clinical Documentation - Extract patient information from medical forms
- Legal & Finance: Contract Lifecycle Management - Parse contract terms and clauses
- Retail: Product Cataloging - Extract product details from images
- Public Sector: Citizen Services - Process government forms and applications
Configuration Options
prompt (string) - Required
prompt (string) - Required
Natural language description of what information to extract from the input files.
Example: “Extract the invoice_id, date, total amount, and vendor name from the invoice.”
json_schema (object) - Optional
json_schema (object) - Optional
JSON Schema defining the structure of the expected output. If not provided, the system will automatically generate a schema based on the prompt.
temperature (float) - Default: 0.0
temperature (float) - Default: 0.0
Controls randomness in the output (0.0-1.0). Lower values produce more deterministic results.
max_tokens (int) - Default: 4096
max_tokens (int) - Default: 4096
Maximum number of tokens in the generated response.
Example: Creating a Basic Agent
Create a simple agent for extracting invoice information:Response Format
Example: Creating an Agent with Custom Schema
For more control over output structure, provide a custom JSON schema:Response Format
Best Practices
- Clear Prompts: Write specific, unambiguous prompts describing exactly what to extract
- Schema Definition: Define JSON schemas for complex structures to ensure type safety
- Temperature Control: Use low temperature (0.0-0.2) for consistent extraction tasks
- Field Naming: Use clear, descriptive field names in your JSON schema
- Testing: Test agents with sample documents before production deployment
Try Agent Creation
Create and manage your agents in the VLM Run platform