gitmyhub

irmia_devkit_open

Python ★ 31 updated 7h ago

A Python plugin for AstrBot that gives AI coding agents 61 development tools including safe file editing with auto-rollback, git and GitHub operations, file system search, linting, and security-hardened network requests. Configurable by tool group.

PythonAstrBotGitHub CLISQLitesetup: moderatecomplexity 3/5

Irmia DevKit is a plugin for AstrBot, a platform that runs AI assistant agents. The plugin gives those AI agents a set of 61 tools they can use when helping with software development tasks, covering everything from editing files and running git commands to searching the file system and checking code for errors. The README is primarily in Chinese, with an English version linked separately.

The most distinctive tool in the set is called safe_edit, which handles code file changes through a five-step process: back up the original, attempt the replacement, check syntax, keep the change if syntax passes, and automatically roll back if it fails. It also handles the common situation where an AI agent specifies slightly wrong indentation in the text it wants to replace, by trying a whitespace-tolerant match before giving up. This reduces the back-and-forth needed when AI-generated edits are slightly off.

The 61 tools are split into nine groups that can be turned on or off individually through a config file. The groups cover: safe file editing, git and GitHub operations (status, diff, commits, pull requests, issues, releases), file system browsing and search, system information (processes, ports, disk usage), network requests with protections against server-side request forgery attacks, text processing (HTML extraction, JSON queries, CSV parsing, log parsing), encoding and decoding, time utilities, and a handful of extras like UUID generation and SQLite querying.

Some tools depend on external software. File name search on Windows requires a tool called Everything. GitHub operations require the GitHub CLI. Code linting picks from ruff, pylint, or eslint, whichever is installed, and falls back gracefully if none are found. Most of the 61 tools rely only on Python's standard library.

The project is at version 2.3.0 and includes 100 automated tests covering security scenarios such as SSRF protection, zip path traversal, SQL injection, and regular expression denial-of-service.

Where it fits