Skip to main content

Terminal interface to Kelex — chat with your Lara persona, run swarms, route to frontier brains, all from the shell.

Project description

kelex-cli

Terminal interface to Kelex — your AI agent with persistent memory, parallel workers, and real tools.

$ pip install kelex-cli
$ kelex login
  paste your tenant ID + api token (one-time)
$ cd my-project
$ kelex
  Lara · this-project · 0 turns
  > what does foo.py do?
  ...

Why use this over claude / aider / etc.

  • Persistent memory across sessions — Lara remembers your project from last week without you re-pasting context.
  • Native swarm> spawn 5 workers to review this PR runs 5 parallel reasoners, then synthesizes one answer.
  • Multi-brain routing> ask kimi about this segfault routes to Kimi K2.6 mid-conversation, without leaving Lara's loop.
  • Self-scheduling> remind me every Monday 9am to triage issues sets a real cron that wakes Lara up in the cloud.
  • Self-hostable — point kelex at your own Kelex instance, not someone else's API.

Quick start

pip install kelex-cli
kelex login --base https://kelex.brownforces.io
# paste your tenant_id and api_token (one-time, stored at ~/.kelex/config.toml)
cd ~/code/my-project
kelex

Project-scoped agents

The first time you run kelex in a directory, it creates a project-scoped agent named after the directory. Each project gets its own Lara who remembers that project specifically. Switch projects = switch context.

cd ~/code/api      # uses agent "api-lara" (auto-created)
cd ~/code/frontend # uses agent "frontend-lara" (auto-created)

Or pin an existing agent:

kelex --agent <agent_id>

File attach

Inline @path/to/file.ext in any prompt to send the file's contents to Lara:

> compare @src/auth.py with @src/auth_v2.py and tell me what changed

Env vars

KELEX_BASE       # default: https://kelex.brownforces.io
KELEX_TENANT_ID  # your tenant UUID
KELEX_API_TOKEN  # your api token
KELEX_AGENT_ID   # pin a specific persona (otherwise auto-resolved per cwd)

License

MIT.

Project details


Download files

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

Source Distribution

kelex_cli-0.1.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

kelex_cli-0.1.1-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file kelex_cli-0.1.1.tar.gz.

File metadata

  • Download URL: kelex_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for kelex_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 885550b2617f94f9f850693d694969745bedf081124e4f3e5c250f6081dbb363
MD5 b3207dc46e2ba2792fbcbc081a14584a
BLAKE2b-256 d9debafb49282948067850fced2c5d8cbe5818cd4037f536a88d38795a724aa3

See more details on using hashes here.

File details

Details for the file kelex_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kelex_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for kelex_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c44f2ca7bce98ad11017988f15b5eed33db9560388ae985b86edb6c7cee89f32
MD5 a924fee9ff87bcc788c33dffb39cb49a
BLAKE2b-256 aa2ed89f9dbb8bd0a211155c9a420286469fe9cfd8d82b11fa8a1280c7b7cdc7

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 Pingdom Monitoring Sentry Error logging StatusPage Status page