The project is in a healthy, maintained state
AI agents skills to be used for X-Aeon projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 2.18
~> 2.9
~> 1.5
~> 0.9
~> 6.0
~> 4.3
~> 3.1
~> 10.0
~> 1.14
 Project Readme

x_aeon_agents

Stop scaling models. Start engineering your AI agents.

AI coding agents shouldn't have to reinvent software engineering for every task.

Build Test Coverage GitHub stars License Gem Version Gem Total Downloads

x_aeon_agents turns coding agents into participants in explicit, repeatable software-engineering processes. Instead of hoping a model figures out how to develop software on the fly, you engineer the process: defined responsibilities, deterministic orchestration, artifacts with contracts, and enforced quality gates.

The result is better software development from the models you already have โ€” including inexpensive ones.

What you get

  • ๐Ÿงฉ Composable agents specialized by development responsibility โ€” planning, coding, testing, reviewing, documenting, delivering.
  • ๐Ÿ”— Explicit workflows with defined steps and artifact contracts, instead of one ever-growing prompt.
  • ๐Ÿงช Engineering practices built in โ€” tests, validation and documentation are steps of the process, not optional suggestions.
  • ๐Ÿ’พ Resumable, reproducible runs โ€” session ids, bounded runs, inspectable artifacts.
  • ๐Ÿ› ๏ธ Ready-to-use workflows through the xaa CLI, or as a Ruby library in your own code.
  • ๐Ÿ“š Reusable skills that package agent instructions and can be installed into other coding agents.

Read the engineering case ยท See the benchmarks ยท Quick start

Table of contents

  • Why engineer your agents?
  • Does it make a difference?
  • Features
    • Ready-to-use workflows
    • Framework capabilities
  • Quick start
    • Install
    • Configure
    • First commands
    • Credentials and side effects
  • Requirements
  • How it works
    • Layers
    • Agents, steps and artifacts
    • Workflow example
  • Who is this for?
    • What it is not
  • Extending the ecosystem
  • Public API
    • Command line
    • Ruby library
  • Contributing
  • Development
  • Documentation
  • License

Why engineer your agents?

Software development is not only a matter of intelligence. A large part of it is process: compilers, linters, tests, code review, CI, architectural rules. We don't ask human developers to remember every rule and personally guarantee every quality requirement โ€” we build processes that enforce them.

Coding agents usually get none of that. You give a model a task and it decides, at every run, whether to plan, whether to test, whether to document, and whether to commit. When it forgets something, nothing tells you.

One powerful agent Engineered workflow
Process Decided by the model at every run Written once, executed every run
Responsibilities Everything at once Specialized agents
Context One growing conversation Named artifacts with contracts
Quality Whatever the model remembers Steps in the process: tests, validation, review
Failure Silent: plausible output, missing work Explicit: failing gate or missing artifact
Cost Model must be good at everything Model must be good at one step

The engineered side is not "more agents". It is a written process executed by agents:

  1. Separation of responsibilities. Each agent has one remit. Narrow remits mean shorter instructions, more reliable prompts, and attributable failures.
  2. Explicit interfaces. Agents exchange named artifacts with declared contracts โ€” a plan, a diff, a test report โ€” instead of sharing an ever-growing conversation. Artifacts are inspectable, resumable, and can be reviewed by a human.
  3. Quality engineered into the workflow. Tests, validation, review and documentation are steps of the process. If a step can be enforced by a tool, it is enforced by a tool.

And it is not about maximizing the number of agents: splitting work has a cost. You add an agent when it buys isolation, a contract, or a quality gate.

Deeper read: workflow design ยท Stop Scaling Models. Start Engineering Your AI Agents.

Does it make a difference?

The approach is benchmarked in a separate, inspectable harness: agentic-dev-bench. Each scenario pins a public repository to a commit, creates a GitHub sandbox with an issue, runs an agent through a Harbor/Docker adapter, and grades the result.

First experiment โ€” the feature request was made on this repository itself (Muriel-Salvan/x_aeon_agents, commit agentic_dev_bench_test), and run with the same inexpensive model (nvidia/nemotron-3.5-lightning-free) in two different setups:

Configuration Outcome Time Delivered
Conventional cline-cli agent Failed โ‰ˆ 98 min, 208 steps No completed implementation, no Pull Request
x_aeon_agents workflow Completed โ‰ˆ 24 min Production code, tests, documentation and a Pull Request โ€” 2 commits, 8 files

