Quick Start
Get up and running with Doclayer in under 5 minutes.
1
Create Account & Get API Key
Sign up via the dashboard and create an API key
# 1. Go to https://dashboard.doclayer.ai to sign up
# 2. Navigate to Settings > API Keys
# 3. Create a new API key
# 4. Set it as an environment variable:
export DOCLAYER_API_KEY=dly_your_key_here2
Install CLI
Install the Doclayer CLI via pip
pip install doclayer-cli3
Process a document
Analyze with auto-classification (no agent required!)
# Auto-classify and analyze any document
doclayer files analyze contract.pdf --project proj_123
# Or specify an agent explicitly
doclayer ingest file invoice.pdf --project proj_123 --agent finance.invoice-summary --wait4
Batch process a folder
Process multiple documents at once
# Ingest entire folder with auto-classification
doclayer files ingest ./documents --project proj_123
# Results saved as sidecar files (document_Analysis.json)Available Agents
finance.invoice-summaryInvoice Processing
contracts.nda-summaryContract Analysis
legal.compliance-checkCompliance Checking
hr.cv-screenerResume Screening
Run doclayer agent list to see all 120 available templates.
Example Output
invoice-analysis.json
{
"document_id": "doc_12345",
"status": "completed",
"insights": {
"vendor": "Acme Corporation",
"invoice_number": "INV-2024-001",
"date": "2024-01-15",
"total": 6480.00,
"currency": "USD"
}
}