ankaloop
Out-of-the-box coding-agent runtime for terminal, IDE, server, and Telegram: built-in tools, subagents, skills, memory, MCP/ACP, hooks, and automation.
Install / Use
npx skills add tao12345666333/ankaloopInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
AutomationSupported Platforms
Our assessment of ankaloop
ankaloop scores 86/100 on our quality scale, 1412th of 2,864 Automation skills we index (top 50%).
Its Other is 10 KB long, well organised into 30 sections with 16 code examples: a thorough specification that gives an agent plenty to work with.
It has 51 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 4 days ago, so ankaloop is actively maintained.
- Our last check on 2026-09-28 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
ankaloop compared with similar skills
All 4 of these similar skills score higher than ankaloop; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ankaloop (this skill)by tao12345666333 | 86 | 51 | 4d ago | Other |
| Agent-Reachby Panniantong | 100 | 87.5k | 16d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.2k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.2k | today | CLAUDE.md |
Frequently asked questions
- How do I install ankaloop?
- Run
npx skills add tao12345666333/ankaloop. The install tabs above show the steps for each supported agent. - Which AI agents does ankaloop work with?
- It is written for Universal, as a Other file. Other agents that read the same format can often use it too.
- Is ankaloop safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ankaloop still maintained?
- The repository was last updated 4 days ago, so ankaloop is actively maintained.
Skill content
View source on GitHubAnkaLoop is for developers who want a useful coding agent now—not another framework to assemble. It combines a capable tool loop, persistent context, multi-agent delegation, skills, memory, MCP, hooks, and automation in one Python package that you can run locally or self-host.
python -m pip install ankaloop
anka init
anka
Why AnkaLoop
- Useful on the first run — read, search, edit, patch, and execute code with built-in tools.
- Persistent by design — sessions, searchable history, project rules, and long-term memory survive beyond a single prompt.
- One runtime, multiple surfaces — use the same agent from the CLI, an HTTP/WebSocket server, or Telegram.
- Built for real tasks — context compaction, progress events, cancellation, bounded tool use, and provider retries make long-running work observable and controllable.
- Multi-agent without plumbing — delegate focused work to built-in explorer, planner, and coder agents.
- Open and extensible — add MCP servers, reusable skills, slash commands, hooks, and custom agent specifications without replacing the built-in experience.
- Provider-flexible — connect to OpenAI, Anthropic, GMI, or any OpenAI-compatible endpoint.
Quick start
AnkaLoop requires Python 3.11+ and credentials for a supported model provider.
Install from PyPI
# Install the latest stable release
python -m pip install ankaloop
# Configure a provider, then start in the current project
anka init
anka
# Or run one task and exit
anka --once "summarize this repository and suggest the next test to run"
The package installs both anka (recommended) and ankaloop commands.
Run without installing
uvx ankaloop init
uvx ankaloop
Install optional Telegram support
python -m pip install "ankaloop[telegram]"
anka telegram setup
What is included
| Area | Capabilities |
| --- | --- |
| Coding loop | File reading and search, patching and writing, shell execution, planning, todos, and subagent tasks |
| Context | Persistent sessions, AGENTS.md rules, progressive loading, and smart compaction |
| Memory | Durable facts, episodic history, persona files, and full-text session search |
| Agents | Built-in coder, explorer, planner, and focused_coder roles |
| Interfaces | Rich terminal UI, FastAPI HTTP/WebSocket server, and Telegram bot |
| Research | Built-in web search/fetch plus MCP integration over stdio and HTTP/SSE |
| Extensions | Skills, slash commands, hooks, custom YAML agent specs, and an event bus |
| Automation | Cron-compatible jobs for systemd, Kubernetes, and external schedulers |
How it fits together
CLI ───────────────┐
HTTP / WebSocket ──┼──▶ Agent runtime ──▶ Tools / MCP ──▶ Your project
Telegram ──────────┘ │
├── Sessions & memory
├── Skills & project rules
└── Subagents
All interfaces use the same core runtime. Conversation state is persistent, while project rules, skills, and memory provide context across requests.
Usage
# Chat and one-shot tasks
anka
anka --once "create a hello.py file"
anka -t explorer --once "find all TODO comments"
anka --agent path/to/agent.yaml
# Sessions and agents
anka --session my-session
anka --list-sessions
anka --list-types
anka --clear
# MCP
anka mcp tools --server custom
anka mcp call --server custom --tool example_tool --args '{"query":"rust async"}'
# Server and remote client
anka serve
anka attach http://localhost:8080
# Telegram
anka telegram setup
anka telegram start
Run anka --help or anka <command> --help for the complete command reference.
Configuration
Run anka init for the interactive provider wizard. Configuration lives in
~/.config/ankaloop/config.toml. Set ANKA_CONFIG_DIR_NAME=amcp to keep the legacy
~/.config/amcp/ path from pre-rebrand deployments.
OpenAI-compatible endpoint
[chat]
active_provider = "primary"
[chat.providers.primary]
api_type = "openai"
base_url = "https://api.example.com/v1"
model = "provider/model-name"
Keep credentials out of version control and provide the key through the environment:
export OPENAI_API_KEY="your-api-key"
anka --once "explain the architecture of this repository"
You can define multiple [chat.providers.<name>] profiles. Telegram administrators can list them
with /models and switch the active profile with /model use <name>.
[chat]
request_timeout_seconds = 120
max_retries = 2
retry_base_delay_seconds = 0.5
tool_loop_limit = 300
bash_tool_limit = 100
default_max_lines = 400
mcp_tools_enabled = true
write_tool_enabled = true
edit_tool_enabled = true
sync_tool_settle_timeout_seconds = 2.0
default_agent = "coder"
[context]
progressive_tools = true
progressive_skills = true
response_ratio = 0.30
</details>
<details>
<summary><strong>MCP servers</strong></summary>
# HTTP/SSE transport
[servers.remote]
url = "https://example.com/mcp"
# stdio transport
[servers.local]
command = "npx"
args = ["-y", "@some/mcp-server"]
Configured tools are exposed as mcp__<server>__<tool>. Tool names are normalized for providers
with strict function-name requirements.
See the quick-start guide, skills and commands guide, and hooks guide for more configuration examples.
Multi-agent runtime
| Agent | Mode | Purpose |
| --- | --- | --- |
| coder | Primary | General coding agent with write access and delegation |
| explorer | Subagent | Fast, read-only codebase exploration |
| planner | Subagent | Read-only analysis and implementation planning |
| focused_coder | Subagent | Bounded implementation of a specific change |
Select an agent with anka -t <name>. Primary agents can use the task tool to delegate
independent work to subagents.
Skills, commands, and hooks
- Skills inject reusable instructions and resources only when relevant.
- Slash commands turn repeatable prompts into
/commandshortcuts with arguments, shell output, and file references. - Hooks validate, modify, block, or audit tool calls before and after execution.
Project extensions live under .ankaloop/:
.ankaloop/
├── commands/ # TOML slash commands
├── hooks.toml # pre/post tool hooks
├── memory/ # project knowledge
└── skills/ # reusable SKILL.md packages
Self-hosted server
anka serve # loopback only, http://localhost:8080
anka serve --host 0.0.0.0 # requires authentication
anka attach https://agent.example # connect from another terminal
The server exposes session, prompt, streaming, cancellation, timeline, tool, and agent APIs. Visit
/docs on a running server for its OpenAPI interface.
Non-loopback binds require a server API key. Configure [server.auth] or pass --api-key; deploy
behind TLS or a trusted reverse proxy.
docker build -t ankaloop .
# Safe loopback-only default
docker run -it ankaloop serve
# Expose with authentication
docker run -p 8080:8080 \
-e ANKA_HOST=0.0.0.0 \
-e ANKA_API_KEY=repl…[redacted] \
ankaloop serve
</details>
For protocol details, see the client/server architecture and API compatibility notes.
Telegram
The optional Telegram integration supports direct messages, groups and topics, allowlists, pairing, streaming responses, bounded queues, cancellation, and session switching.
python -m pip install "ankaloop[telegram]"
anka telegram setup
anka telegram start
Shared commands include /new, /clear, /cancel, /session list, and
/session switch <id>.
Install from source
git clone https://github.com/tao12345666333/ankaloop.git
cd ankaloop
uv sync --extra dev --extra telegram
source .venv/bin/activate
Run the local quality suite:
ruff format --check src tests
ruff check src tests
mypy src/ankaloop --ignore-missing-imports
python -m pytest -q -m "not llm"
Tests marked llm make live provider calls and require credentials. See
CONTRIBUTING.md before opening a pull request.
Deployment
- Run the FastAPI server directly or package it with the included Dockerfile.
- Use the provided examples for Docker, Kubernetes, VM deployments, and GMI Cloud.
- Deploy AnkaLoop on GMI Cloud or use the maintainer's optional referral link.
Project status
AnkaLoop is under active development. Feedback, bug reports, documentation improvements, and focused pull requests are welcome.
- Open an issue
- Read the contributing guide
- If AnkaLoop is useful to you, consider starring the repository so more developers can find it.
License
Licensed under the Apache License 2.0.
Related Skills
Agent-Reach
87.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.2kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.7k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
CowAgent
47.2kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