The model was identical. The difference was the engineering around it.

Caveats, stated plainly: this is one scenario, with one run per configuration. It is an existence proof, not a ranking, and it is reported as such.

Methodology, verification, raw metrics and how to reproduce or contribute a scenario: docs/benchmarks.md ยท agentic-dev-bench

Features

Ready-to-use workflows

Every workflow is a xaa command, run from inside your repository.

Workflow What it accomplishes
xaa implement-issue <number> Reads a GitHub issue and its comments, implements it, commits and opens a Pull Request
xaa implement "<requirements>" Implements free-form requirements through planning, coding and testing; optionally commits and opens a Pull Request
xaa review-comments [pr_number] Reads review comments addressed to the agent, fixes the code and replies to each thread
xaa commit Generates a meaningful commit message for staged changes (staging strategy: all, if_empty, none)
xaa create-pr Pushes the branch and opens a Pull Request with an AI-written description
xaa start-task Creates a feature branch and a git worktree, pushes it upstream, and runs your on_open_worktree hook
xaa interpret-diffs [base] Summarizes the working-tree changes and the intent behind them
xaa generate-readme Regenerates a project README from the codebase, section by section
xaa generate-skills / xaa install-skills Generates skill files from ERB templates, and installs skills with their dependencies
xaa prompt "<text>" Sends a one-shot prompt to the AI backend

Framework capabilities

  • ๐Ÿงฉ Composable orchestration โ€” top-level agents decompose a job into steps and delegate them to specialized child agents.
  • ๐Ÿ”— Artifact contracts โ€” every input and output is a named artifact with a declared type, instead of conversation state.
  • ๐Ÿ’พ Resumable execution โ€” a global --session-id resumes a workflow; artifacts and traces live in a per-session directory.
  • ๐Ÿ” Configurable models and providers โ€” per-agent model selection, an .x_aeon_agents.rb config DSL, and a Cline/OpenRouter provider through RubyLLM.
  • ๐Ÿ“š Reusable skills โ€” agent instructions as Markdown, generated from ERB templates when you need them DRY.
  • ๐Ÿ‘€ Human in the loop โ€” generated content (commit messages, plans, PR descriptions) can be opened for review before the workflow continues, or auto-accepted with --no-interactive.
  • ๐Ÿงฑ Bounded runs โ€” timeouts, retry budgets and tool restrictions are defaults, not afterthoughts.
  • ๐Ÿช Project hooks โ€” setup_project, test_project_cmd and on_open_worktree let worktrees, tests and editors follow your project conventions.
  • ๐Ÿ“ฆ Reusable library โ€” the same agents are available programmatically from Ruby.

Quick start

Install

gem install x_aeon_agents

Or add it to your project's Gemfile:

gem 'x_aeon_agents'
bundle install

The xaa executable is installed alongside the gem. See Requirements for what must be present on your machine.

Configure

Export the credentials you need โ€” the CLI and the library read them automatically:

export OPENROUTER_API_KEY="sk-or-..."   # powers the AI agents
export GITHUB_TOKEN="ghp_..."           # only for workflows that talk to GitHub

For finer control, create an optional .x_aeon_agents.rb file in your home directory (~/.x_aeon_agents.rb, global) or in the project directory (project-level). It is evaluated at the start of every xaa command and lets you retrieve secrets from custom sources, define your project's setup and test commands, hook into the worktree lifecycle, and tune any agent class:

debug true

openrouter_api_key { File.read('/path/to/my/key').strip }

test_project_cmd 'bundle exec rspec --format=documentation'

configure_agent(:CoderAgent) do
  { model: 'deepseek/deepseek-v4-flash' }
end

Full DSL reference: docs/configuration.md ยท example file

First commands

# Check the installation
xaa version

# Ask a one-off question to the configured backend
xaa prompt "Summarize the purpose of this repository"

# Commit staged changes with an AI-generated message
xaa commit

# Implement a GitHub issue and open a Pull Request
xaa implement-issue 42

Every command documents its options: xaa help <command>.

Credentials and side effects

Not every workflow needs the same credentials โ€” and several of them modify your repository or your GitHub project. Read the right-hand columns before the first run.

