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

WhyBefore/AfterInstallQuick StartWorkflowsMCPSafetyDocs


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cliara-0.5.0.tar.gz (394.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cliara-0.5.0-py3-none-any.whl (405.9 kB view details)

Uploaded Python 3

File details

Details for the file cliara-0.5.0.tar.gz.

File metadata

  • Download URL: cliara-0.5.0.tar.gz
  • Upload date:
  • Size: 394.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for cliara-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a3e00b948fe08a9d2d8b1636b2ee0a7ac77526d42351a2ea3448aa6103ecb1b3
MD5 fb812ffab06cbb20e49ed52381e17f90
BLAKE2b-256 5d5c69e99094ab11684837fc0ec1627795e7a72c6886b742315f28cc0b81d2b5

See more details on using hashes here.

File details

Details for the file cliara-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: cliara-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 405.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for cliara-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e29ebae235a00eb301cd8d094d2ee889beecb8c51a298b03e0ff619ecdddaf64
MD5 371c6813b6a5d8e48c8c16277798b36a
BLAKE2b-256 2d001e72fb2d0554aa1066a670e4d042761562c3e23c7733f3cbb3d16b7b9a72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page