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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.