logfirepythonsdkllm

Logfire is a Pydantic-based observability SDK for Python applications with tracing capabilities targeted at AI, LLM, and agent workloads. It wraps OpenTelemetry, provides a hosted UI, and supports detection for popular Python frameworks without building a custom tracing stack from scratch.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "logfirepythonsdkllm" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b4da16007b9f94caa141feac114de9186361d8264a7183518cc6f74bab2fbad2. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/logfire-python-observability-sdk-llm-agent-tracing before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Logfire is a Pydantic-based observability SDK for Python applications with tracing capabilities targeted at AI, LLM, and agent workloads. It wraps OpenTelemetry, provides a hosted UI, and supports detection for popular Python frameworks without building a custom tracing stack from scratch.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
python, pip, go, rust
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Logfire Python 可观察性 SDK,用于 LLM 和代理追踪"
slug: "logfire-python-observability-sdk-llm-agent-tracing"
version: "1.0.0"
displayName: "Logfire Python 可观察性 SDK,用于 LLM 和代理追踪"
summary: "Logfire 是 Pydantic 为 Python 应用程序提供的可观察性 SDK,具有针对 AI、LLM 和代理工作负载的一流追踪功能。它封装了 OpenTelemetry,配备托管 UI,并支持对流行 Python 框架进行检测,而无需从头开始构建自定义追踪堆栈。"
license: "MIT"
description: "Logfire 是 Pydantic 为 Python 应用程序提供的可观察性 SDK,具有针对 AI、LLM 和代理工作负载的一流追踪功能。它封装了 OpenTelemetry,配备托管 UI,并支持对流行 Python 框架进行检测,而无需从头开始构建自定义追踪堆栈。"
github_stars: 4161
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Monitoring & Alerts"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 4161

Logfire Python 可观察性 SDK,用于 LLM 和代理追踪

Logfire is Pydantic's observability SDK for Python applications, with first-class tracing for AI, LLM, and agent workloads. It wraps OpenTelemetry, ships with a hosted UI, and supports instrumenting popular Python frameworks without building a custom tracing stack from scratch.

Prerequisites

python, pip, go, rust

Installation

Use the upstream install or setup path that matches your environment:

  • pip install logfire

Requirements and caveats from upstream:

  • <a href="https://pypi.python.org/pypi/logfire"><img src="https://img.shields.io/pypi/v/logfire.svg" alt="pypi" /></a>
  • Python-centric Insights: From rich display of Python objects, to event-loop telemetry, to profiling Python code and database queries, Logfire gives you unparalleled visibility into your Python application's behavior.
  • OpenTelemetry: Logfire is an opinionated wrapper around OpenTelemetry, allowing you to leverage existing tooling, infrastructure, and instrumentation for many common Python packages, and enabling support for virtu...

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • Logfire 提供针对 AI、LLM 和代理工作负载的一流追踪功能,显著提升 Python 应用的可观察性。
  • 封装 OpenTelemetry,配备托管 UI,支持流行 Python 框架检测,无需自定义追踪堆栈。
Trigger Precision75/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    触发描述清晰但可更具体以覆盖更多变体。

    Recommendation: 建议补充更多触发词变体,如 'logfire setup', 'logfire config', 'logfire tracing' 等。

Highlights

  • description 提供了清晰的触发描述,涵盖了 Logfire 的核心功能和用途。
Structure and Standards70/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未明确说明何时使用此 Skill。

    Recommendation: 建议添加 'When to Use' 章节,说明适用场景。

  • 缺少端到端示例 Reported severity: Minor

    文档缺少详细的端到端使用示例。

    Recommendation: 建议添加完整的端到端示例,展示从安装到使用的完整流程。

  • 文档过长 Reported severity: Minor

    文档内容较长,可能影响阅读体验。

    Recommendation: 建议精简文档内容,突出核心信息。

Highlights

  • 文档结构基本完整,包含安装、认证等步骤。
  • frontmatter 完整,信息清晰。
Execution Reliability65/100

Areas to improve

  • 主要异常未处理 Reported severity: Major

    未覆盖主要异常处理,如网络错误、认证失败等。

    Recommendation: 建议添加异常处理说明,确保用户遇到问题时有解决方案。

  • 不可逆操作无确认机制 Reported severity: Major

    未提及不可逆操作的确认机制。

    Recommendation: 建议在涉及不可逆操作时添加确认步骤。

Highlights

  • 工具来源明确(pip install logfire),参数正确。
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • img.shields.io
  • logfire.pydantic.dev
  • pydantic.dev
  • pypi.python.org
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

python, pip, go, rust

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.