OpenAgents is an open platform for using and hosting language agents in everyday life scenarios. Most current language agent frameworks are oriented toward proof-of-concept, neglect access for non-expert users, and pay insufficient attention to application-layer design. OpenAgents aims to fill this gap by providing a Web UI usable by ordinary users, while also offering developers and researchers a convenient local deployment experience, laying the foundation for building innovative language agents and real-world evaluation.
Main capabilities OpenAgents currently implements three agents: Data Agent: a comprehensive toolkit for data operations, supporting searching data, handling data acquisition and processing, operating on data as needed, and visualizing data. It excels at writing and executing code and can simplify various data-centric tasks. Plugins Agent: seamlessly integrates more than 200 third-party plugins, covering areas such as shopping (e.g., Klarna Shopping), weather (e.g., XWeather), and scientific exploration (e.g., Wolfram Alpha). It supports the concurrent use of multiple plugins and features automatic plugin selection, intelligently searching for and recommending suitable plugins based on needs. Web Agent: uses a Chrome extension to automatically navigate and explore websites, and can perform tasks such as Google Maps route planning, posting on Twitter, and filling out Google Forms. Users only need to provide the starting point and destination, tweet content, or form link and required information, and Web Agent can operate on their behalf.
How to use Ordinary users can directly use the three agents for free through the online demo. Developers can deploy the OpenAgents platform locally; the code has been released, including the backend (Flask), the frontend UI, and the WeBot Chrome extension. There are two deployment methods: deploying from source code or using docker-compose deployment (note that docker is still in the development stage, some features may be unstable, and deploying from source code is officially recommended). For docker-compose deployment, you need to run docker compose build in the project root directory, modify OPENAI_API_BASE or OPENAI_API_KEY in docker-compose.yml according to the actual situation, and then run docker compose up -d to start all services. If you need to use a GPU, you need to install the Nvidia Container Toolkit and uncheck doComments on lines 56-62 of docker-compose.yml. Using the automatic plugin feature will download weight files from Hugging Face, and connection timeouts may occur in some regions.
Extension approach OpenAgents adopts a "one agent, one folder" design, making it easy to extend with new agents. To extend with a new agent, you need to refer to the implementation in the real_agents/ folder, create a new folder and implement the agent logic (shared components under adapters/ can be used), add chat_<new_agent>.py under backend/api/ to define the chat API, register the new constant in backend/schemas.py, add the OpenAgentID and corresponding API in the frontend, and implement the UI in the frontend components. If you need to support new data types (beyond text, images, tables, and JSON), you also need to implement parsing logic in backend/display_streaming.py and add a data model. To extend with a new LLM, you only need to register the new model in backend/api/language_model.py (you can refer to the lemur-chat template); if the LLM is not yet hosted, you need to deploy it first and expose the API. To extend the Plugins Agent with new tools, you need to refer to the existing plugins under real_agents/plugins_agent/plugins/, create a new folder to implement the tool logic (ai-plugin.json and openapi.yaml are necessary files for the tool to be recognized, and paths/ is used for actual API calls), and register the tool name in real_agents/plugins_agent/plugins/plugin_names.py.
Use cases OpenAgents is suitable for users who need data analysis, everyday plugin invocation, and automated web browsing, and is also suitable for researchers and developers to build, test, and evaluate language agents. Non-expert users can use it directly through the Web UI, while developers can extend it based on the existing code and deploy it locally.
Limitations The platform currently implements three agents, and more functionality may require you to extend it yourself. Docker deployment is still under development, and there may be functional abnormalities or slow responses. The automatic plugin feature relies on downloading weights from Hugging Face, and may fail when the network is poor. Local deployment requires a certain amount of technical configuration, such as API keys, IP modifications, etc. For more details, please refer to the official documentation and code repository.