Kagenti ADK
Project description
Kagenti ADK Server SDK
Python SDK for packaging agents for deployment to Kagenti ADK infrastructure.
Overview
The kagenti-adk provides Python utilities for wrapping agents built with any framework (LangChain, CrewAI, BeeAI Framework, etc.) for deployment on Kagenti ADK. It handles the A2A (Agent-to-Agent) protocol implementation, platform service integration, and runtime requirements so you can focus on agent logic.
Key Features
- Framework-Agnostic Deployment - Wrap agents from any framework for Kagenti ADK deployment
- A2A Protocol Support - Automatic handling of Agent-to-Agent communication
- Platform Service Integration - Connect to Kagenti ADK's managed LLM, embedding, file storage, and vector store services
- Context Storage - Manage data associated with conversation contexts
Installation
uv add kagenti-adk
Quickstart
import os
from a2a.types import (
Message,
)
from a2a.utils.message import get_message_text
from kagenti_adk.server import Server
from kagenti_adk.server.context import RunContext
from kagenti_adk.a2a.types import AgentMessage
server = Server()
@server.agent()
async def example_agent(input: Message, context: RunContext):
"""Polite agent that greets the user"""
hello_template: str = os.getenv("HELLO_TEMPLATE", "Ciao %s!")
yield AgentMessage(text=hello_template % get_message_text(input))
def run():
try:
server.run(host=os.getenv("HOST", "127.0.0.1"), port=int(os.getenv("PORT", 8000)))
except KeyboardInterrupt:
pass
if __name__ == "__main__":
run()
Run the agent:
uv run my_agent.py
Available Extensions
The SDK includes extension support for:
- Citations - Source attribution (
CitationExtensionServer,CitationExtensionSpec) - Trajectory - Agent decision logging (
TrajectoryExtensionServer,TrajectoryExtensionSpec) - Settings - User-configurable agent parameters (
SettingsExtensionServer,SettingsExtensionSpec) - LLM Services - Platform-managed language models (
LLMServiceExtensionServer,LLMServiceExtensionSpec) - Agent Details - Metadata and UI enhancements (
AgentDetail) - And more - See Documentation
Each extension provides both server-side handlers and A2A protocol specifications for seamless integration with Kagenti ADK's UI and infrastructure.
Resources
Contributing
Contributions are welcome! Please see the Contributing Guide for details.
Support
Developed by contributors to the Kagenti project, this initiative is part of the Linux Foundation AI & Data program. Its development follows open, collaborative, and community-driven practices.
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 kagenti_adk-0.8.0.tar.gz.
File metadata
- Download URL: kagenti_adk-0.8.0.tar.gz
- Upload date:
- Size: 58.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cde83a231913b7323c03b9b73fa3aeff9fda16627fd739a68c2cb3b1a18c790
|
|
| MD5 |
a5a0d92470151725167313fa635a1827
|
|
| BLAKE2b-256 |
5d8a53cbc002acd55190be7bf084daa212aa7b2bdd54cc8ba32b8fe9c44caffc
|
Provenance
The following attestation bundles were made for kagenti_adk-0.8.0.tar.gz:
Publisher:
release.yml on kagenti/adk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kagenti_adk-0.8.0.tar.gz -
Subject digest:
1cde83a231913b7323c03b9b73fa3aeff9fda16627fd739a68c2cb3b1a18c790 - Sigstore transparency entry: 1199001428
- Sigstore integration time:
-
Permalink:
kagenti/adk@88363de75b5d314f34f6879dae5181e1d2f586b0 -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/kagenti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@88363de75b5d314f34f6879dae5181e1d2f586b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kagenti_adk-0.8.0-py3-none-any.whl.
File metadata
- Download URL: kagenti_adk-0.8.0-py3-none-any.whl
- Upload date:
- Size: 96.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07ce754981b01bdb3642db37d7729c647e4f2a428bf1ffd130843dbd774848ed
|
|
| MD5 |
8c783b3e91ecce7391afabe49be81fb9
|
|
| BLAKE2b-256 |
ea3f8d752cd9b261899cca3f90e992b1f21ec0f6ca7aca34c96f41efed00a56d
|
Provenance
The following attestation bundles were made for kagenti_adk-0.8.0-py3-none-any.whl:
Publisher:
release.yml on kagenti/adk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kagenti_adk-0.8.0-py3-none-any.whl -
Subject digest:
07ce754981b01bdb3642db37d7729c647e4f2a428bf1ffd130843dbd774848ed - Sigstore transparency entry: 1199001580
- Sigstore integration time:
-
Permalink:
kagenti/adk@88363de75b5d314f34f6879dae5181e1d2f586b0 -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/kagenti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@88363de75b5d314f34f6879dae5181e1d2f586b0 -
Trigger Event:
push
-
Statement type: