# OpenCLI Agent Pack: Tesseract OCR

Use this when an AI agent needs to work with `tesseract`.

## What this CLI is for
Image OCR, scanned text, and document extraction from the terminal. Built by Tesseract OCR. Runs entirely on your machine.

Best for: image ocr, scanned text, and document extraction from the terminal.

## Agent readiness
Usable with guardrails (60/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.
- Can run locally with less credential exposure.

## Install
```sh
brew install tesseract
```

## Verify before real work
```sh
tesseract --version
```
Expected signal: tesseract responds locally and is ready for the first real command.

## Safe starting commands
```sh
tesseract --version
```

```sh
tesseract image.png stdout
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Network access is required; avoid leaking secrets in logs.

## Suggested agent instruction
You may use Tesseract OCR (`tesseract`) for image ocr, scanned text, and document extraction from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
