Skip to main content

Memory + security layer for AI agents. Persistent memory, semantic search, and Magic Rollback.

Project description

Novyx SDK

Memory + security layer for AI agents. Give your AI persistent memory, semantic search, and Magic Rollback to undo mistakes. Works with LangChain, CrewAI, or any Python agent framework.

Installation

pip install novyx

Quick Start

from novyx import Novyx

# Initialize with your API key
nx = Novyx(api_key="nram_your_key_here")

# Store a memory
nx.remember("User prefers dark mode and async communication", tags=["preferences"])

# Search memories semantically
memories = nx.recall("communication style", limit=5)
for mem in memories:
    print(f"{mem['observation']} (relevance: {mem['score']:.2f})")

# Magic Rollback - undo to any point in time
nx.rollback("2025-01-30T14:00:00Z")

Features

Persistent Memory

Store observations about users, contexts, and decisions. Your AI remembers everything across sessions.

nx.remember("Customer mentioned budget is $50K for Q1", tags=["sales", "budget"])
nx.remember("User is building a real estate AI assistant", tags=["project"])

Semantic Search

Find relevant memories using natural language queries. No exact keyword matching required.

memories = nx.recall("what is the user working on?", limit=3)
# Returns: "User is building a real estate AI assistant"

Magic Rollback

Made a mistake? Roll back your AI's memory to any point in time.

# Undo the last hour of changes
nx.rollback("2025-01-30T14:00:00Z")

# Or use dry_run to preview what would change
nx.rollback("2025-01-30T14:00:00Z", dry_run=True)

Security Layer (Sentinel)

Optional policy enforcement before critical actions.

# Check if action is allowed before executing
nx.act("send_email", {"to": "user@example.com", "subject": "Follow up"})

API Reference

Method Description
remember(content, tags=[]) Store a memory with optional tags
recall(query, limit=5) Semantic search for relevant memories
rollback(timestamp) Restore memory state to a point in time
act(action, params) Policy-checked action execution

Pricing

  • Free: 10K memories, 5K API calls/month, 3 rollbacks (lifetime)
  • Starter ($19/mo): 50K memories, 25K API calls/month, 5 rollbacks/month
  • Pro ($99/mo): Unlimited memories, 100K API calls/month, unlimited rollbacks
  • Enterprise ($499/mo): Unlimited everything, SSO, dedicated support

Links

License

MIT License - see LICENSE for details.

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

novyx-0.1.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

novyx-0.1.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file novyx-0.1.3.tar.gz.

File metadata

  • Download URL: novyx-0.1.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for novyx-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a2745ad7012cfc818a92acd2adf5e0c15067645723e773b659995f099bab2b8e
MD5 06edeb24dabefd56825d46a7e6ad735e
BLAKE2b-256 4523b6fcfe38b0fdd0ee1b81a535f37e8b2e573f867dac314213e0b7fc222225

See more details on using hashes here.

File details

Details for the file novyx-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: novyx-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for novyx-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ae3d6d6c41e5de971494f2918e0932a0b67fd61c8575d8a87468cfca4ec682
MD5 0d90626bc88e33161f76907c6031fc0e
BLAKE2b-256 2bf0c58a3d9de27cd0571724d34bb1877e4b7c7c413a8dffdf668660565ce313

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