MCP Server Framework and Tool Development library for building custom capabilities into agents.
Find a file
Sam Partee 4b469eaa66
CI pipeline (#4)
Start of the CI/CD workflow for the python library and actor.

Covered:
- multiple python versions with Tox (3.10+) and pytest
- Docs eventually with mkdocs (commented out for now)
- Linting and formatting with Ruff and prettier
- Codecov
- include the mypy checks when the mypy errors are resolved.
2024-07-16 17:36:32 -07:00
.github CI pipeline (#4) 2024-07-16 17:36:32 -07:00
arcade CI pipeline (#4) 2024-07-16 17:36:32 -07:00
examples MyPy Compliant (#5) 2024-07-16 17:01:38 -07:00
schemas/preview MyPy Compliant (#5) 2024-07-16 17:01:38 -07:00
.editorconfig MyPy Compliant (#5) 2024-07-16 17:01:38 -07:00
.gitignore Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00
.pre-commit-config.yaml MyPy Compliant (#5) 2024-07-16 17:01:38 -07:00
.prettierrc.toml MyPy Compliant (#5) 2024-07-16 17:01:38 -07:00
CONTRIBUTING.md MyPy Compliant (#5) 2024-07-16 17:01:38 -07:00
cspell.config.yaml Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00
LICENSE Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00
README.md Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00

Release Build status codecov Commit activity License

Arcade-AI

ToolServe is a framework specifically designed to manage and orchestrate Language Learning Models (LLMs) or "tools" with high efficiency. It distinctively separates the tools from the orchestration framework to improve dependency management, packaging, and execution.

The server enhances data management capabilities, enabling LLMs to interact with structured data efficiently without the need to return the entire dataset to the context window.

This functionality is especially beneficial for agents tasked with performing actions or responding to queries based on extensive structured datasets.

Components

1. Command Line Interface (CLI)

The CLI component, located at toolserve/cli/main.py, offers commands to package, serve, and inspect LLM "tools". It utilizes the Typer library to manage command-line arguments and options.

2. Server

The server component, which manages the storage of artifacts, data, and logs generated by the tools, is implemented using FastAPI and can be found at toolserve/server/main.py. The server configuration includes routes, middleware, and database connections.

3. SDK

Located at toolserve/sdk, the SDK streamlines the development of tools by providing decorators and helper functions that abstract routine tasks, allowing developers to concentrate on the logic of the tool rather than on repetitive code.

4. Builtins

Built-in tools for common tasks such as SQL queries are available at toolserve/builtin/default. These tools are ready to use and require no additional setup.

Installation

To install the ToolServe package, execute the following command:

pip install toolserve