Skip to main content

Additional service implementations for Google ADK

Project description

ADK Extra Services

License Python Tests

Extensions and additional services for the Agent Development Kit (ADK)

ADK Extra Services provides production-ready implementations of common services needed for building robust AI agents with the Google ADK framework.

🚀 Installation

pip install adk-extra-services

🛠️ Development Setup

If you want to contribute to the project or modify the source code, follow these steps:

  1. Clone the repository:

    git clone https://github.com/edu010101/adk-extra-services.git
    cd adk-extra-services
    
  2. Check out our Contributing Guidelines for detailed setup instructions and development workflow.

📖 Services

🔄 Sessions

Persistent session storage implementations for ADK agents.

Available Services:

  • MongoDBSessionService: Persistent session storage using MongoDB

    from adk_extra_services.sessions import MongoSessionService
    
    mongo_service = MongoSessionService(
      mongo_url="mongodb://your_mongo_uri:your_mongo_port",
      db_name="adk_test"
    )
    
  • RedisSessionService: High-performance session storage using Redis

    from adk_extra_services.sessions import RedisSessionService
    
    redis_service = RedisSessionService(redis_url="redis://your_redis_uri:your_redis_port")
    

For complete usage examples and API documentation, see the Sessions Guide.

📦 Artifacts

Storage and management of agent artifacts.

Available Services:

  • S3ArtifactService: Store and manage artifacts in AWS S3 or compatible storage (Compatible with MinIO, DigitalOcean Spaces, Wasabi, Backblaze B2, and others)

    from adk_extra_services.artifacts import S3ArtifactService
    
    s3_artifact_service = S3ArtifactService(
      bucket_name="your_bucket_name",
      endpoint_url="https://{your-bucket-name}.s3.{region}.amazonaws.com",
    )
    
  • LocalFolderArtifactService: Lightweight local-filesystem storage ideal for development & testing environments.

    from adk_extra_services.artifacts import LocalFolderArtifactService
    
    artifact_service = LocalFolderArtifactService(base_path="./artifacts_storage")
    
  • AzureBlobArtifactService: Store and manage artifacts in Azure Blob Storage

    from adk_extra_services.artifacts import AzureBlobArtifactService
    from azure.core.credentials import AzureSasCredential
    
    azure_service = AzureBlobArtifactService(
        account_url="https://yourstorageaccount.blob.core.windows.net",
        container_name="your-container-name",
        credential=AzureSasCredential("your-sas-token"),
        ensure_container=True,
    )
    
  • SupabaseArtifactService: Store and manage artifacts in Supabase Storage

    from adk_extra_services.artifacts import SupabaseArtifactService
    
    supabase_service = SupabaseArtifactService(
        bucket_name="artifacts"  # or from env vars SUPABASE_BUCKET
    )
    

For complete usage examples and API documentation, see the Artifacts Guide.

🤝 Contributing

Contributions are welcome! Please see our Contributing Guidelines for details.

📄 License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

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

adk_extra_services-0.1.7.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

adk_extra_services-0.1.7-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file adk_extra_services-0.1.7.tar.gz.

File metadata

  • Download URL: adk_extra_services-0.1.7.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for adk_extra_services-0.1.7.tar.gz
Algorithm Hash digest
SHA256 0bdf3e41449a038642fd5fd9584f1e0b58629f7a2c27e10b9fe017334e829d59
MD5 4b1ee06c8c3f1bcb6bdb5a71fb36bc95
BLAKE2b-256 9ac7349348ad17984908dec6e15cb3937d0db8fdc98d001947a1adab4be5779e

See more details on using hashes here.

File details

Details for the file adk_extra_services-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for adk_extra_services-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 03b682a3906e49cf0eb3df461cfbe35e874baea50750741c492b3e35ba8c5a41
MD5 18868dfd341ef28af2e33d638ba4a695
BLAKE2b-256 d6edd6628803aabf20a2c57eb50b2f01b1a588fa2239ef7697601416801a7f9b

See more details on using hashes here.

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