Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

cortexdb-cli

Latest version: v0.10.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: pmalik
5 Versions
529 Downloads

Scan summary

cortexdb-cli was last scanned on 26 Nov 2026 at version 0.10.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 0.10.0.
  • Downloads: 529 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.0 LATEST 26 Nov 2026 No rules fired
0.9.0 14 Nov 2026 No rules fired
0.8.0 9 Nov 2026 No rules fired
0.7.1 29 Oct 2026 Not shown
0.7.0 28 Oct 2026 Not shown

No rules fired in 0.10.0

Findings

Findings for v0.10.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.10.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

cortexdb-cli

Command-line interface for CortexDB — the long-term memory layer for AI systems.

Wraps the v1 HTTP API in a small, fast Click + Rich CLI. Anonymous signup in one command, no email or card; works against the public SaaS or any self-hosted CortexDB deployment. Version 0.10.0 covers CortexDB 0.17.0, the memory inspector, the audit export and the online backup included; CortexDB 0.16.x, voice mode and the online re-embed included; CortexDB 0.15.x, governed memory formation included: derivation policies, corrections, review and re-derivation; and CortexDB 0.14.x, shared memory included: the access API, change sets, the directory, applications, rollups, publishing and the new erasures.

Install

pip install cortexdb-cli

Requires Python 3.10+.

Quickstart

# 1. One-time setup — anonymous signup, writes ~/.cortexdb/state.json
cortexdb init

# 2. Store a memory
cortexdb experience "Q3 revenue: $2.4M. We're on track for $10M ARR by year-end."

# 3. Recall it
cortexdb recall "Q3 revenue?"

# 4. Or just type — drops into a REPL
cortexdb

The signup token has a 7-day TTL on the free tier.

Re-running cortexdb init does not refresh it. init reuses an existing identity and changes nothing; against an expired one it refuses and exits 3. That is deliberate: a new identity is a new brain, and memories written under the old actor stay where they are, unreachable from the new config.

When a token expires you have two safe options:

  • cortexdb init --api-key <token> --actor <actor> — keep the same brain with a token you already hold (e.g. from your IdP).
  • cortexdb init --force — deliberately start a NEW brain. The previous identity is backed up to state.json.replaced first.

For a second brain alongside the first, isolate instead of replacing: cortexdb --config-dir <dir> init, or set CORTEXDB_HOME.

What's new for CortexDB 0.17.0 (cortexdb-cli 0.10.0)

CortexDB 0.17.0 adds the memory inspector, the audit trail's export to security tools and the online backup. A server before 0.17.0 answers inspect 404 and refuses access check --action (422 INVALID_BODY); audit export and backups start read the server's capabilities first and send no export request or start to a server without theirs (exit 1).

  • cortexdb inspect ID: what one memory is (an event, a fact or a belief), with its label (Observed, Inferred, Uncertain, Not learned), why memory holds it, what changed it and whether you may forget or erase it; inspect fgt_... reads a forget's durable receipt (inspect).
  • access check --action forget|erase (and access explain): may you make that deletion, decided as the deletion routes decide it.
  • cortexdb audit export: the audit trail in OCSF, CEF or its stored rows, from a cursor, with --follow; audit status shows the trail and its push sinks, and audit rewind and audit resume print the server host's command for a sink's cursor (audit).
  • cortexdb backups (plan, start, list, status, cancel, verify, prune, ledger, owner): the trusted operator's online backup of a running server (backups).
  • Hints for the backup's refusals and the export's (AUDIT_CURSOR_RESET, AUDIT_CURSOR_MISMATCH).

What's new for CortexDB 0.16.0 (cortexdb-cli 0.9.0)

CortexDB 0.16.0 adds voice mode, which makes it the memory of a live voice agent, and the online re-embed, which moves an existing store to another embedding model while it serves. The session, voice recall and re-embed commands need a server that serves their capability: a server before 0.16.0 answers their routes 404 and refuses --profile (422 INVALID_BODY).

  • cortexdb session (start, status, end): a voice call's session and its brief; the server holds the caller's memories in RAM for the call. Only a server in voice mode serves it: any other answers 409 VOICE_SESSIONS_DISABLED (session: voice calls).
  • recall --profile voice: the short read path of a live voice turn, with --session for the call's working set and --alpha to weigh the vector list against BM25.
  • cortexdb voice status: whether the server runs in voice mode, its readiness, the in-process model, the call sessions and the recall latency (voice: voice mode).
  • cortexdb reembed (estimate, start, status, cancel, cleanup): the trusted operator's online re-embed, on a single node (reembed).

What's new for CortexDB 0.15.0 (cortexdb-cli 0.8.0)

