Skip to main content

A framework for building API servers for Vapi custom tools with integrated service providers

Project description

VapiServe

VapiServe Logo

PyPI Version Python Versions License Documentation

A lightweight framework for creating and deploying API servers for Vapi custom tools.

Installation

pip install vapiserve

Quick Example

from vapiserve import tool, serve

@tool(name="echo")
async def echo(message: str = "Hello") -> dict:
    # Add your tool logic here
    ...
    message = f"You said: {message}"
    
    return {"message": message}

if __name__ == "__main__":
    serve(echo, port=8000)

Your tool is now available at http://localhost:8000/tools/echo.

Features

  • Create tools with simple @tool decorator
  • Built on FastAPI for high performance
  • Structured error handling and validation
  • Multiple service integrations in modular design
  • Expose local servers with ngrok for development
  • Comprehensive type hints and documentation

Service Integrations

VapiServe provides integrations across various categories:

  • Scheduling: Google Calendar, Outlook Calendar
  • Tasks: Todoist
  • Communication: Slack, Twilio
  • Storage: AWS S3, Google Cloud Storage
  • Email: SendGrid
  • AI: OpenAI, Anthropic

Documentation

Kindly refer to our documentation for detailed usage instructions.

Contributing

Contributions are welcome. Kindly fork the repository, create a feature branch, and submit a pull request.

License

This project is licensed under the MIT License.

Made with ❤️ by Mahimai Raja

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

vapiserve-0.0.5.tar.gz (172.0 kB view details)

Uploaded Source

Built Distribution

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

vapiserve-0.0.5-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file vapiserve-0.0.5.tar.gz.

File metadata

  • Download URL: vapiserve-0.0.5.tar.gz
  • Upload date:
  • Size: 172.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for vapiserve-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ced44a44d203569e35fb11daa9f16539a5ed6643e45b20752a3041c8d917a0e7
MD5 8bce579fe2c4c12d34d9a6282934c1f2
BLAKE2b-256 41119f8741d9c664757514b2d4e9c5c738506ac32d6e32b9cacaa70c448f7139

See more details on using hashes here.

File details

Details for the file vapiserve-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: vapiserve-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 51.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for vapiserve-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e6ee5c2db143016074b32fef933e513ff6ddc9967381a94e73646d8e0fc0d8ec
MD5 b3b4fea0ba4028e48f96b117290bb7a3
BLAKE2b-256 cd3ed04a3118a56f25eba4ac743aad6a91f1e05f557227f4128c722c6c57d390

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