Ocr Agent • AI Agent SDK

OCRAgent – A specialized agent class for OCR (Optical Character Recognition).

ocr_agent

AI Agent

OCRAgent – A specialized agent class for OCR (Optical Character Recognition). Extracts text from documents and images using AI models.

Follows the Agent() class patterns:

  • Precedence Ladder: Instance > Config > Array > Dict > String > Bool > Default
  • Lazy imports for LiteLLM (zero overhead until first use)
  • Async-safe with both sync and async methods

Import

python
from praisonaiagents.agent import ocr_agent

Classes


Related Documentation