Skip to main content

One import for Stratos AI: OpenLLMetry agent telemetry + heartbeat with auto-detected framework/model/tools (Python).

Project description

intelli-1113-stratos-sdk (Python)

One import for Stratos AI: OpenLLMetry agent telemetry (tokens, cost, prompts, tools) + a heartbeat that auto-reports framework / model / tools — the Python twin of @intelli-1113/stratos-sdk (Node).

Install

pip install intelli-1113-stratos-sdk

Configure (environment)

STRATOS_TOKEN=<token from Stratos  Add agent>   # required
STRATOS_URL=https://stratos.lnt.com              # optional, default http://localhost:4000
STRATOS_APP_NAME=my-agent                         # optional display name
STRATOS_MODEL=gpt-4o                              # optional (else detected from spans/env)
STRATOS_TOOLS=search,lookup                       # optional comma list

Use — pick one

import stratos_sdk.register        # FIRST import in your entrypoint (before openai/langchain/…)
from stratos_sdk import start       # or call explicitly
start()                              # or start(token=..., url=..., app_name=..., tools=[...])

What it does

  • Initialises OpenLLMetry and exports spans as OTLP-JSON to /api/ingest (custom exporter).
  • Heartbeat keeps the agent online and auto-fills framework (detected from your project deps / installed packages: google-adk, openai-agents, llamaindex, crewai, langgraph, langchain, anthropic, openai…), model (env), and tools (STRATOS_TOOLS or captured from spans).
  • URL/token come from env — change and restart, no code edit.

If traceloop-sdk isn't installed, the SDK still sends the heartbeat + metadata (agent shows online with framework/model), just without per-call spans.

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

intelli_1113_stratos_sdk-1.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

intelli_1113_stratos_sdk-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file intelli_1113_stratos_sdk-1.0.0.tar.gz.

File metadata

File hashes

Hashes for intelli_1113_stratos_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fb9bf7686eaa5b50404bf612422d30231243001eceb94eb2be133b056ff5818
MD5 57f5d4d04120a4f0b6a0b4134384d194
BLAKE2b-256 b908ea0b6eee01ededb1784ec050065f6edfb6b35d4f64d1d5fb7fc362d87aa4

See more details on using hashes here.

File details

Details for the file intelli_1113_stratos_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intelli_1113_stratos_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88a69edd9892acc490629b563d737b94a29f509edd2e82a9f9960ad0b34de1b6
MD5 7d9e9ff8a79fadd1d6b00ab1c9057775
BLAKE2b-256 9550bfb665535bd12cca515284deda188d1b02b00320ed6f76120c33601029c0

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