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

# Iterate और loop

> Arka commands को count या interval के अनुसार दोहराएँ।

`iterate` bounded repetition है; यह ठीक N बार चलता है और फिर exit हो जाता है:

```bash theme={null}
arka iterate 5 "repo health"
```

`loop` interval-based है और interrupt होने तक चलता रहता है। जब आप cycles की
finite संख्या के साथ interval loop चाहते हैं तो `--count` जोड़ें:

```bash theme={null}
arka loop 300 "check repo health"
arka loop 60 --count 10 "run tests"
```

ये runners `arka goal` से स्वतंत्र हैं: वे plan नहीं करते, goals को mutate नहीं
करते, या autonomous progress persist नहीं करते।


## Related topics

- [Arka अन्य agents की तुलना में कैसा है](/hi/concepts/comparison.md)
- [AI agent guide — MCP पर Arka उपयोग करें](/hi/guides/ai-agents.md)
- [Engineering loops](/hi/guides/loop-engineering.md)
- [Workflow templates](/hi/guides/workflow-templates.md)
- [Symbolic और LLM routing pipeline](/hi/concepts/routing.md)