Command Credentials Side effects
xaa version โ€” None
xaa prompt, xaa interpret-diffs Model key None
xaa commit Model key Creates a git commit
xaa generate-readme Model key Rewrites the README file
xaa generate-skills โ€” Writes generated skills to the output directory
xaa install-skills Network access Writes skills into your agent's skill directory
xaa start-task Git push credentials Creates a branch and a worktree, pushes upstream
xaa create-pr Model key, GITHUB_TOKEN, gh, git push credentials Pushes the branch and opens or updates a Pull Request
xaa implement Model key (plus GitHub credentials with --pr-base) Modifies files, commits with --commit, opens a Pull Request with --pr-base
xaa implement-issue Model key, GITHUB_TOKEN, gh, git push credentials Modifies files, commits, pushes and opens a Pull Request
xaa review-comments Model key, GITHUB_TOKEN, gh, git push credentials Modifies files, commits, pushes and replies to review threads

Model key = OPENROUTER_API_KEY, or CLINE_API_KEY when the Cline backend is used.

Requirements

  • Operating system โ€” any platform supported by Ruby (Linux, macOS, Windows). Linux environments tend to behave best with coding agents.
  • Ruby >= 3.1, with RubyGems/Bundler.
  • Git command-line client in PATH โ€” the agents operate on repositories, branches, worktrees and commits.
  • A Git repository โ€” xaa commands run from inside one.
  • Network access โ€” to reach the model provider and GitHub APIs.
  • OPENROUTER_API_KEY โ€” an OpenRouter API key, used by RubyLLM to power the AI agents.
  • CLINE_API_KEY (optional) โ€” only when driving the Cline agent integration instead of OpenRouter.
  • GITHUB_TOKEN (optional for local-only workflows) โ€” a GitHub personal access token used by Octokit for the workflows that read issues or review comments and create Pull Requests.
  • GitHub CLI (gh) (optional for local-only workflows) โ€” installed and authenticated for the Pull Request and review-comment workflows.

Each secret can alternatively be retrieved by custom code declared in the configuration file.

How it works

x_aeon_agents is a Ruby gem organized in three layers: a CLI, a set of orchestrating agents, and a shared core that glues them together.

Layers

bin/xaa โ†’ XAeonAgents::Cli (Thor) โ†’ Agents::* โ†’ Config, Helpers, GenHelpers, Providers, Logger
  • Every CLI command maps 1:1 to an agent class. The CLI only parses arguments, loads configuration and instantiates the workflow.
  • Agents are built on composable_agents: orchestrators run commands and coordinate child agents, while AI agents execute prompts against a provider.
  • A shared AgentDefaults mixin gives every agent its pipeline primitives, artifact contracts, resume support, session directory, bounded Cline run options and tool restrictions.
  • Configuration, secrets, Git/GitHub access and diff extraction are centralized, so agents never read the environment or shell out on their own terms.

Agents, steps and artifacts

A top-level agent decomposes its job into steps and delegates each one to a child agent. State moves through named artifacts (a plan, a diff, a test report, a commit message) that are declared with input and output contracts โ€” not through an accumulating conversation. That is what makes a run inspectable, resumable with --session-id, and reviewable by a human.

Workflow example

DeveloperAgent chains planning, coding, testing, committing, documenting and delivery:

flowchart TD
  CLI[XAeonAgents::Cli / xaa] -->|instantiates + run| A[Top-level Agent]
  A -->|task / step_agent| P[PlannerAgent]
  A -->|task / step_agent| C[CoderAgent]
  A -->|task / step_agent| T[TesterAgent]
  A -->|task / step_agent| K[CommitterAgent]
  A -->|task / step_agent| D[DocumenterAgent]
  A -->|task / step_agent| PR[PullRequestCreatorAgent]
  C -.->|artifacts| T
  T -.->|artifacts| K
  subgraph LLM[AI backends]
    C --> Prov[Cline / OpenRouter provider]
    T --> Prov
  end
  K --> Git[(Git + GitHub via Octokit)]
Loading

The chain is illustrative, not a fixed pipeline: the top-level agent decides which steps run and whether a step must be retried. The contracts of the steps are what stay stable.

More detail: architecture ยท configuration ยท workflow design

Who is this for?

  • Developers using AI coding agents who want development tasks to follow a repeatable process instead of a different improvisation every time.
  • Teams working with inexpensive or self-hosted LLMs who would rather improve results through orchestration than pay for a frontier model on every task.
  • Agent developers who want to build specialized, reusable workflows โ€” with contracts and gates โ€” rather than a single monolithic agent.
  • Open-source contributors interested in building and sharing software-engineering workflows, skills and benchmarks.

