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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mimori_sdk-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 2c7d018e323e6eed2f7d0d0844ac83ea5e16d153ac9a15e994a10718e307a933
MD5 b11d80254000e8af4ea16e13e4217b6f
BLAKE2b-256 71cb7a7bc7ee5d7e1a8969ca7c40a97cb1ccd02ea105bb62b2f29d507eedafe2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mimori_sdk-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a0f17dcfdead9a0a7f628a6c95cc41d9bc29b1ba5c94b7284b2c41c061014e9
MD5 4b64d2e43c62d476b8b61ad42b948a78
BLAKE2b-256 349dba3cc7c0d0508908bb76183daa0ca4acedfb0750832811ac0465fe1f85f1

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