Skip to main content

Itsuki — one private memory for every AI. Official Python SDK.

Project description

itsuki (Python SDK)

One private memory for every AI. Thin synchronous client for the Itsuki memory API.

from itsuki import MemoryClient

memory = MemoryClient(api_key="itsuki_live_...")

memory.add("I started learning Kotlin this week.")
print(memory.search("what am I learning?")["context"])
  • add(content) / add_conversation(messages) — write memory, returns a receipt
  • search(query)result["context"] is the prompt-ready block
  • turn(messages) — recall + auto-capture in one call
  • graph(), status(), usage(), receipts(), get_rules(), set_rules(), export_all()
  • Sub-tenants: MemoryClient(api_key, user_id="end-user-42") gives each of your users an isolated memory space under one key
  • Safe retries: pass idempotencyKey=MemoryClient.new_idempotency_key() to writes

Errors raise MemoryAPIError with .status, .code, and .body. Docs: your deployment's /docs/.

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

itsuki-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

itsuki-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file itsuki-0.1.0.tar.gz.

File metadata

  • Download URL: itsuki-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for itsuki-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0519be45e056a682cc22777573afb69c9ae3d0ffa2997741f8e8625550603c82
MD5 e00b26cdf6a368d3b0021873dd33527f
BLAKE2b-256 6d244de0ce8e344f96a0aa6b996eef513bd7ae4e4ad27338592c6e2720acb9d1

See more details on using hashes here.

File details

Details for the file itsuki-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: itsuki-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for itsuki-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fedede8ce6b2495bf02dc955e7c8dfc508856e6982a4c7de8a0e3046f4e82b03
MD5 2cc3ec52e341887f2d56c2f7eb137905
BLAKE2b-256 2c4d8ca20b7a1dfe435d39235d0b26a12444e60e2806cf15f3575f8ec06e895c

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