Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
CLI framework for agents and humans
| Date | Stars |
|---|---|
| 2026-07-31 | 581 |
| 2026-08-06 | 587 |
Today
+6 stars today
This week
— stars this week
This month
— stars this month
Momentum
59.0
growth rate 0.00%/day
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset=".github/logo-light.svg">
<img alt="incur" src=".github/logo-light.svg" width="100%" height="140px">
</picture>
<br/>
<p align="center">
<a href="https://www.npmjs.com/package/incur">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/incur?colorA=21262d&colorB=21262d&style=flat">
<img src="https://img.shields.io/npm/v/incur?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
</picture>
</a>
<a href="https://app.codecov.io/gh/wevm/incur">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/codecov/c/github/wevm/incur?colorA=21262d&colorB=21262d&style=flat">
<img src="https://img.shields.io/codecov/c/github/wevm/incur?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Code coverage">
</picture>
</a>
<a href="https://github.com/wevm/incur/blob/main/LICENSE">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/incur?colorA=21262d&colorB=21262d&style=flat">
<img src="https://img.shields.io/npm/l/incur?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
</picture>
</a>
</p>
<p align="center">
<a href="#features">Features</a> · <a href="#quickprompt">Quickprompt</a> · <a href="#install">Install</a> · <a href="#usage">Usage</a> · <a href="#walkthrough">Walkthrough</a> · <a href="#license">License</a>
</p>
## Features
- [**Agent discovery**](#agent-discovery): built-in Skills and MCP sync (`skills add`, `mcp add`) so agents find your CLI automatically
- [**Session savings**](#session-savings): up to **3× fewer tokens** per session vs. MCP or skill alternatives
- [**Call-to-actions**](#call-to-actions): suggest next commands to agents and humans after a run
- [**TOON output**](#toon-output): token-efficient default format that agents parse easily, with JSON, YAML, Markdown, and JSONL alternatives
- [**`--llms` flag**](#agent-discovery): token-efficient command manifest in Markdown or JSON schema
- [**Well-formed I/O**](#well-formed-io): Schemas schemas for arguments, options, environment variables, and output
- [**Inferred types**](#inferred-types): generic type flow from schemas to `run` callbacks with zero manual annotations
- [**Global options**](#global-options): `--format`, `--full-output`, `--help`, `--json`, `--update`, `--version` on every CLI for free
- [**Standalone binaries**](#standalone-binaries): build macOS, Linux, and Windows executables with verified updates and initial installers
- [**Light API surface**](#light-api-surface): `Cli.create()`, `.command()`, `.serve()` – that's it
- [**Middleware**](#middleware): composable before/after hooks with typed dependency injection via `cli.use()`
## Quickprompt
Prompt your agent:
**Skills (recommended – lighter on tokens)**
```txt
Run `npx incur skills add`, then show me how to build CLIs with incur.
```
**MCP**
```txt
Run `npx incur mcp add`, then show me how to build CLIs with incur.
```
## Install
```bash
npm i incur
```
```bash
pnpm i incur
```
```bash
bun i incur
```
## Usage
### Single-command CLI
Pass `run` directly to `Cli.create()` for CLIs that do one thing.
```ts
import { Cli, z } from 'incur'
Cli.create('greet', {
description: 'A greeting CLI',
args: z.object({
name: z.string().describe('Name to greet'),
}),
run(c) {
return { message: `hello ${c.args.name}` }
},
}).serve()
```
```sh
$ greet world
# → message: hello world
```
```sh
$ greet --help
# greet – A greeting CLI
#
# Usage: greet <name>
#
# Arguments:
# name Name to greet
#
# Built-in Commands:
# completions Generate shell completion script
# mcp add Register as MCP server
# skills add Sync skill files to agents
#
# Global Options:
# --filter-output <keys> Filter output by key paths (e.g. foo,bar.baz,a[0,3Excerpt of 34,198 characters
Read on GitHub74
69
58
7
3
Brendan Ryan · @tempoxyz · United States
3
2
Derek Cofausper · @tempoxyz
2
Omar Aziz
1
1
1
1
1
King Star · Xin Era LLC.
1
1
Edu Wass
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:cb247d23c680bb3d, llm:Repository description: "CLI framework for agents and humans" (TypeScript).