Skip to main content

The Memory Layer for Enterprise AI — persistent memory and 40% token cost reduction for any LLM stack

Project description

cortyxia

The Memory Layer for AI Applications

Model-agnostic memory that unifies context, cuts costs 40-60%, and improves retrieval — with zero friction.

What Cortyxia Is

Cortyxia is a memory layer that sits between your application and any LLM provider (Anthropic, Google, DeepSeek, xAI, Llama, Groq, and more). It wraps around your existing API workflow and adds:

  • Persistent memory — Every conversation enriches a shared knowledge base that compounds over time
  • Zero-overhead capture — Use any AI exactly as you do today; context is automatically captured and structured at the infrastructure layer
  • Precision retrieval — BM25 + semantic reranking surfaces exactly the memory your model needs, keeping prompts lean
  • Model-agnostic — Switch providers instantly without changing your code
  • Private memory keys — Every project gets isolated context that cannot cross-contaminate

Quick Start

pip install cortyxia
from cortyxia import Cortyxia

client = Cortyxia(
    iso_url="https://app.cortyxia.com",
    iso_token="iso-...",  # Your Cortyxia project token
)

# Automatic memory injection — zero code changes beyond this
res = client.chat.completions.create(
    messages=[{"role": "user", "content": "What did we discuss yesterday?"}]
)

print(res["choices"][0]["message"]["content"])

How It Works

  1. You send a message through the SDK (or any HTTP client)
  2. Cortyxia retrieves relevant memory from your project's knowledge base
  3. Retrieved context is injected into the prompt
  4. Request is forwarded to your configured provider
  5. Response is captured and scored for future retrieval

Features

Cumulative Intelligence

Every resolved ticket, strategic decision, and customer conversation enriches your shared memory. New team members inherit years of knowledge on day one.

Token-Efficient Memory

Smart routing and semantic caching reduces total token usage 40-60%. Hot nodes rank higher, stale context gets deprioritized, and prompts stay lean.

Cross-Platform Sync

Real-time bidirectional synchronization keeps every connected app in lockstep. Native integrations with Salesforce, HubSpot, Zendesk, ServiceNow, Jira, Slack, Teams, and more.

Drop-in Compatibility

No refactoring required. Import, add your token, and keep using your existing code.

Configuration

client = Cortyxia(
    iso_url="https://app.cortyxia.com",   # Required
    iso_token="iso-...",                     # Required — your project token
    timeout=60,                               # Optional — seconds (default: 60)
)

Advanced

Memory Seeding (Bulk Import)

client.memory.add("User is a vegetarian", tags=["diet", "preference"])

Direct Memory Query

hits = client.memory.query("vegetarian preferences", limit=5)

Links

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

cortyxia-0.1.7.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

cortyxia-0.1.7-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file cortyxia-0.1.7.tar.gz.

File metadata

  • Download URL: cortyxia-0.1.7.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for cortyxia-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9fa4829618089be670ae6a935c6eea46a31d2c3ea619d6c546a477cc4a2ab352
MD5 e4aad4e492fb01385edeebfb1f26a6eb
BLAKE2b-256 c4a99170f9f4384141415762a363ab62eeb5277e31b1e17f1680c810589f3699

See more details on using hashes here.

File details

Details for the file cortyxia-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: cortyxia-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for cortyxia-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7ccd91290e716c84210641d04781083514677c2460366ed6c7c019e8b475e0e7
MD5 289450290bc4d00304f9ac98367c5686
BLAKE2b-256 fc9eafd5ad604759627554ea181eae1c6efc8670d03dfc7741bead50f06b5089

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 Pingdom Monitoring Sentry Error logging StatusPage Status page