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.0.tar.gz (10.2 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.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kelex_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 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.0.tar.gz
Algorithm Hash digest
SHA256 ecfa3e616dfa612c94a92a3ec23e29232d3efa22a07bab45564d75f94f568f35
MD5 6b9b51c44ad4ff087eaeae3dc1052443
BLAKE2b-256 6b2c1e82f3be604e332985f2a5b3ac4b410c5425f2f143b20f09fd76a2882839

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kelex_cli-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22717c67f3cbd2b9076bf50a3ae819309f4e09c54187005e186e2bc2ce638b72
MD5 a138ca6f7fbc8d98c9a84976653a5d86
BLAKE2b-256 47ced21932d2f41594e76611b6d04536433d972e35e14ac3adf92b5eef5a052b

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