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
  • Starter ($29/mo): 50K memories, 25K API calls/month, 5 rollbacks/month
  • Pro ($99/mo): Unlimited memories, 100K API calls/month, unlimited rollbacks
  • Enterprise: Custom limits, 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.1.tar.gz (6.7 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: novyx-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 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.1.tar.gz
Algorithm Hash digest
SHA256 65e74ed7d2110b4ddd9b99b784be01a06736d1f507c1819c2c3a24f7746fc286
MD5 d7a3066808545c721a1baf8fc838bf5d
BLAKE2b-256 82ef0626e139466cedffbae45cef66e098e3a617ec5ee3a42db8746aff8da7fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: novyx-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f3a55a917ed012ef7f13419adca8f64c5e9ecf329196e0759b7b46d0d5f5f7c
MD5 c2deed0ef8aa5774cef8a529bf1932da
BLAKE2b-256 1973d5eb1e88a930f9ab03ff3336fb4cf53eaf6fbec85d8b1cf63cf9c6bf7a43

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