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.4.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.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortyxia-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 41f2801bc7478fc94f8ffb679ab696b77503889d0e1eca8a923a4f58a11794aa
MD5 becdd0ca505d33fa56a7029252130d6e
BLAKE2b-256 c3a136767aa57091e7dea7eff5bfa5a1a4b3279c5d6171d8c55e9b7d73ee6bef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cortyxia-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a45a7567d9f63cda16da3121d2a41ea8eba240211cb8ba0dfaa9b765f8c4b616
MD5 355f979f8d522f0fb3f064bffafe8d9f
BLAKE2b-256 285983d29c86a48d6c0b8cc28aeb22d495089637d35d053eee38cd3962352b13

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