Skip to main content

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

  1. Clone the GitHub Repository:

    git clone https://github.com/OS-Copilot/OS-Copilot.git
    
  2. 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
    
  3. Install Dependencies: Move into the OS-Copilot directory and install the necessary dependencies by running:

    cd OS-Copilot
    pip install -e .
    
  4. Set OpenAI API Key: Configure your OpenAI API key in .env and select the model you wish to use.

  5. 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:

  1. Find the tool you want to use in FRIDAY-Gizmos and download its tool code.
  2. Add the tool to FRIDAY's toolkit:
python friday/tool_repository/manager/tool_manager.py --add --tool_name [tool_name] --tool_path [tool_path]
  1. 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.

Metadata

Release files for os-copilot 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for os-copilot 0.1.0
File Size Uploaded
os-copilot-0.1.0.tar.gz 89.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for os-copilot 0.1.0
File Interpreter ABI Platform
os_copilot-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 271.3 kB

Release files / os-copilot-0.1.0.tar.gz

Download URL os-copilot-0.1.0.tar.gz
Size 89.0 kB
Tags Source
SHA-256 checksum
How to use checksums
481353da7ee0f4259b808a59db87968cd67988ec467c7ecc6a147190a777a80c
BLAKE2b-256 checksum
How to use checksums
0da9b71afc63631b7afeef1cbd2ebf939843c5b222a1186fb7824057a1ed307f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / os_copilot-0.1.0-py3-none-any.whl

Download URL os_copilot-0.1.0-py3-none-any.whl
Size 182.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a4f1139111d87ecbaae24f1a83ec7fd14722bffadcdcc16293f0140770230e6
BLAKE2b-256 checksum
How to use checksums
a342d9c912d099a960a6c4a936b70b8de93c5cbb3dae069a7db27f5ee5ef7a7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page