> ## 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 quantization

> Create smaller GGUF models with a safe preview-first workflow.

```bash theme={null}
arka quantize model-f16.gguf --output model-q4.gguf --type Q4_K_M
arka quantize model-f16.gguf --output model-q4.gguf --type Q4_K_M --run
```

The first command previews the `llama-quantize` command. `--run` is required to
execute it, and the output directory is created automatically. Install a
llama.cpp build exposing `llama-quantize` before running conversions.


## Related topics

- [Local model optimization and setup](/guides/local-models.md)
- [Integrations](/guides/integrations.md)
- [Security model and prompt-injection defenses](/concepts/security.md)
- [Arka — AI terminal agent documentation](/index.md)
- [MCP integration for Cursor and Claude](/guides/mcp.md)
