mirror of
https://github.com/OS-Copilot/OS-Copilot.git
synced 2026-01-13 14:07:55 -05:00
12 lines
524 B
Python
12 lines
524 B
Python
from oscopilot import FridayAgent
|
|
from oscopilot import ToolManager
|
|
from oscopilot import FridayExecutor, FridayPlanner, FridayRetriever
|
|
from oscopilot.utils import setup_config, setup_pre_run
|
|
|
|
args = setup_config()
|
|
if not args.query:
|
|
args.query = "Copy any text file located in the working_dir/document directory that contains the word 'agent' to a new folder named 'agents' "
|
|
task = setup_pre_run(args)
|
|
agent = FridayAgent(FridayPlanner, FridayRetriever, FridayExecutor, ToolManager, config=args)
|
|
agent.run(task=task)
|