Respan exporter for Agno traces
Project description
Keywords AI Exporter for Agno
Installation
pip install keywordsai-exporter-agno
Usage
import os
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from keywordsai_exporter_agno import KeywordsAIAgnoInstrumentor
KeywordsAIAgnoInstrumentor().instrument(api_key="your-keywordsai-api-key")
agent = Agent(
name="Example Agent",
model=OpenAIChat(id="gpt-4o-mini", api_key=os.getenv("OPENAI_API_KEY")),
)
agent.run("hello from agno")
Gateway Calls (optional)
import os
from agno.agent import Agent
from agno.models.openai import OpenAIChat
gateway_base_url = os.getenv(
"KEYWORDSAI_GATEWAY_BASE_URL",
"https://api.keywordsai.co/api",
)
agent = Agent(
name="Gateway Agent",
model=OpenAIChat(
id="gpt-4o-mini",
api_key=os.getenv("KEYWORDSAI_API_KEY"),
base_url=gateway_base_url,
),
)
agent.run("hello from KeywordsAI gateway")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file respan_exporter_agno-1.0.1.tar.gz.
File metadata
- Download URL: respan_exporter_agno-1.0.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.8 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91fb8702dbaf7ca6368b0bc7047afe41f3b1805ad1a56f9c3957e972b87486a2
|
|
| MD5 |
5e5c2b7bb49c9fec5a150c221fe38365
|
|
| BLAKE2b-256 |
6d12b299ade3ad4646db4fdef6291ab4bc685337f82a0c33e9efd294d1ea611c
|
File details
Details for the file respan_exporter_agno-1.0.1-py3-none-any.whl.
File metadata
- Download URL: respan_exporter_agno-1.0.1-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.8 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49246344c31e7b5f83f264d204199eec6e46d0bfcfac9f804473b62bc18f308b
|
|
| MD5 |
b075d767b8dfc3601ef27fa61ea1902b
|
|
| BLAKE2b-256 |
045b1b8d8593e87ca337c4b5b11c6b6c9672d2834ba48413db266ee4195b9be3
|