Skip to content

tstade/agent-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Bridge

A starting point for interacting with small LLMs and embeddings as part of basic chat services.

Build and Run

Tested with Microsoft Foundry OpenAI SDK endpoints

FastAPI backend

In folder: src/fastapi, copy .env.example as .env, add api key and endpoint.

Tools: uv, python3.14

cd src/fastapi
uv sync
uv run uvicorn main:app

dotnet WebApi backend

In folder src/webapi, copy appsettings.json as appsettings.Development.json, add api key and endpoint.

Tools: dotnet + .NET 10 SDK

cd src/webapi
dotnet restore
dotnet run

Javascript client

Tools: node, npm

cd src/javascript
npm install
npm run dev

Open browser at http://localhost:8080 and experiment!

Backend URLs

Use the client UI to add one or both backends:

Backend URL
WebAPI http://localhost:8090/ask
FastAPI http://localhost:8000/ask

About

A starting point for interacting with small LLMs and embeddings as part of basic chat services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors