openai-agents-chat-demo

openai-agents-chat-demo

By zzqfsy GitHub

openai agents chat demo. integration custom llm and mcp server and function tool

chatbot openai
Overview

What is openai-agents-chat-demo?

openai-agents-chat-demo is a chatbot project that integrates a custom LLM (Language Model) and MCP (Multi-Channel Platform) server, allowing for intelligent conversations using the OpenAI Agents framework.

How to use openai-agents-chat-demo?

To use the demo, ensure you have Python 3.8+ and an OpenAI API key. Install the required dependencies using pip install -r requirements.txt, configure the settings in the config file, and run the application with python app.py. Access the chatbot at http://localhost:8050.

Key features of openai-agents-chat-demo?

  • Intelligent conversation capabilities using the OpenAI Agents framework.
  • Support for custom tool function extensions.
  • A simple web interface for user interaction.
  • Management of conversation history and context.

Use cases of openai-agents-chat-demo?

  1. Creating interactive chatbots for customer support.
  2. Developing virtual assistants for various applications.
  3. Enhancing user engagement through conversational interfaces.

FAQ from openai-agents-chat-demo?

  • What are the environment requirements?

Python 3.8+ and an OpenAI API key are required.

  • How do I install the project?

Use the command pip install -r requirements.txt to install dependencies.

  • Can I customize the chatbot?

Yes! You can extend its capabilities by adding custom tool functions.

Content

openai-agents-chat-demo

openai agents chat demo. integration custom llm and mcp server and function tool

基于openai-agents框架实现的聊天对话机器人。

功能特点

  • 使用OpenAI Agents框架实现智能对话
  • 支持自定义工具函数扩展能力
  • 提供简洁的Web界面进行交互
  • 支持对话历史记录和上下文管理

安装与使用

环境要求

  • Python 3.8+
  • OpenAI API密钥

安装依赖

pip install -r requirements.txt

配置

  1. 查看config,进行自定义配置

运行

python app.py

访问 http://localhost:8050 开始使用聊天机器人。

项目结构

  • app.py: Web应用主入口
  • agent.py: 聊天代理实现
  • config.py: 配置文件
  • templates/: HTML模板
  • static/: 静态资源文件
  • utils/: 工具函数
No tools information available.
MaxKB
MaxKB by 1Panel-dev

💬 MaxKB is an open-source AI assistant for enterprise. It seamlessly integrates RAG pipelines, supports robust workflows, and provides MCP tool-use capabilities.

chatbot knowledgebase
View Details

MCP Client Chatbot is a chat interface that allows you to easily utilize various AI providers (OpenAI,Anthropic, Google, Ollama, etc.) while connecting powerful AI tools through MCP

chatbot AI
View Details
Claude
Claude by Anthropic

Meet Claude on your desktop

chatbot mcp-client
View Details
mcp-voice
mcp-voice by mario-andreschak

MCP-Server for Voice AI with OpenAI

voice-ai openai
View Details

summarize chat message

chatbot mcp-server
View Details
ChatWise
ChatWise by EGOIST

The second fastest AI chatbot™

chatbot mcp-client
View Details