Documentation Index
Fetch the complete documentation index at: https://askui-docs-streamline-documentation.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Default
No configuration needed. AskUI auto-selects optimal model:
with VisionAgent() as agent:
agent.act("Fill the login form")
Custom Model
with VisionAgent(model="claude-sonnet-4-20250514") as agent:
agent.act("Complete checkout")
# Or per command type
with VisionAgent(model={
"act": "claude-sonnet-4-20250514",
"get": "askui",
"locate": "askui-combo",
}) as agent:
agent.act("Search for flights")
AskUI Models
| Model | Use Case |
|---|
askui | Auto-select (recommended) |
askui-pta | UI element detection |
askui-ocr | Text recognition |
askui-combo | Combined PTA + OCR |
Third-Party Providers
Anthropic
export ANTHROPIC_API_KEY="sk-ant-..."
AWS Bedrock
export ASKUI_MODEL_PROVIDER="bedrock"
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
Google Vertex AI
export ASKUI_MODEL_PROVIDER="vertex"
export GOOGLE_CLOUD_PROJECT="your-project"
OpenRouter
export ASKUI_MODEL_PROVIDER="openrouter"
export OPENROUTER_API_KEY="..."