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.
Release files for kagenti-adk 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kagenti_adk-0.8.1.tar.gz | 67.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kagenti_adk-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 174.7 kB
Release files / kagenti_adk-0.8.1.tar.gz
| Download URL | kagenti_adk-0.8.1.tar.gz |
|---|---|
| Size | 67.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be807210c3a6efb977c2b3019a1ddcaab663c3b5dd88e5772ac741d2e2194b54
|
|
BLAKE2b-256 checksum How to use checksums |
88c18bcf844a215d8eac777fecf92941f0b634363763af38de8431ebe50a9962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 1, 2026.
Transparency logRelease files / kagenti_adk-0.8.1-py3-none-any.whl
| Download URL | kagenti_adk-0.8.1-py3-none-any.whl |
|---|---|
| Size | 107.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0491fae4b80fbf040e3e0a6d052821e1abd7fa224e3a0d7b858a5971c18d1f44
|
|
BLAKE2b-256 checksum How to use checksums |
2dffd9a4ce57bafc99419948851ec75ba796a82279638494757e7a1a966c2bb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 1, 2026.
Transparency log