> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> Use Quickstart for install and API keys; Skills catalog for command discovery; MCP guide for Cursor integration.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# Local model optimization and setup

> Choose and configure a runnable local model for your hardware.

Preview a hardware-aware recommendation and setup command:

```bash theme={null}
arka model-optimizer recommend
arka model-optimizer setup --backend ollama
```

Apply the provider configuration explicitly with `--apply`:

```bash theme={null}
arka model-optimizer setup --backend ollama --apply
```

Use `vllm` for a configured GPU server or `lmstudio` for its OpenAI-compatible
desktop server. Arka does not download weights or start services implicitly.
It prints the next command so setup remains explicit and reversible.

For deployment previews, Arka supports Vercel, Netlify, Railway, Render,
Hugging Face Spaces, Cloudflare Workers, and GitHub Pages:

```bash theme={null}
arka deploy --platform huggingface --json
```


## Related topics

- [Prompt optimization](/guides/prompt-optimization.md)
- [Research optimization](/guides/optimization.md)
- [Easy AI model hosting setup](/guides/model-hosting.md)
- [Arka — AI terminal agent documentation](/index.md)
- [Configuration, env vars, and API key setup](/reference/configuration.md)
