Quick Start
MobileAgent Parameters
Required
Optional Parameters
Configuration Classes
AgentConfig
DeviceConfig
LoggingConfig
TracingConfig
TelemetryConfig
ToolsConfig
disabled_tools list disables click_at, click_area, and long_press_at. Enabling vision auto-unmasks click_at on both Android and iOS (non-normalized coordinates only); vision_only mode auto-unmasks all three. To enable click_area and long_press_at under standard vision, set disabled_tools: []. See Vision Mode for details.
CredentialsConfig
LLM Configuration
Single LLM (All Agents)
Per-Agent LLMs
manager- Planning (reasoning mode only)executor- Action selection (reasoning mode only)fast_agent- Fast Agent: Direct execution (XML tool-calling)app_opener- App launching helperstructured_output- Final output extraction
Custom Tools
Credentials
Dict Format (Recommended)
Config Format
Custom Variables
Structured Output
Custom Prompts
{{ instruction }}- User’s goal{{ device_date }}- Device date/time{{ app_card }}- App-specific instructions{{ state }}- Device state{{ history }}- Action history
Complete Example
YAML Config (CLI)
For CLI usage, createconfig.yaml:
Ollama profiles
Ollama profiles accept the same portablekwargs as other providers — max_tokens and context_window work consistently across providers, and Mobilerun translates them to Ollama’s native parameters at runtime.
CLI Overrides
--config PATH- Custom config file--device SERIAL- Device serial/IP--agent NAME- External agent to use. Not yet supported — reserved for future use.--provider PROVIDER- LLM provider (OpenAI, Ollama, Anthropic, GoogleGenAI, DeepSeek)--model MODEL- LLM model name--temperature FLOAT- LLM temperature--steps INT- Max steps--base_url URL- API base URL (for Ollama/OpenRouter)--api_base URL- API base URL (for OpenAI-like)--vision/--no-vision- Enable/disable vision for all agents--reasoning/--no-reasoning- Enable/disable reasoning mode--tracing/--no-tracing- Enable/disable tracing--debug/--no-debug- Enable/disable debug logs--tcp/--no-tcp- Enable/disable TCP communication--save-trajectory none|step|action- Trajectory saving level--ios- Run on iOS device