Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.14b1

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

Download URL gl_connectors_tools_binary-0.0.14b1-cp313-cp313-win_amd64.whl
Size 633.9 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
3b3bf2d14e83250d2d4972b450c71cb2a1c1989698c2c921a24a69015520d9ba
BLAKE2b-256 checksum
How to use checksums
29339dd89218e2c7eb1c6a0b27e271f0ae7acd6e3591e870032bb43800162bf1
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 3, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.14b1-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
509a57f448a1389be080223e8532c3f00358d26c106ea3712276049d5321d95a
BLAKE2b-256 checksum
How to use checksums
43b0a548dd34e81b8fe9f4d3b2829a3d77f9a3086c9ed36fce1afeba5ab8fbca
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.14b1-cp313-cp313-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.14b1-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
268d6d2af959af06b28bfcb8e716c4f9cbcadf5d93e16ecfe890cf3440cb7ae5
BLAKE2b-256 checksum
How to use checksums
4fc2a488fb8653cc65535f305844b4582b8e2f88a0fa54908f3a522af3997bb7
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 3, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.14b1-cp312-cp312-win_amd64.whl
Size 633.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
1cc5be8a43c7366cc4da9b1677bf502301f4169a7e0855fad64b26c457e24940
BLAKE2b-256 checksum
How to use checksums
2207811993b731f0133c8474536a5db6a0ae5ed94f5f801dbd41011805581bd8
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 3, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.14b1-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
3d9928f7bd391abc4a1fa1e670ff2aad0efe9a63576ae75fbf57ad03c936ef30
BLAKE2b-256 checksum
How to use checksums
c363b21255722b8fbdad2224ba84c19832eef782d1faef5f7eac88aca93e4e4a
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.14b1-cp312-cp312-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.14b1-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
753783e8c6e220c6c04ed0549596cf59259c12b0a575757f3067f09c4e566450
BLAKE2b-256 checksum
How to use checksums
787628d5f5c59e1ca3ef6b119274212d08ca8636fd05e9dc38a54352bc01df8f
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 3, 2026.

Transparency log

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

Download URL gl_connectors_tools_binary-0.0.14b1-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
49da41405bd6b36db9f16ca336f2d96342a70e424ec96db6364d056ebb9714ee
BLAKE2b-256 checksum
How to use checksums
8f711443c3c8d4007450d71c15b793a92246c19dd5cd497127a7fdc48d32c831
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.14b1-cp311-cp311-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.14b1-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
fbc9e7e32dbdfcf9cffa97ff935f57a7a59eb78cef7cfa6d97fa9ab07a251eab
BLAKE2b-256 checksum
How to use checksums
6fb61b4e87c9d662ff577beb8f5883b7624e61f9ea95cea88a244464fe2e3ff1
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 3, 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