mcpField
O
openai-agents-chat-demo

openai-agents-chat-demo

Local
github.com/zzqfsyAI & Agents2Updated 79w ago

About openai-agents-chat-demo

A web chat demo built with the OpenAI Agents framework, for users exploring conversational agents with custom tools. It includes conversation history and context management.

Key features

  1. 01OpenAI Agents-based chat
  2. 02Custom function tools
  3. 03Web interface
  4. 04Conversation history and context

Use cases

  1. 01Prototyping a chat agent
  2. 02Adding custom functions to conversations

MCP support

The project tagline describes integration with an MCP server, but the README does not specify how that integration works.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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+
  • llm 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/: 工具函数

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.