Skip to main content

ToolMate-SDK: a software developement kit for developing agentic AI applications that support 13 LLM backends and integrate tools and agents. (Developer: Eliran Wong)

Project description

# ToolMate AI - SDK

ToolMate-SDK: a software developement kit for developing agentic AI applications that support 13 LLM backends and integrate tools and agents. (Developer: Eliran Wong)

Supported backends: anthropic, azure, custom, deepseek, genai, github, googleai, groq, llamacpp, mistral, ollama, openai, vertexai, xai

# A Sibling Project

This SDK incorporates the best aspects of our favorite project, [Toolmate AI](https://github.com/eliranwong/toolmate), to create a library aimed at further advancing the development of AI applications.

# Supported backends

anthropic - [Anthropic API](https://console.anthropic.com/)

azure - [Azure OpenAI API](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)

custom - any openai-compatible backends

deepseek - [DeepSeek API](https://platform.deepseek.com/)

genai - [Vertex AI](https://cloud.google.com/vertex-ai) or [Google AI](https://ai.google.dev/)

github - [Github API](https://github.com/marketplace/models/azure-openai/gpt-4o)

googleai - [Google AI](https://ai.google.dev/)

groq - [Groq Cloud API](https://console.groq.com)

llamacpp - [Llama.cpp Server](https://github.com/ggerganov/llama.cpp) - [locat setup](https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md) required

mistral - [Mistral API](https://console.mistral.ai/api-keys/)

ollama - [Ollama](https://ollama.com/) - [local setup](https://ollama.com/download) required

openai - [OpenAI API](https://platform.openai.com/)

vertexai - [Vertex AI](https://cloud.google.com/vertex-ai)

xai - [XAI API](https://x.ai/api)

For simplicity, toolmate-sdk uses ollama as the default backend, if parameter backend is not specified. Ollama models are automatically downloaded if they have not already been downloaded.

# Installation

Basic:

> pip install –upgrade toolmate-sdk

Basic installation supports all AI backends mentioned above, except for vertexai.

Extras:

We support Vertex AI via [Google GenAI SDK](https://pypi.org/project/google-genai/). As this package supports most platforms, except for Android Termux, we separate this package google-genai as an extra. To support Vertex AI with toolmate-sdk, install with running:

> pip install –upgrade toolmate-sdk[genai]

# Usage

This SDK is designed to provide a single function for interacting with all AI backends, delivering a unified experience for generating AI responses. The main APIs are provided with the function generate located in this [file](https://github.com/eliranwong/toolmate-sdk/blob/main/toolmate_sdk/__init__.py#L28).

Find documentation at https://github.com/eliranwong/toolmate-sdk/tree/main/toolmate_sdk/docs/README.md

# Examples

An example, assuming [Ollama](https://ollama.com/) is [installed](https://ollama.com/download):

‘’’ from toolmate_sdk import generate

generate(“What is generate AI?”) ‘’’

Read more examples at:

https://github.com/eliranwong/toolmate-sdk/tree/main/toolmate-sdk/examples

# TODO

  • add documentation

  • add examples

  • convert availble ToolMate AI tools into tools that runable with this SDK

  • added built-in system messages

  • added built-in predefined contexts

  • added built-in prompts

  • add cli options for running simple inference, tools or testing

  • check backends that use getParameterSchema

  • add agent to handle code generation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toolmate_sdk-0.0.8.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toolmate_sdk-0.0.8-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file toolmate_sdk-0.0.8.tar.gz.

File metadata

  • Download URL: toolmate_sdk-0.0.8.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for toolmate_sdk-0.0.8.tar.gz
Algorithm Hash digest
SHA256 979175430d41896dbb1c08c2590de1c5384366f020a8fdfc05cf158374b95c99
MD5 8646f7205a6bf5f0a78c849e6bed972c
BLAKE2b-256 4bc0e7d5e51bdce50396c140510c75898a98216ceb9dbb0b963ffefa7ee6960c

See more details on using hashes here.

File details

Details for the file toolmate_sdk-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: toolmate_sdk-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for toolmate_sdk-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0c7f484d1303605e5f28bc9b5df03be0f4364c0261dc0c66e9637fc66e721334
MD5 cd29afa6bff0d09fe88d8fa56c67cea8
BLAKE2b-256 8706ba863200af6a5f881e7a628c96898c71132e15f593eb4275a86e31b61ac1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page