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.16

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.16
File
gl_connectors_tools_binary-0.0.16-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
gl_connectors_tools_binary-0.0.16-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.16-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details
gl_connectors_tools_binary-0.0.16-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
gl_connectors_tools_binary-0.0.16-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.16-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details
gl_connectors_tools_binary-0.0.16-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
gl_connectors_tools_binary-0.0.16-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.16-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details

Total release size: 6.9 MB

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

Download URL gl_connectors_tools_binary-0.0.16-cp313-cp313-win_amd64.whl
Size 633.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c146d127cad32c7263c3214b370b55d6830a3411e0f7714a0e2379af9c749e52
BLAKE2b-256 checksum
How to use checksums
75ecae5c53ffdcb7290b11e9abe411fdab8d7361f30c3a9610bba8c301df31af
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 7, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.16-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
e5a67ac13b11a379976695fa94236f30f5596e9235fa158f1985d3f0b62f186e
BLAKE2b-256 checksum
How to use checksums
84c846b3779565fdabc67505a4592a101b6b3e4b832d79e788a5c889ff9d35e2
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.16-cp313-cp313-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.16-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
c4d0cbfed615e381ab4888f8f0c4cd3ed21a9bd35b0fb16d293c7a6bd055ff03
BLAKE2b-256 checksum
How to use checksums
932c10a022d8194b36896cdbbb3e742b359746d720012ddf0ef59bd6023884a1
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 7, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.16-cp312-cp312-win_amd64.whl
Size 633.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
1fa2db7ad0f8245f762cd089f3b52868e343afc0e0220417af0030d6b8b4cfca
BLAKE2b-256 checksum
How to use checksums
6b777aaafc8f096e95ebb7b1695a78b9d80547bd1037390c431636067ff2f0ff
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 7, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.16-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
1db24f1891016fa9e7306bb479fd02bd42d30e3904799ced0b004ec6b09fae62
BLAKE2b-256 checksum
How to use checksums
e4d7e04f886707ddc060667aefe9e02a31cadf7e46f0725519e96b4967275002
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.16-cp312-cp312-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.16-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
827c2a9b57e9088e9cab8b645f257eadfb1025ad27779abe9fd1834a70ca5cd9
BLAKE2b-256 checksum
How to use checksums
bf0e43da1efb0ad29d7757b9a308723c34d4d574576e72272d96da2265207c35
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 7, 2026.

Transparency log

Release files / gl_connectors_tools_binary-0.0.16-cp311-cp311-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.16-cp311-cp311-win_amd64.whl
Size 657.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a5b9a47076d2dd0d62848fa0074dc7c7991c259d549431c0e0d6b4e218a66c12
BLAKE2b-256 checksum
How to use checksums
8dd006fd2f93ee75260150fd67070f4e5f7369d766fec6714b030b0cdc7cf4ab
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 7, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.16-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
a56d7fa37ce5ca969ed2ffe1d290b3d1c22c76df53bbce2c8f7917902e91e59f
BLAKE2b-256 checksum
How to use checksums
8a3322bd091dd33db224689e5889f9d5ab5d9efee8420549ccfb9da82f661e31
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.16-cp311-cp311-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.16-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
8907023ae1b97de9a17c61aec5526e5ba4e5a80bd49dfc068cd0dda7a1cf1a3b
BLAKE2b-256 checksum
How to use checksums
046471af8d887d7ec1991e9a12c375607b89a6a7ab9e379ad2e28ec46fd65fa2
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 7, 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