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

Uploaded Python 3

File details

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

File metadata

  • Download URL: novyx-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 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.2.tar.gz
Algorithm Hash digest
SHA256 31085b1c88c82fb10a0c1788a50c57aaf4acdda53aafff5d398b5812ae26277f
MD5 0acb1a0a442fc652695a9a0cdd769910
BLAKE2b-256 e073fc31277a281fba3423d8def9fb2fb043419906530a9afb15b84862b406a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: novyx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed7636d0ea015f8405d4ac2f24ad897af6b565c42715ac6abe613e2f68d7ccd1
MD5 71d33265fc105831d929bd6781e02baa
BLAKE2b-256 b04d23f5d321e24983f5cbb33d874d140f68f898c46fbb65642263f2d31225f5

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