Skip to content

yttcs/function-calling-agent

Repository files navigation

Barebones function calling agent using the following technology:

  1. Backend: FastAPI, SQL Model, OpenAI completions API, Tavily Search API
  2. Frontend: Jinja2, Bootstrap, FetchAPI
  3. Security: Oauth2 with password flow using JWT bearer tokens and a remote MariaDB user identity database hosted on a DigitalOcean VPS.

This is a work in progress and it's planned to have multiple updates on a weekly basis.

Update for week of Jun. 30, 2025:

  1. Added multiuser capability
  2. Added Tavily Extract API
  3. Switched from gpt-3.5-turbo to gpt-4o

Update for week of Jul. 21, 2025:

  1. Added text to speech using gpt-4o-mini-tts for completion.choices[0].message.content (that means the agent now has a voice)

Note: Update for week of Aug. 11, 2025:

  1. Addied speech to text using gpt-4o-mini-transcribe and Whisper (this means that there's )
  2. Added date tool
  3. Added time tool so the model can access UTC time and convert to user requsted time zone.

Currently working on error handling, refining tools to avoid orphan tool calls, renewal JWT, and code organization.

About

Multiuser OpenAI Function Calling Agent with Secure Resource Endpoints and User Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published