hermes-agent-abacus-ai

by ZoniBoy00Verified

Abacus AI image generation plugin for Hermes Agent - FLUX, DALL-E, MidJourney and 20+ models

0
Stars
0
Forks
Python
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/ZoniBoy00/hermes-agent-abacus-ai

Getting Started

Guides for using skills like hermes-agent-abacus-ai.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Abacus AI Image Generation Plugin for Hermes Agent

Version 2.1.1MIT License

⚡ Generate high-quality images directly in Hermes Agent using Abacus AI's RouteLLM API. Supports FLUX 2 Pro, Nano Banana Pro (up to 4K), DALL-E, MidJourney, and 20+ models.

Features

  • 🎨 20+ Image Models — FLUX 2 Pro, FLUX Pro Ultra, Nano Banana Pro (4K), MidJourney, DALL-E, and more
  • Native image_gen Provider — Works as a first-class Hermes image generation backend
  • 🖼️ Up to 4K Resolution — Nano Banana Pro supports 1080p, 2K, 4K
  • 🔄 Text-to-Image & Image-to-Image — Generate from prompts or edit existing images
  • Background Generation — Run image generation asynchronously and poll for results
  • 🛡️ Concurrency-Safe — Max 4 parallel API calls, exponential-backoff retry on 429/5xx
  • ♻️ Self-Cleaning Jobs — Finished jobs auto-removed after 24h, stale jobs marked failed
  • 💰 Cost-Effective — Uses your existing Abacus AI ChatLLM subscription credits
  • 🎯 Multi-Platform — Works in Telegram, Discord, CLI, and all Hermes surfaces
  • 📦 Modular Code — Clean separation into provider, config, models, utils, and background modules
  • Tested — 74 unit tests covering provider, credentials, models, image validation, retries, and background jobs

Prerequisites

Installation

Option 1: Install via Hermes Agent (recommended)

Copy and paste this prompt to your Hermes Agent (Telegram, Discord, or CLI). It will clone the repo, copy the files, configure everything, and restart the gateway automatically:

Install the Abacus AI image generation plugin v2.1.0 from the public GitHub repo https://github.com/ZoniBoy00/hermes-agent-abacus-ai. Clone the repo to /tmp, copy the abacus_ai/ directory to ~/.hermes/plugins/image_gen/abacus_ai/, enable image_gen/abacus_ai in plugins.enabled in config.yaml, set image_gen.provider to abacus_ai, configure custom_providers with name abacus-ai using my API key, then restart the gateway.

Make sure you have your Abacus AI RouteLLM API key ready — Hermes will ask for it during installation.

Option 2: Manual Install

  1. Clone the repository:
git clone https://github.com/ZoniBoy00/hermes-agent-abacus-ai.git /tmp/hermes-agent-abacus-ai
  1. Copy the abacus_ai/ directory to your Hermes image_gen plugins folder:
cp -r /tmp/hermes-agent-abacus-ai/abacus_ai ~/.hermes/plugins/image_gen/abacus_ai/
  1. Enable the plugin in ~/.hermes/config.yaml:
plugins:
  enabled:
    - image_gen/abacus_ai
  1. Set the image generation provider:
hermes config set image_gen.provider abacus_ai
  1. Configure your Abacus AI API key:
custom_providers:
  - name: abacus-ai
    key_env: ABACUS_AI_API_KEY
    base_url: "https://routellm.abacus.ai/v1"
  1. Restart the Hermes gateway:
systemctl --user restart hermes-gateway

Option 3: Install via pip

pip install git+https://github.com/ZoniBoy00/hermes-agent-abacus-ai.git

Then enable the plugin in ~/.hermes/config.yaml and restart.

Cleanup (optional)

rm -rf /tmp/hermes-agent-abacus-ai

Plugin Structure

abacus_ai/
├── __init__.py       # Plugin registration (register provider + background tools)
├── provider.py       # ImageGenProvider implementation (generate, extract)
├── config.py         # Credential and config resolution
├── models.py         # Model catalog and aspect ratio helpers
├── utils.py          # Image URL conversion and format detection
├── background.py     # Background image generation (async jobs)
└── plugin.yaml       # Plugin manifest (kind: backend)
tests/
├── __init__.py
├── conftest.py       # Test fixtures and mocks
├── test_utils.py     # Utility function tests
├── test_provider.py  # Model, credential, and aspect ratio tests
└── test_background.py # Background job tests

Background Generation

In addition to synchronous image generation, the plugin provides two background tools:

image_generate_background

Start an image generation job that runs in the background. Returns immediately with a job_id.

  • Supports single prompts and batch mode (multiple jobs via jobs array)
  • Batch items run in parallel (capped at 4 concurrent API calls overall, max 16 jobs per batch)
  • Each batch item supports prompt, aspect_ratio, model, quality, resolution, num_images, and rewrite_prompt
  • Job state is persisted to $HERMES_HOME/cache/abacus_ai_jobs/<job_id>/
  • Finished jobs are auto-removed after 24 hours; jobs stuck in running for over 30 minutes (e.g. after a gateway restart) are marked failed
  • API calls retry transient failures (429, 5xx) with exponential backoff

