Skip to main content

Lemma CLI (lemma-terminal)

lemma is the command-line and terminal-UI for Lemma — build and operate pods (a team's tables, files, functions, agents, workflows, schedules, connectors, surfaces, and apps) from your terminal, and drop Lemma's agent skills straight into your coding agent so it can build pods for you.

Install

uv tool install lemma-terminal

This installs the lemma command globally. (Don't have uv? See astral.sh/uv.)

lemma --version

Quickstart

lemma auth login            # authenticate against the default cloud server
lemma orgs select --save-default   # pick your organization
lemma pods select --save-default   # pick the pod to work in
lemma describe              # inventory the selected pod

From there, the command surface mirrors the resource model — lemma <resource> <verb>:

lemma tables list
lemma files ls /knowledge
lemma agent chat            # talk to the pod's default agent
lemma pod init my-pod       # scaffold a new pod bundle on disk to import

Add --json to any command for machine-readable output, and --full to expand folded fields. See SETUP.md for cloud/local server configuration, environment variables, and the Textual TUI (lemma tui).

Install Lemma skills into your coding agent

Lemma ships agent skills (SKILL.md format) that teach a coding agent how to design, build, and operate pods. lemma skills installs them into the coding agent you already use:

lemma skills list                       # what's bundled
lemma skills install                    # auto-detect Claude Code / Codex / OpenCode / Cursor and install
lemma skills install --target claude    # or pick one explicitly
lemma skills install --all-skills       # include browser + liteparse-documents too

install is an upsert — the CLI owns these skills, so an existing copy is overwritten to match what this lemma-terminal bundles (re-run it after upgrading to refresh them; identical copies report unchanged). By default it installs the curated set — lemma-builder, lemma-user, lemma-widget — at the user level so it's available across all your projects. Targets and their locations:

Target Location (--scope user) Tool
claude ~/.claude/skills/ Claude Code
codex ~/.agents/skills/ Codex CLI
opencode ~/.config/opencode/skills/ OpenCode
cursor project only.cursor/skills/ Cursor (no global skills dir)
agents ~/.agents/skills/ shared (Codex + OpenCode)
all all of the above

Use --scope project to install into the current directory (.claude/skills/, .agents/skills/, .opencode/skills/, .cursor/skills/), or --dir PATH for an arbitrary location. Cursor is project-scoped only — run lemma skills install --target cursor --scope project inside the repo you're working in. Then restart your coding agent and ask it to build a pod.

How it fits together

  • lemma-sdk — the Python client used by functions and automation.
  • lemma-terminal (this package) — the human- and agent-facing CLI and TUI; pod-scoped workflows are first-class.
  • lemma-stack — installs and manages the local Lemma stack (separate tool).

License

Apache-2.0

Download files

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

Source Distribution

lemma_terminal-0.5.3.tar.gz (374.0 kB view details)

Uploaded Source

Built Distribution

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

lemma_terminal-0.5.3-py3-none-any.whl (357.7 kB view details)

Uploaded Python 3

File details

Details for the file lemma_terminal-0.5.3.tar.gz.

File metadata

  • Download URL: lemma_terminal-0.5.3.tar.gz
  • Upload date:
  • Size: 374.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for lemma_terminal-0.5.3.tar.gz
Algorithm Hash digest
SHA256 f175ee62f3bc26699081df37cc153ea1bac1085fab24a2a91957740e23e4d6bc
MD5 7e3bf6075ba1d51615d6ee63a5ee1484
BLAKE2b-256 266c5f53fc38333dc68ce261b3e5a58f54ee8c83bcd28c90da692c127d9f3f46

See more details on using hashes here.

File details

Details for the file lemma_terminal-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: lemma_terminal-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 357.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for lemma_terminal-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 14e3ede8a0ff1ad3f161e02f1c2496057176952c4f10e50863075e39a6b42262
MD5 eb1b78ede1321e6f6932982babfa2b18
BLAKE2b-256 8d6ecb11e1f9a34c3574f3bd792f6902707b312416175b34a5205ae2abda449e

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