MCP cover image
openai-agents-chat-demo logo
Private

openai-agents-chat-demo

See in Github
2025-04-14

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

2

Github Watches

0

Github Forks

2

Github Stars

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

相关推荐

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • metorial
  • Containerized versions of hundreds of MCP servers 📡 🧠

  • langgenius
  • Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • alibaba
  • an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

  • Azure
  • The Azure MCP Server, bringing the power of Azure to your agents.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • superiorlu
  • 🤖 Collect practical AI repos, tools, websites, papers and tutorials on AI. 实用的AI百宝箱 💎

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

  • Onelevenvy
  • Flock is a workflow-based low-code platform for rapidly building chatbots, RAG, and coordinating multi-agent teams, powered by LangGraph, Langchain, FastAPI, and NextJS.(Flock 是一个基于workflow工作流的低代码平台,用于快速构建聊天机器人、RAG、Agent和Muti-Agent应用,采用 LangGraph、Langchain、FastAPI 和 NextJS 构建。)

  • caio-moliveira
  • This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).

    Reviews

    5 (0)