Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,15 @@ Follow our [Platform quickstart](https://docs.minitap.ai/mobile-use-sdk/platform

Available models: `MiniMax-M2.7` (200K context, recommended), `MiniMax-M2.7-highspeed` (200K context, faster inference).

> [!NOTE]
> If you want to use Anthropic Claude, set `ANTHROPIC_API_KEY` in your `.env`.
>
**Using Anthropic Claude:**

[Anthropic](https://www.anthropic.com/) provides Claude — a capable, safety-focused model family. To use it:

1. Set `ANTHROPIC_API_KEY` in your `.env`
2. Copy the contents of the `anthropic` preset object from `llm-config.defaults.jsonc` into your `llm-config.override.jsonc`, or set `"provider": "anthropic"` on individual agent nodes.

Available models: `claude-sonnet-4-6` (200K context, recommended), `claude-haiku-4-5-20251001` (200K context, faster/cheaper).

> [!NOTE]
> If you want to use Google Vertex AI, you must either:
>
Expand Down
62 changes: 62 additions & 0 deletions llm-config.defaults.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,68 @@
// }
}
},
// Anthropic preset – uses Claude Sonnet 4.6 (capable, 200k context) with Haiku 4.5 as a
// fast/cheap fallback. To use it, copy the contents of this object into llm-config.override.jsonc.
"anthropic": {
"planner": {
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"fallback": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001"
}
},
"orchestrator": {
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"fallback": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001"
}
},
"cortex": {
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"fallback": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001"
}
},
"executor": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001",
"fallback": {
"provider": "anthropic",
"model": "claude-sonnet-4-6"
}
},
"contextor": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001",
"fallback": {
"provider": "anthropic",
"model": "claude-sonnet-4-6"
}
},
"utils": {
"hopper": {
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"fallback": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001"
}
},
"outputter": {
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001",
"fallback": {
"provider": "anthropic",
"model": "claude-sonnet-4-6"
}
}
}
},
// MiniMax preset – uses MiniMax M2.7 and M2.7-highspeed (200k context).
// To use it, copy the contents of this object into llm-config.override.jsonc.
"minimax": {
Expand Down
1 change: 1 addition & 0 deletions minitap/mobile_use/services/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def get_anthropic_llm(
model_name=model_name,
api_key=settings.ANTHROPIC_API_KEY,
temperature=temperature,
max_tokens=8192, # type: ignore[call-arg] # field aliased to max_tokens_to_sample
max_retries=2,
timeout=None,
stop=None,
Expand Down
Loading