MCPcopy Create free account

hub / github.com/HKUDS/AutoAgent / functions

Functions594 in github.com/HKUDS/AutoAgent

Functionpage_up_markdown
Scroll the viewport UP one page-length in the current file and return the new viewport content.
autoagent/tools/file_surfer_tool.py:89
Methodpeek_table
Peek at the data in the table
autoagent/memory/tool_memory.py:73
Methodpeek_table
Peek at the data in the table
autoagent/memory/paper_memory.py:73
Methodplugin_agents
(self)
autoagent/registry.py:152
Methodplugin_agents_info
(self)
autoagent/registry.py:172
Methodplugin_tools
(self)
autoagent/registry.py:148
Methodplugin_tools_info
(self)
autoagent/registry.py:168
Functionpretty_print_messages
(message, **kwargs)
autoagent/util.py:501
Functionprint_markdown
(md_path: str, console: Optional[Console] = None)
autoagent/util.py:73
Functionprint_stream
(text)
autoagent/io_utils.py:49
Functionprint_stream
(text)
autoagent/tools/terminal_tools.py:309
Functionprocess_instance
( instance: pd.Series, metadata: EvalMetadata, logger: MetaChainLogger, )
evaluation/gaia/run_infer.py:88
Functionprocess_terminal_agent_response
装饰器函数,用于处理命令执行的响应结果 - 如果结果是包含 status 和 result 的字典,返回格式化后的结果 - 如果结果是错误字符串,直接返回
autoagent/tools/terminal_tools.py:106
Functionprocess_terminal_response
装饰器函数,用于处理命令执行的响应结果 - 如果结果是包含 status 和 result 的字典,返回格式化后的结果 - 如果结果是错误字符串,直接返回
autoagent/tools/terminal_tools.py:141
Functionquery_db
Retrieve information from the database. Use this function when you need to search for information in the database. Args: query_text:
autoagent/tools/rag_tools.py:123
Methodquery_text_content
Query the table and return the results
autoagent/memory/paper_memory.py:56
Functionread_agent
(agent_name: str, context_variables: dict)
autoagent/tools/meta/edit_agents.py:357
Functionread_file
Read the contents of a file and return it as a string. Use this function when there is a need to check an existing file. Args: file_p
autoagent/tools/terminal_tools.py:178
Functionread_json_file
(file_path)
autoagent/io_utils.py:44
Functionread_yaml_file
(file_path)
autoagent/io_utils.py:12
Functionregister_agent
(name: str = None, func_name: str = None)
autoagent/registry.py:214
Functionregister_plugin_agent
(name: str = None, func_name: str = None)
autoagent/registry.py:221
Functionregister_plugin_tool
(name: str = None)
autoagent/registry.py:217
Functionregister_tool
(name: str = None)
autoagent/registry.py:210
Functionregister_workflow
(name: str = None)
autoagent/registry.py:224
Methodrerank
(self, query_text: str, query_results: List[Dict])
autoagent/memory/rag_memory.py:178
Methodrerank
(self, query_text: str, query_df: pd.DataFrame)
autoagent/memory/tool_memory.py:84
Methodrerank
(self, query_results: List[Dict])
autoagent/memory/codetree_memory.py:92
Methodreset
reset: reset the memory. Notice: You may need to set the environment variable `ALLOW_RESET` to `TRUE` to enable this function.
autoagent/memory/rag_memory.py:167
Functionrun_command_in_container
communicate with docker container and execute command, support stream output Args: command: the command to execute strea
autoagent/util.py:403
Functionrun_command_in_container_v1
(command, stream_callback: Callable = None)
autoagent/util.py:372
Functionrun_demo_loop
( starting_agent, context_variables=None, stream=False, debug=False )
autoagent/repl/repl.py:60
Methodrun_event
(current_event_id: str, current_event_input: Any)
autoagent/flow/core.py:93
Functionrun_in_client_non_async
autoagent/main.py:83
Functionrun_python
Run a python script. Args: code_path: The absolute or relative path (the relative path is from the root of the workplace `/workplace
autoagent/tools/terminal_tools.py:355
Functionsave_raw_docs_to_vector_db
Save the raw documents to the vector database. The documents could be: - ANY text document with the extension of pdf, docx, txt, etcs. -
autoagent/tools/rag_tools.py:21
Functionsave_yaml
(path: Path, data, sort_keys=True)
evaluation/math500/get_score.py:24
Methodsearch
(self, query: str)
autoagent/environment/markdown_browser/markdown_search.py:22
Functionsearch_github_code
Search GitHub code based on a keyword. Args: repo_owner: The owner of the repository repo_name: The name of the reposito
autoagent/tools/code_search.py:57
Functionsearch_github_repos
Search GitHub public repositories based on a keyword. :param query: The query to search for in repository names or descriptions. :param
autoagent/tools/code_search.py:8
Methodset_address
(self, uri_or_path: str)
autoagent/environment/markdown_browser/abstract_markdown_browser.py:29
Functionset_doc
(doc_template)
autoagent/tools/terminal_tools.py:347
Functionset_logger
(new_logger)
autoagent/logger.py:174
Functionshould_retry_error
(exception)
autoagent/core.py:38
Functionsleep
Wait a short period of time. Call this function if the page has not yet fully loaded, or if it is determined that a small delay would increase th
autoagent/tools/web_tools.py:365
Functionsleep_if_should_continue
(timeout: float)
autoagent/environment/shutdown_listener.py:50
Functionsolve_with_claude
(event: EventInput, global_ctx)
autoagent/workflows/math_solver_workflow_flow.py:67
Functionsolve_with_deepseek
(event: EventInput, global_ctx)
autoagent/workflows/math_solver_workflow_flow.py:109
Functionsolve_with_gpt4
(event: EventInput, global_ctx)
autoagent/workflows/math_solver_workflow_flow.py:25
Functionsource_to_function
将源代码字符串转换为函数,支持 inspect.getsource
autoagent/environment/browser_env.py:626
FunctiontailwindPlugin
(context, options)
docs/plugins/tailwind-config.cjs:1
Functionterminal_page_to
Move the viewport to the specified page index. The index starts from 1. Use this function when you want to move the viewport to a specific pa
autoagent/tools/terminal_tools.py:93
Functionterminal_page_up
Scroll the viewport UP one page-length in the current terminal. Use this function when the terminal is too long and you want to scroll up to see
autoagent/tools/terminal_tools.py:68
Functiontool_dummy
[This is a dummy tool, it's used for demonstrating the usage of the autoagent, you should write your own tool instead of using this dummy tool, a
autoagent/tools/dummy_tool.py:6
Functiontool_exists
(tool_name: str, context_variables)
autoagent/tools/meta/edit_tools.py:107
Methodtools
(self)
autoagent/registry.py:140
Methodtools_info
(self)
autoagent/registry.py:160
Functiontransfer_back_to_triage_agent
Args: task_status: The detailed description of the task status after a sub-agent has finished its sub-task. A sub-agent can use t
autoagent/agents/system_agent/system_triage_agent.py:49
Functiontransfer_to_coding_agent
(sub_task_description: str)
autoagent/agents/system_agent/system_triage_agent.py:47
Functiontransfer_to_filesurfer_agent
Args: sub_task_description: The detailed description of the sub-task that the `System Triage Agent` will ask the `File Surfer Age
autoagent/agents/system_agent/system_triage_agent.py:39
Functiontransfer_to_websurfer_agent
(sub_task_description: str)
autoagent/agents/system_agent/system_triage_agent.py:45
Functiontruncate_by_tokens
(env: DockerEnv, text, max_tokens = 4096, model="gpt-4o-2024-08-06")
autoagent/tools/tool_utils.py:6
Functiontruncate_by_tokens
(env: DockerEnv, text, max_tokens = 4096, model="gpt-4o-2024-08-06")
autoagent/tools/web_tools.py:383
Methodvalidate_agent
验证非on_start事件必须有agent
autoagent/agents/meta_agent/worklow_form_complie.py:68
Methodvalidate_condition
验证condition的存在性
autoagent/agents/meta_agent/worklow_form_complie.py:46
Methodvalidate_event_constraints
验证事件的所有约束
autoagent/agents/meta_agent/worklow_form_complie.py:108
Methodvalidate_event_order
验证事件的监听顺序: 1. 事件只能监听在它之前定义的事件 2. 不能有循环依赖
autoagent/agents/meta_agent/worklow_form_complie.py:168
Methodvalidate_events
验证事件流的合法性
autoagent/agents/meta_agent/worklow_form_complie.py:152
Methodvalidate_goto_value
(cls, v, info: ValidationInfo)
autoagent/agents/meta_agent/worklow_form_complie.py:34
Methodvalidate_listen
验证on_start事件不能有listen
autoagent/agents/meta_agent/worklow_form_complie.py:75
Methodvalidate_outputs
验证输出的合法性
autoagent/agents/meta_agent/worklow_form_complie.py:100
Methodvalidate_single_agent_io
验证单agent系统的输入输出是否匹配
autoagent/agents/meta_agent/form_complie.py:37
Methodvalidate_start_event
验证起始事件的名称
autoagent/agents/meta_agent/worklow_form_complie.py:82
Methodvalidate_start_event_outputs
验证on_start事件的输出必须与输入相同
autoagent/agents/meta_agent/worklow_form_complie.py:88
Methodvalidate_task
验证非on_start事件必须有task
autoagent/agents/meta_agent/worklow_form_complie.py:62
Methodvalidate_tools
验证tools的存在性
autoagent/agents/meta_agent/worklow_form_complie.py:137
Methodviewport
Return the content of the current viewport.
autoagent/environment/markdown_browser/requests_markdown_browser.py:141
Methodviewport
(self)
autoagent/environment/markdown_browser/abstract_markdown_browser.py:34
Methodvisit_page
Update the address, visit the page, and return the content of the viewport.
autoagent/environment/markdown_browser/requests_markdown_browser.py:247
Methodvisit_page
(self, path_or_uri: str)
autoagent/environment/markdown_browser/abstract_markdown_browser.py:51
Functionweb_search
Performs a web search on 'https://www.bing.com/search' with the given query. Args: query: The query to search for.
autoagent/tools/web_tools.py:343
Functionwith_env
将env注入到工具函数中的装饰器
autoagent/tools/file_surfer_tool.py:26
Functionwith_env
将env注入到工具函数中的装饰器
autoagent/tools/web_tools.py:29
Functionwith_env
将env注入到工具函数中的装饰器
autoagent/environment/docker_env.py:201
Functionwith_two_envs
将env注入到工具函数中的装饰器
autoagent/tools/web_tools.py:44
Functionworkflow
命令行函数的同步包装器
autoagent/cli.py:89
Methodworkflows
(self)
autoagent/registry.py:156
Methodworkflows_info
(self)
autoagent/registry.py:176
Functionwrapped
(*args, **kwargs)
autoagent/tools/file_surfer_tool.py:29
Functionwrapped
(*args, **kwargs)
autoagent/tools/web_tools.py:32
Functionwrapped
(*args, **kwargs)
autoagent/environment/docker_env.py:204
Methodwrapped_func
(*args, **kwargs)
autoagent/registry.py:91
Functionwrapper
(*args, **kwargs)
autoagent/tools/terminal_tools.py:114
Functionwrite_file
Write content to a file. Use this function when there is a need to write content to an existing file. Args: path: The path to the fil
autoagent/tools/terminal_tools.py:238
← previous501–594 of 594, ranked by callers