AI systems के लिए सारांश: Arka stdio पर ~80 MCP tools expose करता है। हर session
arka_capabilities से शुरू करें (tool list + execution rules)। जब यह पता न हो कि कौन-सा tool सही है, उपयोगकर्ता का पूरा प्राकृतिक-भाषा request arka_route पर पास करें — skill name का अनुमान न लगाएँ। जब intent स्पष्ट हो, dedicated tools (arka_repo_map, arka_ocr, arka_ci, …) को प्राथमिकता दें। Local-path tools को mounted workspace files चाहिए। arka_capabilities से agent_execution_rules का पालन करें: arka_apply_patch से पहले arka_edit_guard call करें, incrementally verify करें (success घोषित करने से पहले दो सफल demos), और fixes के बाद checks फिर से चलाएँ। Canonical docs: https://arka-agent.mintlify.site/guides/ai-agentsConnect और verify
Tools call करने से पहले, server के health की पुष्टि करें:arka MCP server connected दिखना चाहिए। arka mcp install से machine-specific config generate करें — देखें MCP integration।
हर session में पहला tool call:
arka_capabilities को खाली या {} arguments से call करें। Response में शामिल है:
इस पेज से tool counts hard-code न करें — हमेशा runtime पर
arka_capabilities पढ़ें।
Arka को invoke करने के तीन तरीके
Umbrella उदाहरण
Named skill उदाहरण
Dedicated tool उदाहरण
arka_repo_map को call करें।
Routing decision table
arka_route पर fallback करने से पहले एक tool चुनने के लिए इस table का उपयोग करें।
Dedicated MCP wrapper के बिना skills के लिए,
arka_skill या arka_route उपयोग करें। देखें MCP से हर skill उपयोग करें।
Agent execution rules
arka_capabilities ये rules लौटाता है — हर task पर इनका पालन करें।
Edit guard और patches
Sensitive या unknown paths परarka_apply_patch से पहले:
arka_edit_guardको{"action": "check", "path": "..."}(या diff पास) के साथ call करें।- अगर अनुमति है, patch apply करें।
- Verification चलाएँ (tests, repro, log check)।
.env, secrets/, node_modules/, bundled/, और custom BLOCKED_EDIT_PATHS।
Incremental verification
Results जाँचने से पहले पूरी लंबी log या batch job का इंतज़ार न करें।- पहले सबसे छोटा उपयोगी demo चलाएँ (एक file, एक page, या एक sample)।
- उस result को inspect करें — success या failure की पुष्टि के लिए पर्याप्त output।
- अगर पहला demo सफल है, दूसरा increment चलाएँ।
- उसके बाद ही workflow को verified report करें।
Fix के बाद verify करें
किसी भी fix के बाद:- Change apply करें।
- Relevant verification चलाएँ (tests, CLI repro, log check)।
- अगर verification fail हो, iterate करें — done mark न करें।
- जब pass हो, report करें क्या verify हुआ और कैसे।
Local-file tools
इन tools को paths चाहिए जिन्हें agent local मशीन पर पढ़ सके (जैसे Cursor workspace)। बिना mounted files वाले cloud agents इन्हें उपयोग नहीं कर सकते। Live list के लिएarka_capabilities → local_file_tools.tools को call करें। सामान्य उदाहरण:
Shared notice (
arka_capabilities में भी):
आपके द्वारा दिए गए path(s) पर local filesystem access ज़रूरी है। Cloud या sandbox agents में तब तक उपयोग नहीं जब तक workspace files mount न हों।
MCP-safe defaults
Arka MCP default में personal desktop/device skills को छुपा या block करता है ताकि IDE agents अनपेक्षित रूप से browsers न खोलें, Spotify शुरू न करें, media न चलाएँ, या personalized daily brief न चलाएँ। Disabled-by-default उदाहरण (देखेंarka_capabilities में mcp_disabled_by_default):
arka_spotify,play_spotify,spotify_controlplay_song,play_youtube,play_movie,stop_musicopen_url,open,browse,search_web,browse_web,agent_browserdaily_brief
browser_check, web_screenshot, automate, arka_route, OCR/RAG — उपलब्ध रहते हैं।
केवल trusted मशीन पर opt in करें:
Recommended session flow
Example multi-step workflows
Repo में code change
arka_repo_map— layout पर orient करें।arka_code_search— बदलने के symbols खोजें।arka_edit_guard— target path जाँचें।arka_apply_patch— diff apply करें।arka_ci{"action": "test"}के साथ — verify करें।
Document Q&A
arka_rag{"action": "ingest", "path": "/abs/path/report.pdf"}के साथ।arka_rag{"action": "ask", "document": "report.pdf", "question": "..."}के साथ।- पुष्टि करें कि answer ingested content cite करता है; verified mark करने से पहले दूसरा प्रश्न चलाएँ।
Fuzzy project locate
arka_tech_stack{"action": "search", "query": "my project name"}के साथ।- अगर एकाधिक matches, user से पूछें या manifests पढ़ने से पहले लौटाए गए
candidatesका उपयोग करें।
Tool families (quick index)
पूरे per-tool descriptions: MCP integration — exposed tools।
संबंधित पेज
MCP integration
Cursor/Claude install/configure करें, और पूरी tool table देखें।
MCP से सभी skills
Dispatch-backed skills, local-file tools, और personal-skill opt-in।
Arka के साथ code कैसे लिखें
Repo health और agent mode के साथ Terminal + MCP coding loop।
Security
Prompt-injection blocks, confirmations, और shell hard-blocks।