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.1.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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: itsuki-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d9ded31595a736392d1ac1ac50c9710b1c579e79b77ef8a321d4f5c4bf250305
MD5 454458aa8e1c9dcc16fa73028e34a8e7
BLAKE2b-256 aea0ec0f8ac328e705feee3c3c19c714eaa47c11d411c25188012ead5a0c1843

See more details on using hashes here.

File details

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

File metadata

  • Download URL: itsuki-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d2035642a8c306f8fc6edc455cf417283c19871b1656b3d92edbedc46f84c07
MD5 6a124efc3e5f76dabd6ae62ab488aad0
BLAKE2b-256 c0f81e05d4bff0c610a3a536a4c2b19aafccc0b93e389333f75930a76720ac1d

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