Skip to main content

Kagenti ADK

Project description

Kagenti ADK Server SDK

Python SDK for packaging agents for deployment to Kagenti ADK infrastructure.

PyPI version License LF AI & Data

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kagenti_adk-0.8.0rc5.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kagenti_adk-0.8.0rc5-py3-none-any.whl (96.8 kB view details)

Uploaded Python 3

File details

Details for the file kagenti_adk-0.8.0rc5.tar.gz.

File metadata

  • Download URL: kagenti_adk-0.8.0rc5.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

Hashes for kagenti_adk-0.8.0rc5.tar.gz
Algorithm Hash digest
SHA256 5fc2f6f42c27b2c8853f2e1bc3c2ed67eb145a857a457b56ff5e477bb3b9c701
MD5 11dda3570969131c8ea2263f0f2a478d
BLAKE2b-256 515471fbec05efb1da217a6bd2806a9e6f991f7d547215ef683338726a8535d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for kagenti_adk-0.8.0rc5.tar.gz:

Publisher: release.yml on kagenti/adk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kagenti_adk-0.8.0rc5-py3-none-any.whl.

File metadata

  • Download URL: kagenti_adk-0.8.0rc5-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

Hashes for kagenti_adk-0.8.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b08842f3253d9c311dea2cc81d016093592f8ca880110e544512431a8db31f4
MD5 51ad5782b4662407a391318d081ea3f5
BLAKE2b-256 c1b6f8d194fef5f4777c1acb04d0079a7fdd89375e18f4547d6b166fc3578cc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for kagenti_adk-0.8.0rc5-py3-none-any.whl:

Publisher: release.yml on kagenti/adk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page