image_generate_background_status

Poll for the result of a background job:

  • Returns "status": "running" while the job is in progress
  • Returns "status": "completed" with the result when done
  • Returns "status": "failed" on error

Configuration

Environment Variables

VariableDescriptionDefault
ABACUS_AI_API_KEYYour Abacus AI RouteLLM API key
ABACUS_AI_BASE_URLAPI base URLhttps://routellm.abacus.ai/v1
ABACUS_AI_IMAGE_MODELDefault image model overrideflux2_pro
ABACUS_AI_TIMEOUT_SECONDSPer-request API timeout300
ABACUS_AI_MAX_RETRIESMaximum attempts for transient failures (1-6)3

Config File

image_gen:
  provider: abacus_ai
  abacus_ai:
    model: flux2_pro  # default model

Available Models

Model IDDisplay NameBest For
nano_banana_proNano Banana ProHighest resolution (up to 4K), Google DeepMind
flux_pro_ultraFLUX Pro UltraHighest quality, photorealistic
flux2_proFLUX 2 ProHigh quality, photorealistic (default)
flux2FLUX 2Fast, good quality
midjourneyMidJourneyArtistic, stylistic
dalleDALL-ECreative, strong prompt adherence

Usage

Once installed and configured, Hermes will use the Abacus AI provider automatically when generating images. Simply ask Hermes to create an image — the image_generate tool will use this provider by default.

Telegram / Discord

Generate an image of a cyberpunk city at night, neon lights, futuristic
Make a photorealistic render of a wooden cabin in the mountains
Create a digital art portrait of a wolf with glowing eyes
Generate a 4K image of northern lights — use Nano Banana Pro

CLI

hermes chat -q "Generate a beautiful landscape painting of northern lights over a lake"

Supported Parameters

The provider supports these optional image_config parameters:

ParameterTypeDescriptionDefault
num_imagesintegerNumber of images to generate (1-4)1
qualitystringQuality tier (low, medium, high)model-dependent
resolutionstringOutput resolution: 1080p, 2K, or 4K. Only works with nano_banana_pro model. Leave unset for model's default resolution.not set (model default)
rewrite_promptbooleanAuto-improve prompts for better resultstrue

Changelog

v2.1.1

  • Isolated tests from the host Hermes config so tests cannot use live Abacus credentials or make real API calls
  • Added environment-backed credentials via key_env and ${ENV_VAR} resolution
  • Restricted local reference files to validated image formats, safe names, and a 20 MB limit
  • Limited background batches to 16 jobs and prompts to 10,000 characters
  • Made the provider default model follow the configured model resolver
  • Added configurable timeout/retry limits, Retry-After support, and jittered backoff
  • Added development extras and Ruff CI checks

v2.1.0

  • Fixed crash when num_images is a non-numeric value (guarded conversion)
  • Added exponential-backoff retry for transient API failures (429, 5xx, network errors)
  • Background jobs: max 4 concurrent API calls, parallel batch execution, atomic status/result writes
  • Auto-cleanup: finished jobs removed after 24h, stale running jobs marked failed after 30min
  • job_id validation in status handler (blocks path traversal)
  • quality validated against low/medium/high; invalid values ignored
  • Correct file extension passed for content-fallback and inline_data image responses
  • Config load errors now logged instead of silently swallowed
  • Real generate() / _extract_image() test coverage (no more permanently skipped tests)

v2.0.0

  • Modular code structure (provider.py, config.py, models.py, utils.py, background.py)
  • Background image generation (image_generate_background + _status)
  • Nano Banana Pro support with up to 4K resolution
  • Unit test suite (37+ tests)
  • pip install support via pyproject.toml
  • Improved error handling and response parsing

v1.1.0

  • Rich requires_env format in plugin.yaml
  • Model-specific aspect ratio resolution
  • Image format detection (PNG, JPEG, WebP)

v1.0.0

  • Initial release with Abacus AI image generation
  • FLUX 2 Pro, DALL-E, MidJourney support

Credits & License

Built for Hermes Agent by ZoniBoy00.

Support

Frequently Asked Questions

What is hermes-agent-abacus-ai?

hermes-agent-abacus-ai is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ZoniBoy00. Abacus AI image generation plugin for Hermes Agent - FLUX, DALL-E, MidJourney and 20+ models. It has 0 GitHub stars.

Is hermes-agent-abacus-ai safe to use?

Yes. hermes-agent-abacus-ai passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install hermes-agent-abacus-ai?

Clone the repository with "git clone https://github.com/ZoniBoy00/hermes-agent-abacus-ai" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is hermes-agent-abacus-ai written in?

hermes-agent-abacus-ai is primarily written in Python. It is open-source under ZoniBoy00 on GitHub, so you can review or fork the full source.

Are there alternatives to hermes-agent-abacus-ai?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh hermes-agent-abacus-ai against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details