CLI for Context OS — Memory, Search, Crawl, Knowledge
Project description
Context OS — CLI
Command-line interface for Context OS operations.
Installation
pip install context-cli
Or install from source:
git clone https://github.com/AmanSagar0607/Context-OS.git
cd Context-OS/cli
pip install -e .
Configuration
Set environment variables:
export CONTEXT_API_URL="http://localhost:8000" # API server
export CONTEXT_API_KEY="your-api-key" # API key (optional)
Commands
Memory
# Add a memory
context memory add -c "User prefers dark mode" --type semantic --importance high --tags "ui,preferences"
# Get a memory
context memory get <memory-id>
# Search memories
context memory search "dark mode" --limit 10
# List memories
context memory list --type semantic --limit 20
# Delete a memory
context memory delete <memory-id>
Search
# Web search
context search web "AI news 2025" --limit 5
# Internal hybrid search
context search internal "user preferences" --limit 10
Crawl
# Scrape a URL
context crawl scrape https://example.com
# Map a website
context crawl map https://example.com --limit 50
Knowledge
# Create an entity
context knowledge create-entity --name "GPT-4" --type model --description "Large language model"
# Search entities
context knowledge search "language models" --limit 10
Health
# Check API health
context health
License
MIT License
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
ctxos_cli-0.1.0.tar.gz
(5.2 kB
view details)
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 ctxos_cli-0.1.0.tar.gz.
File metadata
- Download URL: ctxos_cli-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a6d0f671e07260bfd42f0247cc1c29ef0872fdcaf9e7f3f0c3b6a52ff04e3e7
|
|
| MD5 |
c105cac2fa9c1d35f5f1c2bf699f3b82
|
|
| BLAKE2b-256 |
51dde4bdff784ad6ec941a5a5e6601976c13c9c962c6b9ef83ba69597ead2290
|
File details
Details for the file ctxos_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ctxos_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
488e4089f44fc57237be1af133751c769f975b396e7928200352af9f1122a087
|
|
| MD5 |
79a041cb134af35b53a1caf9a3d1b830
|
|
| BLAKE2b-256 |
b284f81bcc7f767cd8eee65bc193a55d9197695ecfa9d11ca17c25294dfe9aef
|