CortexDB 0.15.0 adds governed memory formation: control over what its background enrichment learns, and corrections that stay corrected. Each command below needs a server that serves its capability: a server before 0.15.0 answers it 404, which reads like a missing record, and the hint says the server predates the command.

  • cortexdb derivation: status and decisions (what was learned from an event, and why not), policy, templates, taxonomy, test (a draft tried on real events, writing nothing), stage (stage, preview and activate a policy), settings, texts, feed and consumers, and the re-derivation jobs: rederive (a dry run unless --apply, of the unsynced rows unless --events), job, cancel and report.
  • cortexdb corrections (add, list, show, undo) and cortexdb memory about (--corrections): fix a wrong memory so it stays fixed, rather than forget it.
  • cortexdb review (list, approve, reject): decide what a derivation policy held back.
  • cortexdb episodes declare and episodes delete: a worker's own episodes.
  • New options: --derived-by NAME@VERSION on experience write, beliefs create and episodes declare; --include derivation on facts list, facts timeline, beliefs list and beliefs why; --session ID on recall, search, answer and compose.
  • Warnings: a write that names a directive nothing reads prints "accepted, not enforced: NAME", and a change set that keeps a scope's enrich says so.

What's new for CortexDB 0.14.1 (cortexdb-cli 0.7.1)

  • Change sets that take long. A staging, a preview or an activation whose evaluation runs past the server's wait answers 202 and goes on. changes stage, parts, preview and activate send the request again until it answers, with a progress line, for --wait seconds (120 by default); past it they exit 75 and say how to collect the answer. A 202 is never an error.
  • The tenant-binding dry run shows how the operator plane will decide the real run, and says when --apply needs --break-glass.
  • A write that would make a version-2 record version 1 is refused; the hint names the fields it drops and --convert.
  • Token lifetimes are the server's settings: by default 90 days for a person, 7 for an agent, 30 for a service, 24 hours with a chain claim.

What's new for CortexDB 0.14.0 (cortexdb-cli 0.7.0)

