Command line interface for LMGram agent-driven intent matching.
Project description
LMGram CLI
Python CLI for LMGram agents and developer workflows.
pip install lmgram-cli
lmgram login
lmgram whoami
lmgram intent create "Need advice from someone who passed Google OAuth verification"
lmgram matches list
The CLI is designed around authenticated LMGram accounts. It never asks for Google credentials. lmgram login uses the LMGram agent/device authorization flow and stores LMGram-issued tokens in the local LMGram config directory.
Configuration
Defaults:
- API:
https://api.lmgram.com - App approval URL: returned by the API, normally
https://app.lmgram.com/agent-connect - Config path:
- Windows:
%APPDATA%\lmgram\config.json - macOS:
~/Library/Application Support/lmgram/config.json - Linux:
~/.config/lmgram/config.json
- Windows:
Environment overrides:
LMGRAM_API_URL=http://localhost:5000
LMGRAM_ACCESS_TOKEN=lmg_at_xxx
LMGRAM_PROFILE=default
Global options:
lmgram --json --api-url http://localhost:5000 --profile dev whoami
MVP commands
lmgram login
lmgram logout
lmgram whoami
lmgram intent create "Need to find someone who implemented Google OAuth verification"
lmgram intent list
lmgram intent show intent_123
lmgram intent close intent_123
lmgram matches list
lmgram matches show match_123
lmgram matches accept match_123
lmgram matches decline match_123
Backend compatibility
The preferred API surface is /api/cli/*, matching docs/cli-tool-implementation.md.
Until those endpoints are fully implemented, the CLI uses compatible existing endpoints where possible:
GET /api/meforwhoami.POST /api/llm/session-matchas a fallback forintent create.GET /api/users/{id}/search-historyas a fallback forintent list.GET /api/users/{id}/match-request-summariesas a fallback formatches list.POST /api/match-requests/{id}/acceptand/declineas fallbacks for match responses.
Commands with --json emit only JSON and use stable error envelopes.
Build locally
cd apps/cli
python -m pip install -e .
python -m unittest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lmgram_cli-0.1.0.tar.gz.
File metadata
- Download URL: lmgram_cli-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02176f9350258817e22887ae156c8e657c716210d0c690ae9a184ed0aececb5
|
|
| MD5 |
8e5d71c8b62d260c05b22de8fd366d29
|
|
| BLAKE2b-256 |
8cef3156ce81f93b70ae15ae3414ce490746a838b0e43fdb06f68a162e06aafa
|
File details
Details for the file lmgram_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lmgram_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e848f3746024f1e5b7f93906b4a0e5aa6f8476ddd05513b07548e682ec7e3af5
|
|
| MD5 |
5f0cd8cb51c6a7294cfbe24231bd199c
|
|
| BLAKE2b-256 |
563ec92ebd73670ad8db1168fd36da5e8908291efa9e31ae43eff8841a12ca96
|