Skip to content

Agent that can mimic human computer use by simple keymouse action. For more agent ability, we use LLM such as deepseek to add or modify keymouse action to have a low cost agent without GPU.

License

Notifications You must be signed in to change notification settings

elenalulu/PeripheralAgent

Repository files navigation

PeripheralAgent

Agent that can mimic human computer use by simple keymouse action. For more agent ability, we use LLM such as deepseek to add or modify keymouse action to have a low cost realization without GPU.

  1. excel use example:

Animation Demo


2. ppt use example:

Animation Demo

Install

  1. download https://github.com/elenalulu/PeripheralAgent
  2. conda create -n keymouse python=3.10
  3. conda activate keymouse
  4. cd PeripheralAgent
  5. pip install -r requirements-windows.txt

How to use

  1. record your repetitive action by KeymouseGo.exe a. open KeymouseGo.exe in keymousego folder b. click the Record button to start recording c. perform any actions on the computer, such as clicking the mouse or typing on the keyboard d. click the End button to stop recording

Animation Demo

  1. add more action through asking LLM, there is an api example in action_deepseek.py put the action json in ./keymousego/scripts by sequence, or your can simply ask website deepseek to get the action scripts. Please notice that current LLM cannot produce accurate actions, so recommend to use .py in demo folder to get better action scripts.

Animation Demo

  1. then run the command in terminal: python peripheral_agent.py you can ajust your scripts by hand or by LLM to optimize the effect

PPT demo

You can record your own action to create and modify a PPT file with this project. Here is an example to simplify the record process:

  1. cd ppt_demo
  2. python record_jsons_ppt.py
  3. python agent_demo_ppt.py

if you want to create your own ppt content by deepseek, please modify the record_jsons_ppt.py by filling in the api and free the code available.

ppt_demo.mp4

wubi demo

To enhance the input chinese accuracy, we use wubi input method. Please install sogou wubi from https://wubi.sogou.com/.

and set the sogou wubi input setting as followings:

Animation Demo

Animation Demo

then,

  1. cd wubi_demo
  2. python record_jsons_wubi.py
  3. python agent_demo_wubi.py

Contact

Animation Demo

Reference

Thanks for https://github.com/taojy123/KeymouseGo, for any detail about keymousego, please read the project.

License

The product is licensed under The Apache License 2.0, which allows for free commercial use. Please include the link to PaperChat and the licensing terms in your product description.

Contribute

The project code is still quite raw. If anyone makes improvements to the code, we welcome contributions back to this project.

About

Agent that can mimic human computer use by simple keymouse action. For more agent ability, we use LLM such as deepseek to add or modify keymouse action to have a low cost agent without GPU.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published