Repolode
tao12345666333

tao12345666333/ankaloop

A batteries-included Python coding-agent runtime usable from the terminal, an HTTP/WebSocket server, and Telegram.

Open-source alternative to:Claude Code

Stars
57
Forks
10
Open issues
0
Last commit
22 hours ago

What is it?

AnkaLoop is a Python coding agent that runs locally or on your own server. It ships with built-in tools for reading, searching, editing, and executing code, plus persistent sessions, project rules in AGENTS.md, and long-term memory, so work carries over beyond a single prompt.

The same core runtime is exposed through a CLI, a FastAPI HTTP/WebSocket server, and an optional Telegram bot. Built-in explorer, planner, coder, and focused_coder agents handle delegated subtasks, and MCP servers over stdio or HTTP/SSE extend the toolset. Skills, slash commands, and hooks let teams customize behavior per project.

It works with OpenAI, Anthropic, GMI, and any OpenAI-compatible endpoint, configured through a TOML file. OpenTelemetry tracing and cron-compatible automation jobs are also included.

Key features

  • 01Built-in tools for reading, searching, editing, patching, and running shell commands
  • 02Persistent sessions with searchable history and long-term memory
  • 03Multi-agent delegation to explorer, planner, coder, and focused_coder roles
  • 04MCP client support over stdio and HTTP/SSE
  • 05Skills, slash commands, and pre/post tool hooks configurable per project
  • 06HTTP/WebSocket server with cancellation and streaming, plus a Telegram bot

Use cases

  • Running a coding agent against a local repository from the terminal
  • Hosting a shared agent server that teammates attach to remotely
  • Chatting with a coding agent from Telegram while away from your machine
  • Adding internal tools to an agent via MCP servers

Quick start

  1. 1

    Install AnkaLoop from PyPI with pip

    python -m pip install ankaloop
  2. 2

    Configure a model provider with the interactive wizard

    anka init
  3. 3

    Start the agent in the current project

    anka

Things to know

  • Requires Python 3.11 or newer and credentials for a supported model provider.
  • Under active development, so interfaces may change.

In collections

Topics

FAQ

What is ankaloop?
A batteries-included Python coding-agent runtime usable from the terminal, an HTTP/WebSocket server, and Telegram. AnkaLoop is a Python coding agent that runs locally or on your own server. It ships with built-in tools for reading, searching, editing, and executing code, plus persistent sessions, project rules in AGENTS.md, and long-term memory, so work carries over beyond a single prompt.
Is ankaloop free to use? What license does it have?
ankaloop is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is ankaloop still maintained?
Actively maintained. The last commit to ankaloop was on Nov 6, 2026.
What can I use ankaloop for?
Running a coding agent against a local repository from the terminal Hosting a shared agent server that teammates attach to remotely Chatting with a coding agent from Telegram while away from your machine Adding internal tools to an agent via MCP servers
How do I install ankaloop?
Install AnkaLoop from PyPI with pip: python -m pip install ankaloop Configure a model provider with the interactive wizard: anka init Start the agent in the current project: anka
Where can I get ankaloop?
The source code and installation instructions are on GitHub: https://github.com/tao12345666333/ankaloop

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects