PINAI Intent SDK
PINAI Intent SDK is a Python client library for interacting with the PINAI Intent Match API.
Installation
pip install pinai-intent-sdk
Quick Start
from pinai_intent_sdk import PINAIIntentSDK
from datetime import datetime
# Initialize SDK
sdk = PINAIIntentSDK(
base_url="https://ifemsp3wkd.us-east-1.awsapprunner.com/",
api_key="your-api-key"
)
# Register a new agent
agent = sdk.register_agent(
name="My Agent",
category="general",
description="A general purpose agent",
api_endpoint="https://my-agent-endpoint.com",
capabilities=["text", "image"],
pricing_model={"per_request": 0.001},
response_time=1.0,
availability=1.0,
metadata={"version": "1.0"}
)
# List agents
agents = sdk.list_agents(category="general", capability="text")
# Get single agent info
agent_info = sdk.get_agent("general_my_agent")
# Update agent information
updated_agent = sdk.update_agent(
agent_id="general_my_agent",
response_time=0.8,
availability=0.95
)
# Unregister agent
sdk.unregister_agent("general_my_agent")
# Get agent metrics
metrics = sdk.get_agent_metrics(
agent_id="general_my_agent",
start_time=datetime(2024, 1, 1),
end_time=datetime(2024, 1, 31)
)
Key Features
- Agent Management
- Register new agents
- Update agent information
- Get agent details
- Unregister agents
- Agent Queries
- List agents with category and capability filters
- Performance Monitoring
- Get agent metrics within specified time ranges
Documentation
For detailed documentation, visit https://docs.pinai.io
Metadata
Release files for pinai-intent-sdk 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pinai_intent_sdk-0.1.5.tar.gz | 6.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pinai_intent_sdk-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / pinai_intent_sdk-0.1.5.tar.gz
| Download URL | pinai_intent_sdk-0.1.5.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d51ae308ee82fbc1666977d950b8f2e135a7de7ab2bf69147bae2200e6b657f
|
|
BLAKE2b-256 checksum How to use checksums |
30cd8072b3ac5bdf71797cfd788420c9b485f3ca49e847600a2718971f062623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Release files / pinai_intent_sdk-0.1.5-py3-none-any.whl
| Download URL | pinai_intent_sdk-0.1.5-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6ecf098f9402a3a0f7a9bdb7b1c33f9af7a1bc2ccaeabe8a1200d9cd4519cac
|
|
BLAKE2b-256 checksum How to use checksums |
283a35dd991db2a9c9a7df8e54c958f2fe42bcccd2923df4a6ac56917a983302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Security for pinai-intent-sdk 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.