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.1.tar.gz (5.7 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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cortyxia-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 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.1.tar.gz
Algorithm Hash digest
SHA256 60ea30f3afe3c377c2a182f3a3e8f219c908e8556948818334d9151de4ab8358
MD5 4311354dabba8f842ca043162573d48c
BLAKE2b-256 648eaee17f433ec468618e3d76cee0187753e40a52a83f9463d82c1338d4bdfa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cortyxia-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19c54c6a69194c53ecc60ce9829b1af563a6d45fcdd6480fc8e44ece1f734e72
MD5 985187a5dab8976bf643c3878cc49f37
BLAKE2b-256 55abd2e03d81c05373b7a9bae7499a30c8818b5859024b1cf938061c1f8f9fef

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