2025-03-12 14:23:13 -04:00
x
2025-03-12 14:22:44 -04:00
2025-03-06 12:46:42 -05:00
x
2025-03-06 12:58:15 -05:00
2025-03-06 13:06:47 -05:00
x
2025-03-12 14:22:44 -04:00
x
2025-03-12 14:22:44 -04:00
2025-03-10 22:09:29 -04:00
x
2025-03-12 14:22:44 -04:00

Example Tool Server

An example implementation of a tool server using universal-tool-server.

Tools

This server implements the following example tools:

  1. Exchange Rate: use an exchange rate API to find the exchange rate between two different currncies.
  2. GithHub API: surface most recent 50 issues for a given github repository.
  3. Hacker News: query hacker news to find the 5 most relevant matches.
  4. Reddit: Query reddit for a particular topic
  5. Wikipedia: Get information about current events.

Usage

  1. Build with docker
docker build -t example-tool-server .
  1. Generate a secret using your favorite random number generator
export APP_SECRET=$(openssl rand -base64 32 )
export APP_SECRET=$(head -c 32 /dev/urandom | base64)
export APP_SECRET=$( let your cat walk across your keyboard)
  1. Run the image locally
docker run -e APP_SECRET=$APP_SECRET -p 8080:8080 example-tool-server

or deploy to your favorite cloud provider

S
Description
No description provided
Readme MIT 90 KiB
Languages
Python 72.9%
Makefile 17.7%
Dockerfile 9.4%