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

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

Download URL gl_connectors_tools_binary-0.0.15-cp313-cp313-win_amd64.whl
Size 633.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
cdbde6872e410d98dab160a772ace7c6bd7a185d4769a53bcdec9b8b01245ed6
BLAKE2b-256 checksum
How to use checksums
6e6cdba0f16290aabfc0b5ffeb5e654a6352ab2e5bbffe837c2c8fe856d3785f
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.15-cp313-cp313-manylinux_2_31_x86_64.whl

Download URL gl_connectors_tools_binary-0.0.15-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
c4d24a1846d621362624bd38e147c278cad82a2b505b52f95a78b41c26a0a289
BLAKE2b-256 checksum
How to use checksums
2d53190863b3599deff6247f16154da647b74765dd1934a6ca5afffe265b312f
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.15-cp313-cp313-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.15-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
5077f948468e73691cd29a196e4f2b649454afee51a0022f33c09a01f920b0ba
BLAKE2b-256 checksum
How to use checksums
85c782e7fa83c646070df2ab4d8a7bec44988e7b96644bfbcaec0115c1d402b2
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.15-cp312-cp312-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.15-cp312-cp312-win_amd64.whl
Size 633.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
46f81f294ece012816bfed585707feb1b57216e5ca21296ee3abff11f15fb764
BLAKE2b-256 checksum
How to use checksums
3d2ef918807f12f6f1791d3b6b97d307bddd38ae7797bdc55af9d74f15dd40f7
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.15-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL gl_connectors_tools_binary-0.0.15-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
67242e5b1464ba4f80187807bcc046cf973f2f4823808d817c7c9955ef1228fc
BLAKE2b-256 checksum
How to use checksums
b99fca6cd07e86ed047fbc9d4813a1befec22c0e23d2efecc70c055d3b28d686
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.15-cp312-cp312-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.15-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
0ff83bcac0bf901bb21fd01a8e3b7d67f7e883e5af19632f07a4599e8abf154f
BLAKE2b-256 checksum
How to use checksums
7e6a97880b7756a542500d14957141361b81c2b48988f54969cc64b9ca0d6015
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.15-cp311-cp311-win_amd64.whl

Download URL gl_connectors_tools_binary-0.0.15-cp311-cp311-win_amd64.whl
Size 657.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a4f79e47a578bfcbadb6afa364f003a9aa766f73599adc3c10690736aca94b16
BLAKE2b-256 checksum
How to use checksums
a8195e762be0d56e35023a13787f7f5ecee5cbbb818b3ca448f98f6361fbc2bf
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.15-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL gl_connectors_tools_binary-0.0.15-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
a763e4071efd69854bce051cd5b59c28cda07aae8957edb57e46bb3da3da8f8c
BLAKE2b-256 checksum
How to use checksums
63241fe3df07ed8324dc5adea6fae336fe2d72a645bcb94ea14572dd8e1ff9f4
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.15-cp311-cp311-macosx_13_0_arm64.whl

Download URL gl_connectors_tools_binary-0.0.15-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
37e6508b06ba418dd57b86bc545faa60ebbd05396f92b9a02af0ecf53964a14d
BLAKE2b-256 checksum
How to use checksums
af12faf67ef5d0177f18d4c0d695b8cedc7f541e54be95750b4836b297088056
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