Overview:
Agents is a ChatGPT UI designed to have multiple conversations with chatbots. This Sveltekit app connects to the OpenAI API and provides a sleek and secure backend. With features like customizable messages, prompt templates, and the ability to save conversations in a database, Agents offers a comprehensive solution for interacting with chatbots.
Features:
- Deploy in your own server: Host Agents on your own server for complete control over your chatbot interactions.
- Safely store your API Key in the server: Ensure the security of your OpenAI API Key by storing it securely in the server.
- Run locally in your machine: Test and develop Agents locally to refine your chatbot conversations.
- Configurable amount of messages to send: Customize the number of messages to send in each conversation.
- Configurable system message to guide the assistant: Set a system message to provide guidance to the chatbot assistant.
- Prompt templates: Speed up conversation input with predefined templates for common questions.
- Prompt template parameters: Easily add parameters to prompt templates and modify them as needed.
- Start agents with predefined system message and prompt templates: Quickly initiate conversations with pre-configured messages and templates.
- Save all the messages in your database, continue your conversations later: Store all messages in a database for easy retrieval and continuation of conversations.
- Save the system message and prompt templates of conversations in the database: Keep track of system messages and templates associated with each conversation in the database.
- Easily change the database provider: Switch to a different database provider of your choice.
- Auth system: Implement an authentication system for secure access to Agents.
- Streaming messages: Enable real-time streaming of messages in the conversation.
- Edit messages: Edit previously sent messages in the conversation.
- Create images with Dall-e: Use Dall-e to generate images based on chatbot input.
- Voice input: Interact with Agents using voice commands.
- Voice answers: Receive responses in voice format from the chatbot.
- Share conversations: Share conversations with others through a sharing feature.
- Upload your own documents: Upload documents to enhance the chatbot’s knowledge base.
- Plugins: Extend Agents’ functionality with additional plugins.
Installation:
- Create a
.envfile and add your OpenAI API key and the URLs of your PostgreSQL databases. Use the provided.env.supabase.examplefile as a reference for Supabase configuration or.env.sqlite.examplefor SQLite configuration.
Example .env file:
OPENAI_API_KEY=your_api_key
POSTGRES_DATABASE_URL=your_postgres_database_url
- Install the necessary dependencies by running the following command:
npm install
- Apply the necessary database schema by running the Prisma migration command:
npx prisma migrate dev
- Start the development server:
npm run dev
Summary:
Agents is a feature-rich ChatGPT UI that allows users to have multiple conversations with chatbots. With a secure backend and a customizable interface, Agents provides a versatile platform for interacting with AI assistants. Its extensive list of features includes prompt templates, configurable messages, database storage, and more. Whether deployed on a server or run locally, Agents offers flexibility and control in engaging with chatbots.