SkillAgentSearch skills...

OpenAgents

[COLM 2024] OpenAgents: An Open Platform for Language Agents in the Wild

Install / Use

/learn @xlang-ai/OpenAgents

README

OpenAgents: An Open Platform for Language Agents in the Wild

<a href="https://arxiv.org/abs/2310.10634" target="_blank"> <img alt="OpenAgents Paper" src="https://img.shields.io/badge/📑-OpenAgents_Paper-blue" /> </a> <a href="https://chat.xlang.ai" target="_blank"> <img alt="Online Demos" src="https://img.shields.io/badge/🥑-Online_Demos-blue" /> </a> <a href="https://xlang.ai" target="_blank"> <img alt="XLangNLPLab" src="https://img.shields.io/badge/🧪-XLANG_NLP_Lab-blue" /> </a> <a href="https://docs.xlang.ai" target="_blank"> <img alt="User Manual" src="https://img.shields.io/badge/📖-User_Manual-blue" /> </a> <a href="https://opensource.org/license/apache-2-0" target="_blank"> <img alt="License: apache-2-0" src="https://img.shields.io/github/license/saltstack/salt" /> </a> <a href="https://github.com/xlang-ai/OpenAgents" target="_blank"> <img alt="GitHub Stars" src="https://img.shields.io/github/stars/xlang-ai/OpenAgents?style=social" /> </a> <a href="https://github.com/xlang-ai/OpenAgents/issues" target="_blank"> <img alt="Open Issues" src="https://img.shields.io/github/issues-raw/xlang-ai/OpenAgents" /> </a> <a href="https://twitter.com/XLangNLP" target="_blank"> <img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/XLANG NLP Lab" /> </a> <a href="https://join.slack.com/t/xlanggroup/shared_invite/zt-20zb8hxas-eKSGJrbzHiPmrADCDX3_rQ" target="_blank"> <img alt="Join Slack" src="https://img.shields.io/badge/Slack-join-blueviolet?logo=slack&amp" /> </a> <a href="https://discord.gg/4Gnw7eTEZR" target="_blank"> <img alt="Discord" src="https://dcbadge.vercel.app/api/server/4Gnw7eTEZR?compact=true&style=flat" /> </a> <div align="center"> <a href="https://trendshift.io/repositories/3834" target="_blank"><img src="https://trendshift.io/api/badge/repositories/3834" alt="xlang-ai%2FOpenAgents | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a> </div> <div align="center"> <img src="pics/openagents_overview.png"/> </div> <p align="center"> <a>English</a> • <a href="README_ZH.md">中文</a> • <a href="README_JA.md">日本語</a> • <a href="README_KO.md">한국어</a> </p>

Current language agent frameworks aim to facilitate the construction of proof-of-concept language agents while neglecting the non-expert user access to agents and paying little attention to application-level designs. We built OpenAgents, an open platform for using and hosting language agents in the wild of everyday life.

We have now implemented three agents in OpenAgents, and we host them on demo for free use!

  1. Data Agent for data analysis with Python/SQL and data tools;
  2. Plugins Agent with 200+ daily tools;
  3. Web Agent for autonomous web browsing.

OpenAgents can analyze data, call plugins, control your browser as ChatGPT Plus, but with OPEN Code for

  1. Easy deployment
  2. Full stack
  3. Chat Web UI
  4. Agent methods

OpenAgents enables general users to interact with agent functionalities through a web UI optimized for swift responses and common failures, while offering developers and researchers a seamless deployment experience on local setups, providing a foundation for crafting innovative language agents and facilitating real-world evaluations. We elucidate both the challenges and promising opportunities, aspiring to set a foundation for future research and development of real-world language agents.

We welcome contributions from everyone. Before you start, please take a moment to read our CONTRIBUTING.md guidelines for issues and PRs. This will help ensure that your contribution process is smooth and consistent with the project’s standards.

🔫 Trouble Shooting

Join our Discord for help if you encounter any issues with our online demo or local deployment. Alternatively, create an issue if you have trouble with features or code.

🔥 News

  • [2023, Oct 26] We've reached 3,000 users! 🚀 Heartfelt thanks to all our users and contributors! 🙏 Please bear with us as we navigate through unexpectedly high traffic on our servers. We appreciate your patience and ready to assist as soon as possible!
  • [2023, Oct 18] Try out our Lemur, the SOTA and open-sourced foundation models for language agents, matching ChatGPT on 15 agent tasks!
  • [2023, Oct 17] Check out the OpenAgents paper here!
  • [2023, Oct 13] We've released OpenAgents platform code for all three agents, server backend and frontend! Feel free to setup your localhost one, and play with OpenAgents!
  • [2023, Aug 17] Our platform has officially reached 500 users! 🚀
  • [2023, Aug 8] We've released OpenAgents demos, including Data, Plugins, and Web agents! Check tutorials and use cases!

