Skip to main content

CLI for the Synalinks Memory API

Project description

Synalinks Memory CLI

Synalinks Memory is the knowledge and context layer for AI agents. It lets your agents always have the right context at the right time. Unlike retrieval systems that compound LLM errors at every step, Synalinks uses logical rules to derive knowledge from your raw data. Every claim can be traced back to evidence, from raw data to insight, no more lies or hallucinations.

This CLI lets you interact with your Synalinks Memory directly from the terminal — add data, ask questions, and query your knowledge base.

Installation

pip install synalinks-memory-cli

Or with uv:

uv add synalinks-memory-cli

Or run directly without installing using uvx:

uvx synalinks-memory-cli list
uvx synalinks-memory-cli execute Users --format csv -o users.csv

Usage

Set your API key:

export SYNALINKS_API_KEY="synalinks_..."

Add a file

synalinks add data/sales.csv
synalinks add data/events.parquet --name Events --description "Event log" --overwrite

Ask a question (while learning concepts and rules)

synalinks "What were the top 5 products by revenue last month?"
synalinks How are sales doing this quarter

List predicates

synalinks list

Execute a predicate

synalinks execute Users
synalinks execute Users --limit 50 --offset 10

Search

synalinks search Users "alice"

Export data as a file

synalinks execute Users --format csv
synalinks execute Users --format parquet -o users.parquet
synalinks execute Users -f json --limit 500

Options

--api-key TEXT   API key (or set SYNALINKS_API_KEY)
--base-url TEXT  Override API base URL
--help           Show help message

License

Apache 2.0

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

synalinks_memory_cli-0.0.1.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

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

synalinks_memory_cli-0.0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

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