This release is a pre-release and may not be stable for production use.
cliver-core
The embeddable agent core behind CLIver: a Re-Act loop with tool calling, per-purpose model bindings, media capabilities, and optional MCP support.
No CLI, no database, no config files — you pass Python objects in and get messages back.
Install
pip install cliver-core # core library
pip install "cliver-core[mcp]" # + MCP client (stdio / streamable HTTP)
Python 3.10+.
Quick start
import asyncio
from cliver_core import AgentCore, ModelBinding, ModelBindings
async def main():
agent = AgentCore(
ModelBindings(
llm=ModelBinding.llm(
model="deepseek-v4-flash",
api_key="...",
base_url="https://api.deepseek.com",
)
)
)
response = await agent.chat("Summarize the Re-Act pattern in one sentence.")
print(response.message.content)
await agent.aclose()
asyncio.run(main())
Ready-made bindings for live-verified providers live in cliver_core.presets:
from cliver_core import ModelBindings, presets
bindings = ModelBindings(llm=presets.deepseek(api_key="..."))
agent = AgentCore(bindings)
Tools
cliver_core.tools ships nine file, shell, todo, and web tools. Register them directly:
from cliver_core.tools import discover_builtin_tools
agent = AgentCore(bindings, builtin_tools=discover_builtin_tools())
ToolRegistry and the @tool decorator build custom tools.
Capabilities
Every purpose works standalone — no AgentCore required:
from cliver_core import ModelBinding
from cliver_core.capabilities import embed, generate_image
vectors = await embed(
texts=["hello", "world"],
binding=ModelBinding.embed(model="text-embedding-3-small", api_key="...", base_url="..."),
)
image = await generate_image(
prompt="a red panda on a skateboard",
binding=ModelBinding.image(model="gpt-image-1", api_key="...", base_url="..."),
)
Purposes: image, video, text-to-speech, speech-to-text, embed, rerank. Long generations can return
a MediaJob future via the submit_* variants.
MCP
from cliver_core.mcp import MCPClient
client = MCPClient.from_discovery() # ~/.cliver/mcp.json, .cliver/mcp.json, drop-ins
agent = AgentCore(bindings, mcp_client=client)
MCP tools are advertised to the model as mcp__<server>__<tool>. Prompts and resources are read on
demand — list_prompts, get_prompt, list_resources, read_resource — never registered as
tools.
License
Apache-2.0
Metadata
Release files for cliver-core 0.3.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cliver_core-0.3.0a1.tar.gz | 144.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cliver_core-0.3.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 265.6 kB
Release files / cliver_core-0.3.0a1.tar.gz
| Download URL | cliver_core-0.3.0a1.tar.gz |
|---|---|
| Size | 144.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb07dea34eef2b27c80f76004e554d961e98ad7fa5201ced4f1360f465a8fee1
|
|
BLAKE2b-256 checksum How to use checksums |
9d633aeec57f203e0b985befbe3050f7641ea1c084a8ffdce425d90b7da37e8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cliver_core-0.3.0a1-py3-none-any.whl
| Download URL | cliver_core-0.3.0a1-py3-none-any.whl |
|---|---|
| Size | 121.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2115a0b627e0cde1efd70e0b9eda9996a790dee486a98fb1370457b34fe8a9f
|
|
BLAKE2b-256 checksum How to use checksums |
aaa47b57e7252be1775439c7b5e28a2be0c955e004f777c1d830c8039de082cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for cliver-core 0.3.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.