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 BaseTool


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


class SearchTool(BaseTool):
    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 (Zero-Change!)

Just change the import. The SDK accepts LangChain naming conventions out of the box:

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

  class MyTool(BaseTool):
      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 BaseTool)                  │
└─────────────────────────────────────────────────┘
                      │
        ┌─────────────┼─────────────┐
        ▼             ▼             ▼
   ┌─────────┐  ┌─────────┐  ┌─────────┐
   │  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.14

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.14
File
gl_connectors_tools_binary-0.0.14-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
gl_connectors_tools_binary-0.0.14-cp313-cp313-manylinux_2_31_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.31+ x86-64 Details
gl_connectors_tools_binary-0.0.14-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
gl_connectors_tools_binary-0.0.14-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
gl_connectors_tools_binary-0.0.14-cp312-cp312-manylinux_2_31_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.31+ x86-64 Details
gl_connectors_tools_binary-0.0.14-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
gl_connectors_tools_binary-0.0.14-cp311-cp311-manylinux_2_31_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.31+ x86-64 Details
gl_connectors_tools_binary-0.0.14-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 6.2 MB

Release files / gl_connectors_tools_binary-0.0.14-cp313-cp313-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp313-cp313-win_amd64.whl
Size 633.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
2fe2bf6ef3b48924d87da924d29ac97d6382dcf8a3be6464e2689265166ef340
BLAKE2b-256 checksum
How to use checksums
d7acca5849b9e767eeec0c98f5a0e65ec66f488a80d2d64f7d82988adc0f215c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.14-cp313-cp313-manylinux_2_31_x86_64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp313-cp313-manylinux_2_31_x86_64.whl
Size 988.8 kB
Tags CPython 3.13 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
786bafab0ad9ce93c612a79b6a31b88b86b16d701ff65919295009fc88d34405
BLAKE2b-256 checksum
How to use checksums
b16e23a122e027c95a2ce6c899d6ef7f540e8dcbe3385d53c5b929376cc08002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.16

Release files / gl_connectors_tools_binary-0.0.14-cp313-cp313-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp313-cp313-macosx_13_0_arm64.whl
Size 703.0 kB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
7b2b079ebe58e81d41a35de87b8c6978d7f8df33c7c2b3abe79deceed68debbd
BLAKE2b-256 checksum
How to use checksums
6acc9ddf23397b384c417d51668c347e66a03c3c7c575bd85f29e3524a8c6bd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.14-cp312-cp312-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp312-cp312-win_amd64.whl
Size 633.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0f4def31ba3bc6e38832df580c92e522d97b377a7feecaafb2e03afa3bb9bd19
BLAKE2b-256 checksum
How to use checksums
09981cabc4f9dd25588f29a44f2afc6e4bbb37734cffa02217e2735c960af4b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.14-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp312-cp312-manylinux_2_31_x86_64.whl
Size 983.6 kB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
e6100f8e51bf70e14c02694e095218a07d7949d1c186c1f0db4659342616d8b0
BLAKE2b-256 checksum
How to use checksums
6cd3cd692e9b6e0f75066d83b5475fb44402f74e616d690feb110820378f6b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.16

Release files / gl_connectors_tools_binary-0.0.14-cp312-cp312-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp312-cp312-macosx_13_0_arm64.whl
Size 680.9 kB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c2ca120b345e0a9d74275608595a41be8afc07b695a5ac3884790468744e5399
BLAKE2b-256 checksum
How to use checksums
7e038cbddcbb2c955ce167029abb92ab9f55104a57a01058d97edced39bd370a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.14-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp311-cp311-manylinux_2_31_x86_64.whl
Size 896.1 kB
Tags CPython 3.11 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
8d92a9aae9cbc9407fbb697f4df69a64f8894e82b434d371a9ec8d4d3c11808c
BLAKE2b-256 checksum
How to use checksums
aa72c3d47616aa623afeff7f8b822d8690a61c95e5ec4aa9da384ca1b4b0fb18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.16

Release files / gl_connectors_tools_binary-0.0.14-cp311-cp311-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.14-cp311-cp311-macosx_13_0_arm64.whl
Size 674.9 kB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
0879d8f8753f744442029ec42f5bbf3bd40ce832282d7eafd375badcc443faf0
BLAKE2b-256 checksum
How to use checksums
03de135166e9465744cd6797dbf51d6dcbf3b3cb468cd7fdc3ecda00e106d087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log
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