Bond AI is UI working with agents using the OpenAI Assistants API
Project description
Bond AI
Bond AI leverages OpenAI's Assistant APi to help develop Generative AI agents and chatbots with access to your own tools, APIs and data sources. Bond AI also has a web UI with a built-in chat interface and is extensible to other interfaces with access to these agents.
Features
- Simple definition of agents with tools and data
- Automatic discovery of agents
- Built-in threads, tool access and data integration from the Assistants API
- Google authentication support
- Thread sharing between users
- Modular design with agents, threads, and pages
Getting Started
Prerequisites
- Python 3.13
- Poetry
Installation
-
Clone the repository:
git clone https://github.com/yourusername/bond-ai.git cd bond-ai
-
Install dependencies using Poetry:
poetry install -
Set up environment variables:
Create a .env file in the project root directory and add the following variables:
OPENAI_API_KEY=your_openai_api_key OPENAI_PROJECT=you_openai_project_id OPENAI_DEPLOYMENT=openai_model #(e.g. "gpt-4o-mini") # or # AZURE_OPENAI_API_KEY=your_azure_openai_api_key # AZURE_OPENAI_ENDPOINT=your_azure_openai_endpoint # AZURE_OPENAI_API_VERSION=api_version (e.g. 2024-08-01-preview) AUTH_ENABLED=True GOOGLE_AUTH_CREDS_PATH=path_to_your_google_auth_creds.json GOOGLE_AUTH_REDIRECT_URI=your_redirect_uri_for_this_app METADATA_DB_URL=database_url_for_metadata #(e.g. sqlite:///.metadata.db)
Running the Application
To start the application, run the following command:
python -m bond_ai.app.start --server.port=8080 --server.address=0.0.0.0
Running Tests
To run the tests, use the following command:
poetry run pytest
This will execute all the tests in the tests directory and provide a summary of the results.
The primary source code is located in the bond_ai directory, and the test code is in the tests directory. This project uses Poetry for dependency management and setup.
Contributing
We welcome contributions to the Bond AI project! To contribute, please follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine:
git clone https://github.com/yourusername/bond-ai.git
cd bond-ai
- Create a new branch for your feature or bugfix:
git checkout -b your-feature-branch
- Make your changes and commit them with a descriptive message:
git add .
git commit -m "Description of your changes"
- Push your changes to your forked repository:
git push origin your-feature-branch
- Open a pull request on the original repository and describe your changes in detail.
Thank you for contributing!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bondable-0.1.2.tar.gz.
File metadata
- Download URL: bondable-0.1.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b70dd46386064c708df52da5d94a1a731fc0cd0d308a033cae0f9d30e567b73
|
|
| MD5 |
3faecb442cfc4111739c7566634a299e
|
|
| BLAKE2b-256 |
c712ae3993c355774cf2daa03cdfbd685129cb0f9add43aac39539ce1c58d1be
|
File details
Details for the file bondable-0.1.2-py3-none-any.whl.
File metadata
- Download URL: bondable-0.1.2-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e7b89ca91626b8b286fe5f44cafb8f1963b6d51297351790bc0739558466346
|
|
| MD5 |
1b0f5ae4d56112ae6d06b4b5b69b62ab
|
|
| BLAKE2b-256 |
4acae081daf2f4a04f3a2f583a5627d0d6afb89853d2738a3a51b9d568300a7c
|