Skip to main content

Repository of Python functions and tools for LLMs

Project description

stores

Repository of Python functions and tools for LLMs

Why we built Stores

Just as tool use is often cited as a key development in human civilization, we believe that tool use represents a major transition in AI development.

The aim of Stores is to make it super simple to build LLM Agents that use tools.

There are two main elements:

  1. A public repository of tools that anyone can contribute to
  2. This Python library that handles tool installation and formatting

For more details, check out the documentation.

Design principles

  • Open-source: Each set of tools in the Stores collection is a public git repository. In the event the Stores database is no longer operational, the library and tools will still work as long as the git repositories exist.
  • Isolation: Tools are isolated in their own virtual environments. This makes it trivial to manage tools with conflicting dependencies and reduces unnecessary access to sensitive environment variables.
  • Framework compatibility: In order to pass information about tools, LLM providers often require different formats that can make it cumbersome to switch between providers. Stores makes it easy to output the required formats across providers.

Usage

pip install stores

Or if you are using uv:

uv add stores

Then load one of the available indexes and use it with your favorite LLM package.

import anthropic
import stores

client = anthropic.Anthropic()

index = stores.Index(["silanthro/hackernews"])

response = client.messages.create(
    model=model,
    messages=messages,
    tools=index.format_tools("anthropic"),
)

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

stores-0.1.6.tar.gz (215.3 kB view details)

Uploaded Source

Built Distribution

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

stores-0.1.6-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file stores-0.1.6.tar.gz.

File metadata

  • Download URL: stores-0.1.6.tar.gz
  • Upload date:
  • Size: 215.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for stores-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a5376d181483b2c0f4d483aedd94392af015ad06924b8521924a2b0a0c02b3f3
MD5 6474f375ae12eb3aab5872825e7cd7ff
BLAKE2b-256 6ffaa477552f81fb220eeaeab44e5abddb02e186695c918f9a76c913a1712543

See more details on using hashes here.

File details

Details for the file stores-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: stores-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for stores-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 54eb22af560a181685b7d04006b063ff13d1612069d32dbea1c5988036d05891
MD5 9861e9efedb8871cf40220bd159952c0
BLAKE2b-256 7b3f0e21e5ea36f130a67ff8868bde2a2abacfb4f02dbdeabf6ad9dbca9f9f72

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