Skip to main content

Python SDK for sending AI agent telemetry to MIMORI

Project description

MIMORI SDK

Python package for sending LangChain and manual agent telemetry to MIMORI.

LangChain

from MIMORI import MIMORIHandler

handler = MIMORIHandler(
    api_key="sx_live_...",
    agent_name="customer-support-bot",
    api_url="http://localhost:3000",
)

agent_executor = AgentExecutor(agent=agent, tools=tools, callbacks=[handler])

Manual Logging

from MIMORI import log_event

log_event(
    api_key="sx_live_...",
    agent_name="custom-agent",
    event_type="manual",
    payload={"message": "agent started"},
    api_url="http://localhost:3000",
)

The SDK batches telemetry in a background thread and fails open if MIMORI is unreachable.

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

mimori_sdk-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

mimori_sdk-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mimori_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mimori_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8cdbafda4b27c6114ebb05ffe31b743022b8f52d4297e83b9347cce0bdc025cc
MD5 50322301e2a434743a5afe4dc8d4f1b7
BLAKE2b-256 9057a2699dd6a6373b453919d31be0036b8b98d2f6f6db4d2170391ab8062ca8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mimori_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mimori_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3389d58f58cfda31cf95612b239b71c86aee5b815617c39ed6c781e8844905d4
MD5 ce25b0a36c5d7bd5daeb1061d7ef28f0
BLAKE2b-256 e10b5b24721ae61a3f8c510a4ba3250bb9d01bbd85b5c2d6031e57a0b8f1cb00

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