🥑 OpenAgents

We built three real-world agents with chat-based web UI as demonstration(check OpenAgents demos). Here is a brief overview of our OpenAgents platform. You can find more details about concepts & designs in our documentation.

Data Agent

Data Agent is a comprehensive toolkit designed for efficient data operations. It provides capabilities to:

  • 🔍 Search: Quickly locate the data you need.
  • 🛠️ Handle: Streamline data acquisition and processing.
  • 🔄 Manipulate: Modify data to suit specific requirements.
  • 📊 Visualize: Represent data in a clear and insightful manner.

With its proficiency in writing and executing code, Data Agent simplifies a wide range of data-centric tasks. Discover its potential through various use cases.

<div align="center"> <img src="pics/data_agent.png" width="784"/> </div> <details> <summary>Click to see more use case screenshots</summary> <div align="center"> <img src="pics/data_agent_demo.png" width="784"/> </div> </details>

Plugins Agent

Plugins Agent seamlessly integrates with over 200 third-party plugins, each handpicked to enrich various facets of your daily life. With these plugins at its disposal, the agent empowers you to tackle a wide range of tasks and activities more efficiently.

🔌 Sample Plugins Include:

  • 🛍️ Shopping: Klarna Shopping
  • ☁️ Weather: XWeather
  • 🔬 Scientific Exploration: Wolfram Alpha

Combined Plugin Usage

Harness the power of synergy! Plugins Agent supports the concurrent use of multiple plugins. Planning a trip? Seamlessly integrate functionalities from Klook, Currency converter, and WeatherViz.

Auto Plugin Selection

Simplify your choices with our Auto Plugin Selection feature. Let the agent intuitively search and suggest the best plugins tailored to your needs.

Dive into more use cases to see Plugins Agent in action.

<div align="center"> <img src="pics/plugins_agent.png" width="784"/> </div> <details> <summary>Click to see more use case screenshots</summary> <div align="center"> <img src="pics/plugins_agent_demo.png" width="784"/> </div> </details>

Web Agent

Web Agent harnesses the power of a Chrome extension to navigate and explore websites automatically. This agent streamlines the web browsing experience, making it easier to find relevant information, access desired resources, and so on.

Examples of What Web Agent Can Do:

  • 📍 Google Maps Navigation: Planning a journey? Simply relay your starting point and destination to Web Agent. It will navigate Google Maps for you and present the best routes.
  • 🐦 Twitter Postings: Engage in a conversation with Web Agent and wish to share something on Twitter? Mention the content, and Web Agent will handle your tweet effortlessly.
  • 📝 Google Form Assistance: Need to sign up for an event or activity? Share the Google Form link and the required details. Web Agent will populate the form for you.

Witness the full potential of Web Agent in these use cases.

<div align="center"> <img src="pics/web_agent.png" width="784"/> </div> <details> <summary>Click to see more use case screenshots</summary> <div align="center"> <img src="pics/web_agent_demo.png" width="784"/> </div> </details>

💻 Localhost Deployment

We've released the OpenAgents platform code. Feel free to deploy on your own localhost!

Here is a brief system design of OpenAgents:

<div align="center"> <img src="pics/system_design.png"/> </div>

From Source Code

Please check the following folders and README files to set up & localhost:

  1. Backend: the flask backend to host our three agents.
  2. Frontend: the frontend UI and WeBot Chrome extension.

p.s.: We have renamed some arguments in code for better readability. If you have pulled the code before 10/26/2023, just a reminder that if you want to you pull the latest code, previous local chat history will be lost because of different key names.

Docker

Please follow the following steps to use the docker-compose to deploy the OpenAgents platform.

Note: the docker is under development, so there may be functions not working properly as expected and slower response. Please feel free to open an issue if you have any questions. If you want a more robust version, currently we recommend you to deploy from source code.

  1. If you want to use kaggle's dataset, you must modify the in
View on GitHub
GitHub Stars4.7k
CategoryEducation
Updated2d ago
Forks525

Languages

Python

Security Score

100/100

Audited on Mar 27, 2026

No findings