Skip to main content

Observability and tracing SDK for AI agent systems

Project description

MissionTrace SDK

PyPI version Downloads CI

Observability and tracing SDK for AI agent systems.

Installation

pip install missiontrace

With adapters:

pip install missiontrace[openai]    # OpenAI + compatible LLMs
pip install missiontrace[tinyfish]  # TinyFish web agents
pip install missiontrace[all]       # All adapters

Quick Start

import missiontrace

missiontrace.init(api_key="mt_xxx", project="my-project")

with missiontrace.mission(name="research-task") as m:
    with missiontrace.action("inference", name="openai.chat", intent="generation") as act:
        result = call_llm("Summarize Acme Corp")
        act.set_output({"response": result})

Adapters

OpenAI (+ Compatible Providers)

pip install missiontrace[openai]
from missiontrace.adapters.openai import instrument
instrument()

client = OpenAI()
response = client.chat.completions.create(model="gpt-4o", messages=[...])

Auto-detects: OpenAI, Gemini, Groq, Together, Mistral, Fireworks, DeepSeek, OpenRouter, Cerebras, Perplexity, Azure OpenAI.

TinyFish (Web Agents)

pip install missiontrace[tinyfish]
from missiontrace.adapters.tinyfish import instrument
instrument()

client = TinyFish(api_key="tf_xxx")
response = client.agent.run(goal="Find the price", url="https://example.com")

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

missiontrace-0.1.0.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

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

missiontrace-0.1.0-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: missiontrace-0.1.0.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for missiontrace-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79ae479c4d108dcf4b3e97a8365e33d7a2e5e93bdc719b68ac62a93f0ceb21c7
MD5 509030045edbbf818084dbccc6a1105a
BLAKE2b-256 32b81cc442861fc1b23f6f00709d63c719fbcaf3fa24046b7e0dd85a3a769943

See more details on using hashes here.

File details

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

File metadata

  • Download URL: missiontrace-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for missiontrace-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32d061c1fcb16f504caa39ed69714fffead1175506b588fcfb02c0b68421ff36
MD5 56cb83a2600f0d5bedb13b729e25ec60
BLAKE2b-256 0ab5005b495b84d9044a9285dbda73c7703230ffdf98121a0e9471943726d5c0

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