Skip to main content

Cliara

AI shell assistant for real terminal work.
Natural language, macros, smart git/deploy helpers, and safer execution flow.

PyPI version Python 3.8+ MIT license

Why • Before/After • Install • Quick Start • Workflows • MCP • Safety • Docs


Cliara wraps your existing shell (bash, zsh, PowerShell, cmd).

  • Normal commands still run as-is.
  • ? turns intent into shell commands.
  • Macros turn repeated command chains into reusable commands.
  • push, deploy, and ? fix speed up common dev loops.

No new terminal to learn. You keep your shell habits and get an AI layer on top.

Why Cliara

Most AI terminal tools are great in demos and weak in daily workflows. Cliara is built for repetitive, error-prone, real development loops.

Daily pain Cliara flow What backs it up
Too many command lookups Ask with ? in plain English Natural-language command mode
Repeating the same multi-step tasks Save and re-run as macros Macro aliases (ma, mc, ms, ml)
Failed command context switching Run ? fix in-place Error-aware fix flow
Messy release command chains Use push and deploy helpers Built-in smart commands
Risky destructive commands Confirmation and previews Safety checks + diff preview

Before / After

Task Plain shell approach Cliara approach
Free port 3000 Find process, inspect, then kill ? kill whatever is using port 3000
Recover from failed command Copy error, search docs/issues, retry ? fix
Re-run release routine Find old notes or shell history Save macro once, run by name
Push + deploy flow Multiple manual git/platform steps push then deploy

The point is not replacing shell skills. The point is reducing repetitive glue work.

Install

pip install cliara

Run

cliara

First launch opens GitHub sign-in once for cloud features. After that, run cliara normally.

Quick Start (60 seconds)

cliara ~/projects/myapp ❯ ? kill whatever is using port 3000
✓ cliara ~/projects/myapp ❯ ma deploy-prod
✓ cliara [deploy-prod] ~/projects/myapp ❯ push
✓ cliara [deploy-prod] ~/projects/myapp ❯ deploy
X 1 cliara [deploy-prod] ~/projects/myapp ❯ ? fix
cliara [deploy-prod] ~/projects/myapp ❯ help

Core Workflows

1) Natural language to commands

cliara ~/myapp ❯ ? show largest files in this folder
cliara ~/myapp ❯ ? find when I last changed docker config
cliara ~/myapp ❯ ? explain this command output

2) Macros for repeated routines

cliara ~/myapp ❯ ma release-check
cliara ~/myapp ❯ mc
cliara ~/myapp ❯ release-check
cliara ~/myapp ❯ ml

3) Built-in helpers for shipping

cliara ~/myapp ❯ push
cliara ~/myapp ❯ deploy
cliara ~/myapp ❯ ? fix

4) Ask your codebase (RAG)

Index every git-tracked file into a local vector store, then ask questions in plain English and get answers with file:line citations.

cliara ~/myapp ❯ index
✓ Indexed 126 file(s), 1045 chunk(s).
cliara ~/myapp ❯ ? how does auth work
cliara ~/myapp ❯ ask where is the config loaded
  • index builds (and incrementally refreshes) the index — only changed files are re-embedded; index rebuild, index status, and index clear are also available.
  • ask <question> always searches the code; ? <question> does too once an index exists and the question looks code-related.
  • The store is a local SQLite database under ~/.cliara/codebase_index/; nothing leaves your machine except the embedding/answer calls to your configured LLM.

5) Give your AI tools Cliara's context (MCP)

Cliara runs as an MCP server, so Claude Code, Claude Desktop, and Cursor can use what Cliara knows about your machine: the codebase index, the commands you've actually run, your saved macros, and the safety gate.

pip install 'cliara[mcp]'
claude mcp add cliara -- cliara mcp

Or one entry in any MCP client's config:

{
  "mcpServers": {
    "cliara": { "command": "cliara", "args": ["mcp"] }
  }
}

No API keys in the config — the server reuses the credentials you already set up.

Your assistant can then search your codebase semantically, look up how you did something last time, check a command's risk before running it, review a diff, and reuse your macros instead of reinventing them. It is read-only by default; add --allow-exec to let it run commands through Cliara's gate.

See docs/MCP.md for the full tool list and safety model.

Safety By Default

Cliara is designed to help you move fast without blindly executing dangerous commands.

  • Risky commands trigger stronger confirmation flow.
  • Potentially destructive operations can show a diff preview before execution.
  • You can still inspect and control what gets run.

Who It Fits

  • Developers who live in terminal all day
  • Teams with repeated setup/release/debug routines
  • People who want shell speed without command memorization overhead

Docs

Troubleshooting

If cliara is not recognized:

python -m cliara.main

License

MIT

Metadata

Release files for cliara 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cliara 0.5.0
File Size Uploaded Provenance Actions
cliara-0.5.0.tar.gz 394.1 kB Without provenance Details for cliara-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cliara 0.5.0
File Interpreter ABI Platform Actions
cliara-0.5.0-py3-none-any.whl Python 3 none any Details for cliara-0.5.0-py3-none-any.whl

Total release size: 799.9 kB

Release files / cliara-0.5.0.tar.gz

Download URL cliara-0.5.0.tar.gz
Size 394.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a3e00b948fe08a9d2d8b1636b2ee0a7ac77526d42351a2ea3448aa6103ecb1b3
BLAKE2b-256 checksum
How to use checksums
5d5c69e99094ab11684837fc0ec1627795e7a72c6886b742315f28cc0b81d2b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / cliara-0.5.0-py3-none-any.whl

Download URL cliara-0.5.0-py3-none-any.whl
Size 405.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e29ebae235a00eb301cd8d094d2ee889beecb8c51a298b03e0ff619ecdddaf64
BLAKE2b-256 checksum
How to use checksums
2d001e72fb2d0554aa1066a670e4d042761562c3e23c7733f3cbb3d16b7b9a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for cliara 0.5.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page