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://proxy.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://proxy.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.5.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.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortyxia-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 5ec6679551adf4f7124674bdb584751db09b6b2cb35567c5da6c424fac2b1621
MD5 a0ebc4797286a545bcacf068fe5ca86f
BLAKE2b-256 3f03c7461854392cecfe62478827103aea4e6b9a232cf8697a45d8d0b4d5e56e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cortyxia-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 71374723a26faaaa27aa81d3f1fcbe3e05de3ffb709d5e4ed24eec708f5ae3c5
MD5 38d71b8813f2097af880339e965d39a4
BLAKE2b-256 0f72e44558b472f7b52b5f735dd62dd6eda8eba2b98b6bb44ac73a4f6ba40279

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