CortexDB 0.14.0 is the breaking release of shared memory. What changes for a CLI user:

  • Break-glass. On cloud_shared_saas the operator key's data reads are denied by default (CORTEX_OPERATOR_DATA_READS=deny): they answer 403 BREAK_GLASS_REQUIRED without X-Cortex-Break-Glass. Every command that calls the server takes --break-glass REASON --break-glass-ticket TICKET [--break-glass-note TEXT] (--ticket for short; also before the subcommand, or as CORTEXDB_BREAK_GLASS, CORTEXDB_BREAK_GLASS_TICKET, CORTEXDB_BREAK_GLASS_NOTE). The reason is one of incident, legal, support, security, migration, restore or other.
  • Typed errors. Every refusal prints its code, its details, a one-line hint and whether it is retriable; --json prints {"error": {...}} on stderr. BREAK_GLASS_REQUIRED, a confinement denial, ACCESS_RESTORE_PENDING, NOTICE_UNAVAILABLE, the CHANGESET_* codes, ACCESS_LIMIT_REACHED, SUBJECT_UNMAPPED, PUBLISH_PERSON_REQUIRED, FRESH_AUTH_REQUIRED, CONSISTENCY_TOKEN_INVALID, WAIT_TIMEOUT, SCOPE_MOVING and FORMAT_UPGRADE_PENDING each say what to do.
  • Strict forget selectors. The server refuses a selector field it does not know (422 unknown_selector_field). The REPL's /forget QUERY sent one: it now lists the events a recall of QUERY returns and forgets the ones you pick, by id. cortexdb forget --query does the same (a script passes --yes or --preview). --cascade none is gone: the cascades are derived_only and redact_events.
  • Views at org-tree scopes. recall, answer and compose send a view only when you choose one, so a read at a team, an org, a group or a compartment gets the server's default (granular there) instead of 422 VIEW_NOT_ALLOWED_AT_SCOPE.
  • Tokens. A token that carries scopes holds only the families its entries name, lifetimes are capped (the server's settings since 0.14.1: by default 90 days for a person, 7 for an agent, 30 for a service, 24 hours with chain claims), and act must name a delegable agent. Every mint names its tenant root (--scope, --tenant or its --confine entries); only the operator mints deployment-wide, for a service. A minted token holds no more than its minter. cortexdb tokens mint mints with every field: --confine, --exact (the CAP:PATH! form), --cap, --tenant and the chain claims.
  • Names live in the directory. A scope record's tree.display_name is refused; use cortexdb directory put.
  • A read's purpose, a record's texts, legal holds. --purpose ID declares what a read is for (recall, search, answer, compose, access check, access explain, access authzen evaluate); cortexdb access texts erase PATH erases the free text a registry record names on every replica; forget and its preview show what a legal hold kept. beliefs create takes --idempotency-key, beliefs why and conflicts show take --scope, facts timeline --as-of is applied, scopes list pages (--cursor, --all), and publish and access records return consistency tokens.
  • Fixed against 0.14.0 (COVERAGE.md has the whole audit): experience "text" --wait ... and experience bulk FILE (the group swallowed both), search (sent a budget key the server refuses), facts timeline (--predicate is required), verify and apply (wrote to a scope type no preset registers), the forget receipt, and code import-scip / import-index. scopes register --owner sends the Owner as a roster entry, which every server honours (servers before the final 0.14.0 dropped the owner field 0.6.0 sent).

Commands

cortexdb init                                 anonymous signup; persist token + actor
cortexdb preflight | plan | apply | resume | status | doctor | verify | cleanup
cortexdb experience "..."                     store a memory (POST /v1/experience)
cortexdb experience bulk file.jsonl           bulk ingest (POST /v1/experience/bulk)
cortexdb recall   "..."                       recall a stratified context pack
cortexdb recall   "..." --profile voice       the short read path of a live voice turn
cortexdb session  {start,status,end}          voice call sessions (voice mode)
cortexdb voice    {status}                    voice mode's readiness, model and call sessions
cortexdb reembed  {estimate,start,status,cancel,cleanup}   move the store to another embedding model
cortexdb backups  {plan,start,list,status,cancel,verify,prune,ledger,owner}   an online backup of the running server
cortexdb search   "..."                       granular event-level search
cortexdb answer   "..."                       recall + LLM answer
cortexdb compose  "..."                       a markdown document from memory
cortexdb forget   --memory-id | --idempotency-key | --capture-key ...
cortexdb inspect  ID [--scope SCOPE] [--section why|history|delete]   one memory: why, history, who may delete it
cortexdb episodes {list,get,declare,delete}
cortexdb entities {list,get,link}
cortexdb facts    {list,timeline}
cortexdb beliefs  {list,why,build,create}
cortexdb derivation {status,decisions,policy,templates,taxonomy,stage,test,settings,feed,consumers,texts,rederive,job,cancel,report}
cortexdb corrections {add,list,show,undo}
cortexdb memory   {about}
cortexdb review   {list,approve,reject}
cortexdb conflicts {list,show,resolve}
cortexdb claims   {history}
cortexdb concepts {list,coverage,synthesize}
cortexdb scopes   {list,register,members}
cortexdb access   {check,explain,lookup,limits,enrich,records,restore-ack,rehome,watermarks,accounts,texts,authzen}
cortexdb changes  {stage,parts,preview,activate,get,discard}
cortexdb watch    [ROOT] [--follow]
cortexdb notices  {list,ack}
cortexdb apps     {put,get}
cortexdb directory {put,get,delete,search}
cortexdb rollups  {list,get,totals}
cortexdb publish  --target ... --event | --rollup ...
cortexdb erase    {person,tenant,party,status,receipt,verify}
cortexdb tokens   {mint}
cortexdb auth     {whoami,signup,tokens,revoke}
cortexdb policy   {effective,deployment}
cortexdb admin    {health,usage,layers,retention,wal,access,auth,rollups}
cortexdb audit    {chain,verify,export,status,rewind,resume}   the trail, its export to a SIEM, its sinks
cortexdb import   data.json | backup.jsonl --server
cortexdb export   -o backup.json
cortexdb code     {add,remove,status,import-scip,import-coverage,export-index,import-index,pin,gc,matrix,watch}
cortexdb config   {show,set}
cortexdb wire     --harness ...
cortexdb                                      interactive REPL

Every command that calls the server takes --json and the break-glass options. A command whose scope is optional uses your default scope; one that takes a tenant root uses the first segment of it.

Reads: consistency, read sets, coverage

recall, search, answer and compose take --extra-scope SCOPE (up to 40), --coverage (what was searched, authorized, and the gaps), --beliefs merged (beliefs rebuilt across the read set for you), --mounts (your application's admitted mounts), --consistency, --at-least TOKEN and --purpose ID (the purpose the read is for: a grant whose when names a purpose holds only for that one; access check, access explain and access authzen evaluate decide a chain for one too) and --session ID (the conversation session the read is made in, CortexDB 0.15.0: where a read-time use rule is in force, memory from other sessions, or older than its window, is withheld, and warnings says how many events). A write returns a consistency token with --consistency; a read that passes it to --at-least sees that write:

TOKEN=$(cortexdb experience "ship on Friday" --consistency --json | jq -r .consistency_token)
cortexdb recall "ship" --at-least "$TOKEN"

experience write also takes --provenance EVENT_ID (erasing the source erases the write), --intent and --idempotency-key.

derivation: what CortexDB learned, and how (CortexDB 0.15.0)
cortexdb derivation status org:acme/user:alice                 # layers and extraction caught up?
cortexdb derivation decisions org:acme/user:alice evt_0196...  # what became of one event
cortexdb facts list --include derivation                       # how each fact was made
cortexdb facts timeline --subject Alice --predicate lives_in --include derivation
cortexdb beliefs list --include derivation
cortexdb beliefs why belief_01... --include derivation

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases cortexdb-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229