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

# Engineering loops

> Bounded plan, implement, verify, review, और learn loops।

Arka में एक छोटा, पुनः उपयोग योग्य engineering-loop planner शामिल है, जो
[loop-engineering](https://github.com/cobusgreyling/loop-engineering) में वर्णित
iterative workflow से प्रेरित है। यह Arka के मौजूदा repository, lint, CI,
frontend, और review skills को compose करता है; यह repository-specific कोड
copy नहीं करता।

```bash theme={null}
arka loop-engineering "improve checkout error handling" --iterations 3
```

प्रत्येक iteration `observe → plan → implement → verify → review → learn` का
पालन करता है। Loop 20 iterations तक capped है, इसमें एक CI gate शामिल है, और
default रूप से edits से पहले approval की आवश्यकता होती है। `--apply` का उपयोग
केवल तब करें जब आप plan की समीक्षा कर चुके हों; `--json` से किसी दूसरे skill या
MCP client के लिए इसे consume करना आसान हो जाता है।

प्राकृतिक भाषा भी काम करती है:

```text theme={null}
engineering loop fix the checkout frontend for 2 iterations
```

यह `arka loop` से अलग है, जो एक command को time interval पर दोहराता है, और
`arka iterate` से भी, जो एक command को fixed संख्या में दोहराता है।


## Related topics

- [Developer loop](/hi/guides/dev.md)
- [Iterate और loop](/hi/guides/iterate-loop.md)
- [Self-improve loop](/hi/guides/self-improve.md)
- [AI agent guide — MCP पर Arka उपयोग करें](/hi/guides/ai-agents.md)
- [Meme templates](/hi/guides/meme-templates.md)
