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

# Supermemory code RAG

> Supermemory के साथ retrieval-augmented सलाह के लिए code index करें।

सामान्य memories opt-in और अपरिवर्तित रहती हैं। Retrieval-augmented सलाह के लिए code को स्पष्ट रूप से index करने के लिए, उपयोग करें:

```bash theme={null}
arka supermemory remember-code src/arka/router.py
arka supermemory remember-code src/arka/router.py --chunk-lines 160
```

Arka file path, language, line ranges, `code` tags, और project trust metadata के साथ bounded chunks store करता है। यह पूरे repository को चुपचाप upload किए बिना targeted retrieval में सुधार करता है। Cloud mode का उपयोग करने से पहले अपनी privacy और API settings की समीक्षा करें; `MEMORY=local` chunks को local रखता है।


## Related topics

- [Arka troubleshooting: LLM, routing, voice, और RAG fixes](/hi/reference/troubleshooting.md)
- [AI agent guide — MCP पर Arka उपयोग करें](/hi/guides/ai-agents.md)
- [Supermemory sync के साथ दीर्घकालिक मेमोरी](/hi/guides/memory.md)
- [Repo map](/hi/guides/repo-map.md)
- [Arka अन्य agents की तुलना में कैसा है](/hi/concepts/comparison.md)
