Overview of incur features
mainincur is a CLI framework designed for agentic workflows with the following core features:
- Agent discovery: Built-in Skills and MCP sync (
skills add,mcp add) for automatic agent discovery. - Session savings: Optimized to use up to 3× fewer tokens per session compared to MCP or skill alternatives.
- Call-to-actions: Suggests next commands to both agents and humans after a run.
- TOON output: A token-efficient default output format optimized for agent parsing. Supports JSON, YAML, Markdown, and JSONL alternatives.
--llmsflag: Provides a token-efficient command manifest in Markdown or JSON schema.- Well-formed I/O: Uses schemas for arguments, options, environment variables, and output.
- Inferred types: Provides generic type flow from schemas to
runcallbacks without manual annotations. - Global options: Every CLI automatically includes
--format,--full-output,--help,--json,--update, and--version. - Standalone binaries: Supports building macOS, Linux, and Windows executables.
- Light API surface: Minimalist API consisting of
Cli.create(),.command(), and.serve(). - Middleware: Composable before/after hooks with typed dependency injection via
cli.use().