How to Use Command R (08-2024) in Google Antigravity
Command R (08-2024) suits document-based answers, multilingual support, and focused tool tasks. Compared with Command R (03-2024), it improves multilingual retrieval and tool use, with better control over answer length and formatting.
Prompts to try with Command R (08-2024) in Google Antigravity
Copy an example into Google Antigravity, or ask in your own words.
Use Command R (08-2024) to answer how authentication works from this project's README and authentication documentation. Cite file paths and relevant passages, and list anything the documentation leaves unclear.
Use Command R (08-2024) to explain the function selected in the editor. Describe its inputs, outputs, side effects, and error handling in under 500 words.
Use Command R (08-2024) to rewrite the selected function to remove duplicated validation while preserving its behavior and public signature. Return the proposed code and a short explanation of the change.
Use Command R (08-2024) to compare this project's API documentation with the selected implementation. Produce a table of discrepancies with file references and supporting excerpts.
Use Command R (08-2024) to draft a Spanish explanation of the setup concepts described in this project's README. Preserve command names and code identifiers, and keep the explanation under 400 words.
How to set up Command R (08-2024) in Google Antigravity
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Open the MCP config
* Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.
- Add the server
Add Spiral under mcpServers:
{ "mcpServers": { "spiral": { "serverUrl": "https://api.spiral.ai/mcp" } } } - Sign in
In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.
Use the Spiral skill
- Send Google Antigravity this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Command R (08-2024)
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "cohere/command-r-08-2024", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Google Antigravity finds Command R (08-2024) on Spiral, shows the price and runs it.
Command R (08-2024) providers and prices
Spiral runs Command R (08-2024) through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.003128 per run at the default inputs. $0.195 per 1M input tokens, $0.78 per 1M output tokens.
Settings you can ask for
Ask Google Antigravity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 4000 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Cohere: Command R (08-2024) is on its tool page: open its card above.
What can you do with Command R (08-2024) in Google Antigravity?
Turn project documentation into source-based answers and get explanations or focused code rewrites. Give Command R (08-2024) the relevant files and a defined task, especially when changing existing code.
Knowledge-base answers
Answer a specific question from retrieved help articles, identify supporting passages, and flag missing evidence.
Multilingual support drafts
Draft a response in Spanish, French, Japanese, or another optimized language using supplied support guidance.
Meeting summaries
Turn a text transcript into decisions, action items, and open questions without inventing owners or deadlines.
Code explanations and rewrites
Explain a supplied function or rewrite it against explicit requirements, keeping the request focused on a defined change.
Document comparisons
Compare two supplied policy or product descriptions and cite passages that establish each difference.
Support record lookups
Use a focused lookup tool to retrieve a support record, then summarize the returned status and next step.
Source-based briefings
Condense retrieved updates into a short briefing with source references and a separate list of unresolved questions.
More on Command R (08-2024) and Google Antigravity
Command R (08-2024) in other agents
More Google Antigravity guides
Questions about Command R (08-2024) in Google Antigravity
Can Google Antigravity use Command R (08-2024)?
Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Command R (08-2024) like any built-in tool.
How much does Command R (08-2024) cost in Google Antigravity?
Up to $0.003128 per run at the default inputs. $0.195 per 1M input tokens, $0.78 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.
Do I need an OpenRouter account to use Command R (08-2024) in Google Antigravity?
No. Spiral runs Command R (08-2024) on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Command R (08-2024) in Google Antigravity?
About two minutes: open the MCP config, then add the server, then sign in.
Does Google Antigravity wait while Command R (08-2024) runs?
Command R (08-2024) runs in the background. Google Antigravity starts the run, checks on it and gives you the text, json when it's ready.
What is Command R (08-2024) good at?
It suits answers grounded in retrieved documents, multilingual support, and focused tool tasks. Practical uses include knowledge-base answers, summaries, and code explanations.
How much text can Command R (08-2024) handle?
It has a 128,000-token context window and can generate up to 4,000 tokens per response. For longer deliverables, request separate sections.
Which languages does Command R support?
Its optimized languages are English, French, Spanish, Italian, German, Brazilian Portuguese, Japanese, Korean, Simplified Chinese, and Arabic.
Is Command R (08-2024) useful for coding?
Use it for code explanations, requested snippets, and rewrites with clear instructions. Cohere warns that pure code completion may perform poorly.
How does Command R compare with Command R+?
Cohere positions Command R for simpler document retrieval and single-step tool tasks. It recommends Command R+ for complex retrieval and workflows involving multiple tool steps.
Start using Command R (08-2024) in Google Antigravity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Google Antigravity:
set up https://spiral.ai/SKILL.md


