Documentation menu

Documentation

Documentation

How to install, run, and extend elelem, from the first chat to the full plugin API.

elelem is a coding agent harness: an agent loop, a plugin system, and very little else. The core gem is under 1,000 lines of Ruby. Providers, tools, and slash commands come from plugins.

These pages describe elelem 0.13.0. Every signature and default on them comes from the source.

How the docs are organized #

Start. Install elelem and talk to a model.

  • Introduction: what elelem is, what it is not, and the principles behind it.
  • Installation: Ruby 4.0, the gems, and how to check that it works.
  • Quickstart: a first chat with a real model.

Concepts. How the pieces fit together.

  • How it works: the agent loop, step by step.
  • Providers: the one method a provider implements, and how -p NAME finds it.
  • Tools and commands: the toolbox, hooks, aliases, validation, and slash commands.
  • Plugins: what a plugin is, where elelem looks for one, and in what order.
  • Context: the system prompt, AGENTS.md, and the .agents directory.

Reference. Look things up.

If you want to write a plugin, read Plugins and then keep Plugin API open.

Start

Concepts

Reference