Skip to main content

GL Connectors Tool SDK

Framework-agnostic tool SDK for building tools that work with GLLM Core, LangChain, and Google ADK.

Installation

(Alternative to uv add would be pip install)

# Core SDK only
uv add gl-connectors-tools

# With GLLM Core support
uv add gl-connectors-tools[gllm]

# With LangChain support
uv add gl-connectors-tools[langchain]

# With Google ADK Support
uv add gl-connectors-tools[adk]

# With SendEmailTool (gl_connectors_tools.shared.email)
uv add gl-connectors-tools[email]

# With all frameworks
uv add gl-connectors-tools[all]

Quick Start

Creating a Tool

from pydantic import BaseModel, Field
from gl_connectors_tools.tools import SDKBaseTool


class SearchInput(BaseModel):
    query: str = Field(description="Search query")
    max_results: int = Field(default=10, description="Maximum results to return")


class SearchTool(SDKBaseTool):
    name = "search"
    description = "Searches for information"
    input_schema = SearchInput

    def run(self, query: str, max_results: int = 10) -> str:
        # Your implementation here
        return f"Found {max_results} results for: {query}"

Using with Different Frameworks

from gl_connectors_tools.adapters import (
    to_gllm_tool,      # GLLM Core
    to_langchain_tool,  # LangChain
    to_adk_function,    # Google ADK
)

tool = SearchTool()

# Convert to GLLM Core Tool
gllm_tool = to_gllm_tool(tool)

# Convert to LangChain StructuredTool
lc_tool = to_langchain_tool(tool)

# Convert to ADK FunctionDeclaration
func_decl, callable_fn = to_adk_function(tool)

Migrating from LangChain

Change the import and the base class. The SDK accepts LangChain naming conventions out of the box:

- from langchain_core.tools import BaseTool
+ from gl_connectors_tools.tools import SDKBaseTool

- class MyTool(BaseTool):
+ class MyTool(SDKBaseTool):
      name = "my_tool"
      description = "..."
      args_schema = MyInput      # ✅ Works as-is!

      def _run(self, **kwargs):  # ✅ Works as-is!
          # implementation unchanged

The SDK supports both naming conventions:

LangChain Style SDK Style
args_schema input_schema
_run() run()
_arun() arun()

Alternative: Wrapper for Existing Instances

If you have existing LangChain tool instances you can't modify:

from gl_connectors_tools.adapters.langchain import LangChainToolWrapper

# Existing LangChain tool instance
from my_app.tools import MyLangChainTool

# Wrap it
sdk_tool = LangChainToolWrapper(MyLangChainTool())

# Now use it with any adapter
gllm_tool = to_gllm_tool(sdk_tool)

Predefined Tools

from gl_connectors_tools.predefined import TimeTool

tool = TimeTool()
result = tool.run(timezone="Asia/Jakarta")

Architecture

┌─────────────────────────────────────────────────┐
│               Your SDK Tools                     │
│         (inherit from SDKBaseTool)               │
└─────────────────────────────────────────────────┘
                      │
        ┌─────────────┼─────────────┐
        ▼             ▼             ▼
   ┌─────────┐  ┌─────────┐  ┌─────────┐
   │  GLLM   │  │LangChain│  │   ADK   │
   │ Adapter │  │ Adapter │  │ Adapter │
   └─────────┘  └─────────┘  └─────────┘

The SDK owns the tool interface. Frameworks become output adapters, not the source of truth.

Metadata

Release files for gl-connectors-tools-binary 0.0.18.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for gl-connectors-tools-binary 0.0.18.post1
File Actions
gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-win_amd64.whl
gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details for gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-macosx_13_0_arm64.whl
gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-win_amd64.whl
gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details for gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-macosx_13_0_arm64.whl
gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-win_amd64.whl
gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details for gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-macosx_13_0_arm64.whl

Total release size: 4.3 MB

Release files / gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-win_amd64.whl
Size 689.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e01bf04c7b421c63f2c385d0aa4f8e1a5c402619d82a060791a083817779a5f2
BLAKE2b-256 checksum
How to use checksums
9fee71c85ba982dd520806d95c5384f3ba94ad0b840eb399c9d2b32ecbbfcc7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-macosx_13_0_arm64.whl
Size 762.9 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
3e0d98172e8e3f903f8ba5d54539dbfaef425a96cd58d82bb832297a3f7a5ce7
BLAKE2b-256 checksum
How to use checksums
8e5afb8603e3b2b74f6f2bbd886b9ce500551cccceddb2f17462246bd2310a14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-win_amd64.whl
Size 688.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
11deaa8cbc6d6c595394b6901991068fec8ccd6bd5228e155fd090bbb3c6521b
BLAKE2b-256 checksum
How to use checksums
572611a9e7b8f184451b9855b693cc3df687210ae8aa5c16ebe06a2e1fa4e14c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.18.post1-cp312-cp312-macosx_13_0_arm64.whl
Size 738.4 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
dcc684a7f0ba067b54742089e5bbf73afa53364cc637710f88572c826a619cbf
BLAKE2b-256 checksum
How to use checksums
9d76f6a54b8a239c723102ce99b7a05af5d5413bb9f313daed619916e58356ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-win_amd64.whl
Size 716.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
781ed3fe6c4dbea600c3e836418733faafbc041783c670b9eb7985e037f32612
BLAKE2b-256 checksum
How to use checksums
65cb9062d2209b675a5d610d23e7afe31d7c8972e4d2b2f5a72444e619b170a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.18.post1-cp311-cp311-macosx_13_0_arm64.whl
Size 734.6 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
1aea541e251cfbe07659c265ecfb85eaccbf0651699a35c6f497e0908473da40
BLAKE2b-256 checksum
How to use checksums
4bb2e585fef419220b16991514421f61d9919baafce5bcf700b20ad65c431444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 26, 2026.

Transparency log

Security for gl-connectors-tools-binary 0.0.18.post1

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for gl_connectors_tools_binary-0.0.18.post1-cp313-cp313-win_amd64.whl

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 Oct 26, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page