# CLIver [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/cliver-project/CLIver  
**GitHub Stars:** 9  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cliver

## Description
Embeddable Python LLM agent core with tools, Agent Skills, MCP, and media generation.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "cliver": {
    "command": "uvx",
    "args": ["cliver-core"]
  }
}
```

## Documentation

## What CLIver does

CLIver combines an embeddable agent engine with a companion command-line application. The `cliver-core` package exposes an agent loop that accepts Python model and tool configuration and returns messages or streamed events. It supports tool calling, Agent Skills, MCP connections, structured responses, context management, permission controls, and model bindings for chat, image, video, text-to-speech, speech recognition, embeddings, and reranking.

The `cliver` package builds a terminal interface on top of that core. It can execute one task per invocation or open a multi-turn streaming REPL. Both modes can request approval before tools that require it, while `--yes` approves ASK-gated tools without an interactive prompt.

## How it works

Applications create `ModelBindings`, open an `AgentCore` instance asynchronously, and call methods such as `chat()`, `stream()`, or `run_skill()`. The core has no dependency on the CLI, database, or configuration files; applications provide Python objects and receive messages or events.

Provider engines follow the OpenAI and Anthropic protocols, with support for compatible endpoints. Model bindings can be assigned by purpose, allowing separate models for chat, image generation, video generation, TTS, ASR, embeddings, and reranking. Reliability features include same-purpose failover, run deadlines, credential rotation, and schema-validated structured output with retries.

MCP connections support both stdio and streamable HTTP transports. Agent Skills can be loaded and selected through `FindSkills`, `ActivateSkill`, and `ReadSkillFile`. An opt-in selector can help choose tools and skills, with a fail-open behavior when selection is unavailable.

## Setup and configuration

The core library supports Python 3.10 through 3.13. Install it with:

```bash
pip install cliver-core
```

A minimal application creates a provider preset and opens the agent asynchronously:

```python
import asyncio
from cliver_core import AgentCore, ModelBindings, presets

async def main():
    bindings = ModelBindings(llm=presets.deepseek(api_key="..."))
    async with AgentCore.open(bindings) as agent:
        response = await agent.chat("Summarize this project.")
        print(response.message.content)

asyncio.run(main())
```

The CLI is installed separately:

```bash
pip install cliver
```

It reads `CLIVER_MODEL` and either a provider setting such as `CLIVER_PROVIDER` or a compatible `CLIVER_BASE_URL`. Credentials can be supplied through a provider-specific variable such as `DEEPSEEK_API_KEY` or through `CLIVER_API_KEY`. The CLI automatically loads `{config_dir}/.env`; `--cwd` selects the project root used for skill discovery, and `--skill NAME` runs a named skill.

Media models can be configured in `~/.cliver/config.json` under `models`, using keys such as `image`, `video`, `tts`, and `asr`. The CLI can then run commands including `image` and `asr`, and the agent can access corresponding media tools.

## Tools and capabilities

Built-in agent tools cover:

- File input and output
- Shell commands and code execution
- Grep and directory listing
- Todo tracking
- Web fetching
- Agent Skill discovery, activation, and file reading
- MCP tools over stdio or streamable HTTP
- Image generation, video generation, text-to-speech, and audio transcription when matching models are configured

The core also provides SAFE and ASK permission gates, environment, working-directory, and path scopes, declarative compaction plans, an optional LLM-based compactor, and a full-history option. Media generation tools save files in the working directory and return their paths; transcription is treated as a safe operation, while generation tools can require approval.

## Limitations and notes

The command-line package is experimental, while the `cliver-core` 0.3 series defines a backward-compatible public API with patch releases for fixes and compatible additions. The CLI's non-interactive mode denies ASK-gated tools unless `--yes` is supplied. Running without a prompt in a terminal starts the streaming REPL; each turn retains conversation context for follow-up requests.

MCP support is described as client connectivity, not as a standalone MCP server endpoint. Applications that only need the embeddable engine can use `cliver-core` without installing the CLI. The project is licensed under Apache 2.0.

_Full upstream README: https://allmcps.com/mcp/cliver/readme_

