eli v0.3.0

Ease Lives Instantly

Hook-first AI agent framework in Rust. One pipeline for CLI, Telegram, and any channel you add.

Get Started View on GitHub →
terminal
$ eli chat
> summarize this repo
Eli is a hook-first agent framework with a 7-stage turn pipeline...
12 Hook Points
21+ Builtin Tools
3 Channels
5+ LLM Providers
How it works

One pipeline. Every channel.

01

Inbound

Messages arrive from any channel. Sessions are resolved, state is loaded from tape, and prompts are built from context.

02

Execute

The model runs with full tool access. Decisions are made, tools are called, and results accumulate in the agent loop.

03

Outbound

State is persisted to tape. Responses are rendered and dispatched back to the originating channel.

resolve_session load_state build_prompt run_model save_state render_outbound dispatch_outbound
Features

Built to extend. Hard to break.

🎣

Hook-First Architecture

12 hook points with last-registered-wins semantics. Builtins are just default plugins you can replace.

📡

Multi-Channel

CLI REPL, Telegram bot, Feishu/Slack/Discord via sidecar. Same pipeline everywhere.

📼

Tape System

Append-only conversation history with anchors, search, and forking. Context from tape, not session accumulation.

Skills

Markdown-defined capabilities with YAML frontmatter. Project, global, and builtin precedence layers.

🛠️

21+ Builtin Tools

Shell, filesystem, web fetch, subagent, tape operations, decisions. Extend with your own.

🧠

Provider-Agnostic LLM

OpenAI, Claude, GitHub Copilot, custom endpoints. Switch with one env var. No vendor lock-in.

Architecture

Two crates. Clean layers.

Click any module to see details. Watch data flow through the 7-stage pipeline.

Quick start

Up and running in minutes.

terminal
# Install from source
$ git clone https://github.com/cklxx/eli.git
$ cd eli && cargo build --release
$ cp env.example .env
# Run
$ eli chat                 # interactive REPL
$ eli run "summarize this"  # one-shot execution
$ eli gateway              # multi-channel listener

Ready to build your agent?

Clone the repo, write a hook, and ship. Eli handles the rest.

View on GitHub