Metadata-Version: 2.4
Name: agentledger-langfuse
Version: 1.2.3
Summary: Langfuse evidence and trace export adapter package for AgentLedger
Project-URL: Homepage, https://github.com/yaogdu/AgentLedger
Project-URL: Repository, https://github.com/yaogdu/AgentLedger
Project-URL: Documentation, https://github.com/yaogdu/AgentLedger/tree/main/docs
Project-URL: Issues, https://github.com/yaogdu/AgentLedger/issues
Author: AgentLedger Contributors
License: Apache-2.0
Keywords: agents,evidence,langfuse,runtime,tracing
Requires-Python: >=3.11
Requires-Dist: agentledger-runtime<2,>=1.2
Description-Content-Type: text/markdown

# agentledger-langfuse

Langfuse evidence and trace export adapter package for AgentLedger.

```bash
pip install agentledger-langfuse
pip install "agentledger-runtime[langfuse]"
```

```python
from agentledger_langfuse import LangfuseTraceExporter

payload = LangfuseTraceExporter().to_ingestion_payload(evidence_bundle)
```

This adapter is intentionally thin. It converts AgentLedger evidence spans into Langfuse-style ingestion records and can POST JSON to a user-provided endpoint. It does not replace Langfuse, own project/key management, or import the Langfuse SDK in runtime-core.

Certification:

```bash
python3 -m agentledger adapter certify --kind langfuse --adapter-version 1.2.3
```