What it is not

x_aeon_agents is not another general-purpose autonomous coding agent. It is an engineering framework and a collection of workflows that structure how coding agents perform development tasks. You decide when to run them, on which branch, and with which model.

Extending the ecosystem

The framework is meant to be extended, and most extensions do not require being a Ruby expert:

  • Design a workflow โ€” decide the responsibilities, the artifacts crossing each boundary, and the quality gates; then implement the orchestrator. See workflow design.
  • Write a skill โ€” package a process as Markdown, generate it from an ERB template, and let agents follow it. See skill authoring.
  • Plug a model or a tool โ€” assign models per agent class in the configuration, or add a provider under lib/x_aeon_agents/providers/. See configuration.
  • Extend the benchmarks โ€” add paired scenarios to agentic-dev-bench so that claims stay testable. See benchmarks.

Public API

The public surface is the xaa executable and the Ruby methods tagged with YARD's Public API group. Everything else is internal and may change.

Command line

bin/xaa boots the gem and dispatches to XAeonAgents::Cli. Run it from inside a Git repository.

  • Global options: --session-id (resume a workflow), --debug, --interactive / --no-interactive.
  • Commands: each one is listed with its purpose in Ready-to-use workflows.
  • Per-command options: xaa help <command> is authoritative (for example xaa help implement-issue).
  • References: bin/xaa ยท RubyDoc โ€” XAeonAgents::Cli

Ruby library

require 'x_aeon_agents'

XAeonAgents::Config.configure(
  openrouter_api_key: ENV['OPENROUTER_API_KEY'],
  github_token: ENV['GITHUB_TOKEN']
)

# Trigger an agent programmatically
XAeonAgents::Agents::CommitterAgent.new.run

Public modules:

  • XAeonAgents::Config โ€” the configuration singleton: credentials, data directory, default Cline CLI arguments, debug and interactive flags. Methods: configure, cline_api_key, openrouter_api_key, github_token, data_dir, default_cline_cli_args, debug, interactive, config_paths, logger. RubyDoc
  • XAeonAgents::Logger โ€” the shared status-aware logger, available as XAeonAgents::Config.logger and inheriting from the standard Ruby Logger. Methods: add / log, <<. RubyDoc
  • XAeonAgents::GenHelpers โ€” the ERB templating DSL used to generate skills. Reference ยท RubyDoc
  • XAeonAgents โ€” agent_name, agent_signature and VERSION. RubyDoc

Related documentation: configuration file ยท skill authoring ยท full RubyDoc index

Contributing

Contributions are welcome โ€” and not only in Ruby:

  • Create or improve a workflow โ€” design the process, then the agents.
  • Write or improve a skill โ€” plain Markdown, generated from a template.
  • Expand the benchmarks โ€” paired scenarios that keep the claims honest.
  • Integrate models and tools โ€” providers, tool constraints, cost reporting.
  • Improve documentation โ€” tutorials, field reports, corrections.
  • Contribute code โ€” bug fixes, refactors, specs.

Start with CONTRIBUTING.md, which covers the working rules, the development environment, the quality gates and the release process. If you are unsure where your idea fits, open an issue and ask: workflows are architecture, and a written design is often worth more than a patch.

Development

git clone https://github.com/Muriel-Salvan/x_aeon_agents.git
cd x_aeon_agents
bundle install

bundle exec rspec --format documentation   # tests (coverage gate enforced)
bundle exec rubocop                        # style
bundle exec ruby bin/xaa --help            # run the CLI from the sources

The full development guide โ€” coverage threshold, YARD requirements, skill regeneration, worktree policy, conventional commits and the release pipeline โ€” lives in CONTRIBUTING.md.

Documentation

Resource What it covers
Architecture Layers, agent kinds, artifacts, orchestration, providers, testing seams
Workflow design Why engineer agents, the three principles, how to design and add a workflow
Configuration The .x_aeon_agents.rb file: lookup order, DSL methods, per-agent settings
Skill authoring Skill conventions, ERB templating, XAeonAgents::GenHelpers
Benchmarks Harness, first experiment, methodology, limitations, how to contribute scenarios
Contributing Contribution paths, environment, gates, commits, releases
RubyDoc.info Generated API reference
CHANGELOG Release history
agentic-dev-bench The benchmark harness, scenarios and run reports

License

This project is distributed under the BSD-3-Clause license. See LICENSE for the full terms and copyright information.