deepread-agent-setup
Installation
SKILL.md
DeepRead Agent Setup
Authenticate AI agents with the DeepRead OCR API using the OAuth 2.0 Device Authorization Flow (RFC 8628). After setup, the agent has a DEEPREAD_API_KEY environment variable and can use the DeepRead OCR skill.
How It Works
The device flow lets headless agents (no browser) authenticate securely:
Agent requests device code → User opens URL in browser → User approves → Agent receives API key
- Agent calls
POST https://api.deepread.tech/v1/agent/device/codeto get adevice_codeanduser_code - Agent displays the
user_codeand a verification URL to the user - User opens the URL in their browser, logs in, and enters the code
- Agent polls
POST https://api.deepread.tech/v1/agent/device/tokenuntil the user approves - Agent receives an
api_key(prefixedsk_live_) and stores it as theDEEPREAD_API_KEYenvironment variable
Only domain contacted: api.deepread.tech