> ## 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).
> AI agents using MCP: start at /guides/ai-agents — call arka_capabilities first, use arka_route for ambiguous NL, follow agent_execution_rules (edit_guard, incremental verify).
> Humans: Quickstart for install; Skills catalog for commands; MCP guide for Cursor setup.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# Configuration

> सुरक्षित, hardware-aware Arka defaults और first-run setup।

बिना कुछ लिखे recommended configuration का preview करें:

```bash theme={null}
arka setup --configure --json
```

इसे स्पष्ट रूप से apply करें:

```bash theme={null}
arka setup --configure --apply
```

Profile local-first और hardware-aware है। यह एक runnable local backend को
प्राथमिकता देता है, symbolic routing को पहले रखता है, fallback और local memory
enable करता है, और risky writes के लिए previews आवश्यक करता है। Missing cloud
credentials को एक सामान्य fallback condition के रूप में handle किया जाता है;
setup कभी भी secrets create या copy नहीं करता।

केवल Arka की managed configuration का inspect या reset करें:

```bash theme={null}
arka config show --json
arka config reset
```

Environment values और project `.env` values managed defaults पर वरीयता लेते
हैं। Profile apply करते समय मौजूदा values preserve की जाती हैं।

## एक configuration share करें

एक portable, safe-to-share bundle export करें:

```bash theme={null}
arka config share export --out arka-config-share.json
```

Bundle में managed defaults, model/provider preferences, और selected non-secret
environment values शामिल हैं। API keys, tokens, passwords, cookies, webhook
secrets, और अन्य credentials कभी export नहीं होते; उन्हें `required_env` के
अंतर्गत list किया जाता है ताकि recipient को पता चले कि उन्हें स्थानीय रूप से
क्या भरना है।

Import default रूप से preview-only है जब तक `--apply` pass न किया जाए:

```bash theme={null}
arka config share import arka-config-share.json --json
arka config share import arka-config-share.json --apply
```

प्राकृतिक भाषा भी काम करती है: "share my Arka config" एक share export पर
route करता है।


## Related topics

- [OAuth के माध्यम से Gmail और Google Calendar कनेक्ट करना](/hi/guides/google-workspace.md)
- [Supermemory sync के साथ दीर्घकालिक मेमोरी](/hi/guides/memory.md)
- [Configuration, env vars, और API key setup](/hi/reference/configuration.md)
- [Kalshi prediction markets](/hi/guides/kalshi.md)
- [Skills catalog: 70+ built-in Arka commands](/hi/guides/skills.md)
