An self-improving embodied conversational agents seamlessly integrated into the operating system to automate our daily tasks.
Project description
OS-Copilot: Towards Generalist Computer Agents with Self-Improvement
📖 Overview
- OS-Copilot is a pioneering conceptual framework for building generalist computer agents on Linux and MacOS, which provides a unified interface for app interactions in the heterogeneous OS ecosystem.
- Leveraging OS-Copilot, we built FRIDAY, a self-improving AI assistant capable of solving general computer tasks.
⚡️ Quickstart
-
Clone the GitHub Repository:
git clone https://github.com/OS-Copilot/OS-Copilot.git
-
Set Up Python Environment: Ensure you have a version 3.10 or higher Python environment. You can create and activate this environment using the following commands, replacing
oscopilot_env
with your preferred environment name:conda create -n oscopilot_env python=3.10 -y conda activate oscopilot_env
-
Install Dependencies: Move into the
OS-Copilot
directory and install the necessary dependencies by running:cd OS-Copilot pip install -e .
-
Set OpenAI API Key: Configure your OpenAI API key in .env and select the model you wish to use.
-
Running the Script: Run the quick_start.py script, simply execute the following command in your terminal:
python quick_start.py
* FRIDAY currently only supports single-round conversation.
🛠️ FRIDAY-Gizmos
We maintain an open-source library of toolkits for FRIDAY, which includes tools that can be directly utilized within FRIDAY. For a detailed list of tools, please see FRIDAY-Gizmos. The usage methods are as follows:
- Find the tool you want to use in FRIDAY-Gizmos and download its tool code.
- Add the tool to FRIDAY's toolkit:
python friday/tool_repository/manager/tool_manager.py --add --tool_name [tool_name] --tool_path [tool_path]
- If you wish to remove a tool, you can run:
python friday/tool_repository/manager/tool_manager.py --delete --tool_name [tool_name]
💻 User Interface (UI)
Enhance Your Experience with Our Intuitive Frontend! This interface is crafted for effortless control of your agents. For more details, visit FRIDAY Frontend.
✨ Deploy API Services
For comprehensive guidelines on deploying API services, please refer to the OS-Copilot documentation.
🛡 Disclaimer
OS-Copilot is provided "as is" without warranty of any kind. Users assume full responsibility for any risks associated with its use, including potential data loss or changes to system settings. The developers of OS-Copilot are not liable for any damages or losses resulting from its use. Users must ensure their actions comply with applicable laws and regulations.
🏫 Community
Join our community to connect with other agent enthusiasts, share your tools and demos, and collaborate on exciting initiatives. You can find us on Slack.
🔎 Citation
@misc{wu2024oscopilot,
title={OS-Copilot: Towards Generalist Computer Agents with Self-Improvement},
author={Zhiyong Wu and Chengcheng Han and Zichen Ding and Zhenmin Weng and Zhoumianze Liu and Shunyu Yao and Tao Yu and Lingpeng Kong},
year={2024},
eprint={2402.07456},
archivePrefix={arXiv},
primaryClass={cs.AI}
}
📬 Contact
If you have any inquiries, suggestions, or wish to contact us for any reason, we warmly invite you to email us at wuzhiyong@pjlab.org.cn.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file os-copilot-0.1.0.tar.gz
.
File metadata
- Download URL: os-copilot-0.1.0.tar.gz
- Upload date:
- Size: 89.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 481353da7ee0f4259b808a59db87968cd67988ec467c7ecc6a147190a777a80c |
|
MD5 | aa4ea1183101ac1bc3ab010cd402ae52 |
|
BLAKE2b-256 | 0da9b71afc63631b7afeef1cbd2ebf939843c5b222a1186fb7824057a1ed307f |
File details
Details for the file os_copilot-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: os_copilot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 182.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a4f1139111d87ecbaae24f1a83ec7fd14722bffadcdcc16293f0140770230e6 |
|
MD5 | 0a799cb877e42df8d6b228804c82cd2b |
|
BLAKE2b-256 | a342d9c912d099a960a6c4a936b70b8de93c5cbb3dae069a7db27f5ee5ef7a7c |