OS-Copilot
latest
Getting Started
Installation
Quick Start
Tutorials
Adding Your Tools
Deploying API Services
Designing New API Tools
Example: Automating Excel Tasks with FRIDAY
Enhancing FRIDAY with Self-Learning for Excel Task Automation
LightFriday: A Lightweight Agent for Task Execution
Modules
FridayAgent
Tool Repository
Environment
Utils
OS-Copilot
Index
Edit on GitHub
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
_
_description (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
_instance (oscopilot.utils.server_config.ConfigManager attribute)
_name (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
_next_action (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
_relevant_code (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
_return_val (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
_status (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
_type (oscopilot.tool_repository.manager.action_node.ActionNode attribute)
A
action_lib (oscopilot.agents.base_agent.BaseAgent attribute)
ActionNode (class in oscopilot.tool_repository.manager.action_node)
add_active_line_indicators() (oscopilot.environments.applescript_env.AppleScript method)
add_active_line_prints() (in module oscopilot.environments.bash_env)
(in module oscopilot.environments.py_jupyter_env)
add_new_tool() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
(oscopilot.tool_repository.manager.tool_manager.ToolManager method)
add_tool() (in module oscopilot.tool_repository.manager.tool_manager)
AddLinePrints (class in oscopilot.environments.py_jupyter_env)
agent (oscopilot.agents.self_learning.SelfLearning attribute)
aliases (oscopilot.environments.bash_env.Shell attribute)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv attribute)
analysis_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
api_key (oscopilot.utils.llms.OpenAI attribute)
api_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
AppleScript (class in oscopilot.environments.applescript_env)
apply_proxies() (oscopilot.utils.server_config.ConfigManager method)
B
base_url (oscopilot.tool_repository.manager.tool_request_util.ToolRequestUtil attribute)
BaseAgent (class in oscopilot.agents.base_agent)
BaseEnv (class in oscopilot.environments.base_env)
BaseModule (class in oscopilot.modules.base_module)
C
chat() (oscopilot.utils.llms.OpenAI method)
chunks() (in module oscopilot.utils.utils)
clean_string() (in module oscopilot.utils.utils)
clear_proxies() (oscopilot.utils.server_config.ConfigManager method)
code (oscopilot.utils.schema.ExecutionState attribute)
(oscopilot.utils.schema.RepairingResult attribute)
command (oscopilot.utils.schema.EnvState attribute)
COMPLETED (oscopilot.utils.schema.TaskStatusCode attribute)
Config (class in oscopilot.utils.config)
config (oscopilot.agents.self_learning.SelfLearning attribute)
ConfigManager (class in oscopilot.utils.server_config)
continuous_learning() (oscopilot.agents.self_learning.SelfLearning method)
cosine_similarity() (in module oscopilot.utils.utils)
course (oscopilot.agents.self_learning.SelfLearning attribute)
(oscopilot.modules.learner.self_learner.SelfLearner attribute)
course_design() (oscopilot.agents.self_learning.SelfLearning method)
create_tool_graph() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
critique (oscopilot.utils.schema.InnerMonologue attribute)
(oscopilot.utils.schema.JudgementResult attribute)
(oscopilot.utils.schema.RepairingResult attribute)
D
decompose_task() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
delete_tool() (in module oscopilot.tool_repository.manager.tool_manager)
(oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
(oscopilot.tool_repository.manager.tool_manager.ToolManager method)
description (oscopilot.tool_repository.manager.action_node.ActionNode property)
(oscopilot.utils.schema.ExecutionState attribute)
descriptions (oscopilot.tool_repository.manager.tool_manager.ToolManager property)
design_course() (oscopilot.modules.learner.self_learner.SelfLearner method)
detect_active_line() (oscopilot.environments.applescript_env.AppleScript method)
(oscopilot.environments.bash_env.Shell method)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv method)
(oscopilot.environments.subprocess_env.SubprocessEnv method)
detect_end_of_execution() (oscopilot.environments.applescript_env.AppleScript method)
(oscopilot.environments.bash_env.Shell method)
(oscopilot.environments.subprocess_env.SubprocessEnv method)
E
Env (class in oscopilot.environments.env)
environments (oscopilot.agents.base_agent.BaseAgent attribute)
EnvState (class in oscopilot.utils.schema)
error (oscopilot.utils.schema.EnvState attribute)
error_type (oscopilot.utils.schema.InnerMonologue attribute)
execute_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
executing() (oscopilot.agents.friday_agent.FridayAgent method)
ExecutionState (class in oscopilot.utils.schema)
exist_tool() (oscopilot.tool_repository.manager.tool_manager.ToolManager method)
extract_API_Path() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
extract_args_description() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
extract_class_name_and_args_description() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
extract_code() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
extract_file_content() (oscopilot.tool_repository.basic_tools.text_extractor.TextExtractor method)
extract_information() (oscopilot.agents.base_agent.BaseAgent method)
(oscopilot.modules.base_module.BaseModule method)
extract_json_from_string() (oscopilot.agents.base_agent.BaseAgent method)
(oscopilot.modules.base_module.BaseModule method)
extract_list_from_string() (oscopilot.modules.base_module.BaseModule method)
extract_python_code() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
extract_tool_description() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
F
FAILED (oscopilot.utils.schema.TaskStatusCode attribute)
file_extension (oscopilot.environments.applescript_env.AppleScript attribute)
(oscopilot.environments.bash_env.Shell attribute)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv attribute)
FridayAgent (class in oscopilot.agents.friday_agent)
FridayExecutor (class in oscopilot.modules.executor.friday_executor)
FridayPlanner (class in oscopilot.modules.planner.friday_planner)
FridayRetriever (class in oscopilot.modules.retriever.vector_retriever)
G
generate_openapi_doc() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
generate_prompt() (in module oscopilot.utils.utils)
generate_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
generated_tool_repo_dir (oscopilot.tool_repository.manager.tool_manager.ToolManager attribute)
generated_tools (oscopilot.tool_repository.manager.tool_manager.ToolManager attribute)
get_all_state() (oscopilot.utils.schema.ExecutionState method)
get_language() (oscopilot.environments.env.Env method)
get_open_api_description_pair() (in module oscopilot.tool_repository.manager.tool_manager)
get_open_api_doc_path() (in module oscopilot.tool_repository.manager.tool_manager)
get_parameter() (oscopilot.utils.config.Config class method)
get_pre_tasks_info() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
get_tool_code() (oscopilot.tool_repository.manager.tool_manager.ToolManager method)
get_tool_list() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
H
handle_stream_output() (oscopilot.environments.subprocess_env.SubprocessEnv method)
has_multiline_commands() (in module oscopilot.environments.bash_env)
headers (oscopilot.tool_repository.manager.tool_request_util.ToolRequestUtil attribute)
http_proxy (oscopilot.utils.server_config.ConfigManager attribute)
https_proxy (oscopilot.utils.server_config.ConfigManager attribute)
I
initialize() (oscopilot.utils.config.Config class method)
InnerMonologue (class in oscopilot.utils.schema)
insert_print_statement() (oscopilot.environments.py_jupyter_env.AddLinePrints method)
is_valid_json_string() (in module oscopilot.utils.utils)
isRePlan (oscopilot.utils.schema.InnerMonologue attribute)
isTaskCompleted (oscopilot.utils.schema.InnerMonologue attribute)
J
judge_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
JudgementResult (class in oscopilot.utils.schema)
judging() (oscopilot.agents.friday_agent.FridayAgent method)
L
learn_course() (oscopilot.agents.self_learning.SelfLearning method)
learner (oscopilot.agents.self_learning.SelfLearning attribute)
line_postprocessor() (oscopilot.environments.bash_env.Shell method)
(oscopilot.environments.subprocess_env.SubprocessEnv method)
list_working_dir() (oscopilot.environments.base_env.BaseEnv method)
llm (oscopilot.agents.base_agent.BaseAgent attribute)
ls (oscopilot.utils.schema.EnvState attribute)
M
main() (in module oscopilot.environments.py_jupyter_env)
(in module oscopilot.tool_repository.manager.tool_manager)
max_iter (oscopilot.agents.base_agent.BaseAgent attribute)
model_name (oscopilot.utils.llms.OpenAI attribute)
module
oscopilot.agents.base_agent
oscopilot.environments.applescript_env
oscopilot.environments.base_env
oscopilot.environments.bash_env
oscopilot.environments.env
oscopilot.environments.py_jupyter_env
oscopilot.environments.subprocess_env
oscopilot.modules.base_module
oscopilot.prompts.friday_pt
oscopilot.utils.config
oscopilot.utils.schema
N
name (oscopilot.environments.applescript_env.AppleScript attribute)
(oscopilot.environments.base_env.BaseEnv property)
(oscopilot.environments.bash_env.Shell attribute)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv attribute)
(oscopilot.tool_repository.manager.action_node.ActionNode property)
next_action (oscopilot.tool_repository.manager.action_node.ActionNode property)
node_type (oscopilot.tool_repository.manager.action_node.ActionNode property)
(oscopilot.utils.schema.ExecutionState attribute)
num_tokens_from_string() (in module oscopilot.utils.utils)
O
OpenAI (class in oscopilot.utils.llms)
organization (oscopilot.utils.llms.OpenAI attribute)
oscopilot.agents.base_agent
module
oscopilot.environments.applescript_env
module
oscopilot.environments.base_env
module
oscopilot.environments.bash_env
module
oscopilot.environments.env
module
oscopilot.environments.py_jupyter_env
module
oscopilot.environments.subprocess_env
module
oscopilot.modules.base_module
module
oscopilot.prompts.friday_pt
module
oscopilot.utils.config
module
oscopilot.utils.schema
module
P
parse_content() (in module oscopilot.utils.utils)
planning() (oscopilot.agents.friday_agent.FridayAgent method)
preprocess_code() (oscopilot.environments.applescript_env.AppleScript method)
(oscopilot.environments.bash_env.Shell method)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv method)
(oscopilot.environments.subprocess_env.SubprocessEnv method)
preprocess_shell() (in module oscopilot.environments.bash_env)
print_error_and_exit() (in module oscopilot.tool_repository.manager.tool_manager)
process_body() (oscopilot.environments.py_jupyter_env.AddLinePrints method)
programs (oscopilot.tool_repository.manager.tool_manager.ToolManager property)
prompt (oscopilot.modules.learner.self_learner.SelfLearner attribute)
pwd (oscopilot.utils.schema.EnvState attribute)
PythonJupyterEnv (class in oscopilot.environments.py_jupyter_env)
Q
question_and_answer_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
R
random_string() (in module oscopilot.utils.utils)
reasoning (oscopilot.utils.schema.InnerMonologue attribute)
relevant_action (oscopilot.tool_repository.manager.action_node.ActionNode property)
relevant_code (oscopilot.utils.schema.ExecutionState attribute)
repair_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
repairing() (oscopilot.agents.friday_agent.FridayAgent method)
RepairingResult (class in oscopilot.utils.schema)
replan_task() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
replanning() (oscopilot.agents.friday_agent.FridayAgent method)
request() (oscopilot.tool_repository.manager.tool_request_util.ToolRequestUtil method)
reset() (oscopilot.environments.base_env.BaseEnv method)
reset_inner_monologue() (oscopilot.agents.friday_agent.FridayAgent method)
reset_plan() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
result (oscopilot.utils.schema.EnvState attribute)
(oscopilot.utils.schema.ExecutionState attribute)
(oscopilot.utils.schema.InnerMonologue attribute)
(oscopilot.utils.schema.RepairingResult attribute)
retrieve_tool_code() (oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
(oscopilot.tool_repository.manager.tool_manager.ToolManager method)
retrieve_tool_code_pair() (oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
retrieve_tool_description() (oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
(oscopilot.tool_repository.manager.tool_manager.ToolManager method)
retrieve_tool_description_pair() (oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
retrieve_tool_name() (oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
(oscopilot.tool_repository.manager.tool_manager.ToolManager method)
return_val (oscopilot.tool_repository.manager.action_node.ActionNode property)
run() (oscopilot.agents.friday_agent.FridayAgent method)
S
save_str_to_path() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
save_tool_info_to_json() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
score (oscopilot.utils.schema.JudgementResult attribute)
(oscopilot.utils.schema.RepairingResult attribute)
self_learning() (oscopilot.agents.self_learning.SelfLearning method)
self_learning_print_logging() (in module oscopilot.utils.config)
self_refining() (oscopilot.agents.friday_agent.FridayAgent method)
SelfLearner (class in oscopilot.modules.learner.self_learner)
SelfLearning (class in oscopilot.agents.self_learning)
send_chat_prompts() (in module oscopilot.utils.utils)
session (oscopilot.tool_repository.manager.tool_request_util.ToolRequestUtil attribute)
set_proxies() (oscopilot.utils.server_config.ConfigManager method)
setup_config() (in module oscopilot.utils.config)
setup_pre_run() (in module oscopilot.utils.config)
Shell (class in oscopilot.environments.bash_env)
START (oscopilot.utils.schema.TaskStatusCode attribute)
start_process() (oscopilot.environments.subprocess_env.SubprocessEnv method)
state (oscopilot.utils.schema.ExecutionState attribute)
status (oscopilot.tool_repository.manager.action_node.ActionNode property)
(oscopilot.utils.schema.JudgementResult attribute)
(oscopilot.utils.schema.RepairingResult attribute)
step() (oscopilot.environments.base_env.BaseEnv method)
(oscopilot.environments.env.Env method)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv method)
(oscopilot.environments.subprocess_env.SubprocessEnv method)
stop() (oscopilot.environments.base_env.BaseEnv method)
(oscopilot.environments.env.Env method)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv method)
store_tool() (oscopilot.modules.executor.friday_executor.FridayExecutor method)
string_to_python() (in module oscopilot.environments.py_jupyter_env)
SubprocessEnv (class in oscopilot.environments.subprocess_env)
T
TaskStatusCode (class in oscopilot.utils.schema)
terminate() (oscopilot.environments.base_env.BaseEnv method)
(oscopilot.environments.env.Env method)
(oscopilot.environments.py_jupyter_env.PythonJupyterEnv method)
(oscopilot.environments.subprocess_env.SubprocessEnv method)
text_extract() (oscopilot.agents.self_learning.SelfLearning method)
text_extractor (oscopilot.agents.self_learning.SelfLearning attribute)
TextExtractor (class in oscopilot.tool_repository.basic_tools.text_extractor)
tool_code_filter() (oscopilot.modules.retriever.vector_retriever.FridayRetriever method)
tool_manager (oscopilot.agents.self_learning.SelfLearning attribute)
(oscopilot.modules.learner.self_learner.SelfLearner attribute)
tool_names (oscopilot.tool_repository.manager.tool_manager.ToolManager property)
ToolManager (class in oscopilot.tool_repository.manager.tool_manager)
ToolRequestUtil (class in oscopilot.tool_repository.manager.tool_request_util)
topological_sort() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
U
update_tool() (oscopilot.modules.planner.friday_planner.FridayPlanner method)
V
vectordb (oscopilot.tool_repository.manager.tool_manager.ToolManager attribute)
vectordb_path (oscopilot.tool_repository.manager.tool_manager.ToolManager attribute)
visit() (oscopilot.environments.py_jupyter_env.AddLinePrints method)
W
wrap_in_try_except() (in module oscopilot.environments.py_jupyter_env)
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds