Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/AutoAgent
/ functions
Functions
594 in github.com/HKUDS/AutoAgent
⨍
Functions
594
◇
Types & classes
110
↳
Endpoints
31
Function
page_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
Method
peek_table
Peek at the data in the table
autoagent/memory/tool_memory.py:73
Method
peek_table
Peek at the data in the table
autoagent/memory/paper_memory.py:73
Method
plugin_agents
(self)
autoagent/registry.py:152
Method
plugin_agents_info
(self)
autoagent/registry.py:172
Method
plugin_tools
(self)
autoagent/registry.py:148
Method
plugin_tools_info
(self)
autoagent/registry.py:168
Function
pretty_print_messages
(message, **kwargs)
autoagent/util.py:501
Function
print_markdown
(md_path: str, console: Optional[Console] = None)
autoagent/util.py:73
Function
print_stream
(text)
autoagent/io_utils.py:49
Function
print_stream
(text)
autoagent/tools/terminal_tools.py:309
Function
process_instance
( instance: pd.Series, metadata: EvalMetadata, logger: MetaChainLogger, )
evaluation/gaia/run_infer.py:88
Function
process_terminal_agent_response
装饰器函数,用于处理命令执行的响应结果 - 如果结果是包含 status 和 result 的字典,返回格式化后的结果 - 如果结果是错误字符串,直接返回
autoagent/tools/terminal_tools.py:106
Function
process_terminal_response
装饰器函数,用于处理命令执行的响应结果 - 如果结果是包含 status 和 result 的字典,返回格式化后的结果 - 如果结果是错误字符串,直接返回
autoagent/tools/terminal_tools.py:141
Function
query_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
Method
query_text_content
Query the table and return the results
autoagent/memory/paper_memory.py:56
Function
read_agent
(agent_name: str, context_variables: dict)
autoagent/tools/meta/edit_agents.py:357
Function
read_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
Function
read_json_file
(file_path)
autoagent/io_utils.py:44
Function
read_yaml_file
(file_path)
autoagent/io_utils.py:12
Function
register_agent
(name: str = None, func_name: str = None)
autoagent/registry.py:214
Function
register_plugin_agent
(name: str = None, func_name: str = None)
autoagent/registry.py:221
Function
register_plugin_tool
(name: str = None)
autoagent/registry.py:217
Function
register_tool
(name: str = None)
autoagent/registry.py:210
Function
register_workflow
(name: str = None)
autoagent/registry.py:224
Method
rerank
(self, query_text: str, query_results: List[Dict])
autoagent/memory/rag_memory.py:178
Method
rerank
(self, query_text: str, query_df: pd.DataFrame)
autoagent/memory/tool_memory.py:84
Method
rerank
(self, query_results: List[Dict])
autoagent/memory/codetree_memory.py:92
Method
reset
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
Function
run_command_in_container
communicate with docker container and execute command, support stream output Args: command: the command to execute strea
autoagent/util.py:403
Function
run_command_in_container_v1
(command, stream_callback: Callable = None)
autoagent/util.py:372
Function
run_demo_loop
( starting_agent, context_variables=None, stream=False, debug=False )
autoagent/repl/repl.py:60
Method
run_event
(current_event_id: str, current_event_input: Any)
autoagent/flow/core.py:93
Function
run_in_client_non_async
autoagent/main.py:83
Function
run_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
Function
save_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
Function
save_yaml
(path: Path, data, sort_keys=True)
evaluation/math500/get_score.py:24
Method
search
(self, query: str)
autoagent/environment/markdown_browser/markdown_search.py:22
Function
search_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
Function
search_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
Method
set_address
(self, uri_or_path: str)
autoagent/environment/markdown_browser/abstract_markdown_browser.py:29
Function
set_doc
(doc_template)
autoagent/tools/terminal_tools.py:347
Function
set_logger
(new_logger)
autoagent/logger.py:174
Function
should_retry_error
(exception)
autoagent/core.py:38
Function
sleep
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
Function
sleep_if_should_continue
(timeout: float)
autoagent/environment/shutdown_listener.py:50
Function
solve_with_claude
(event: EventInput, global_ctx)
autoagent/workflows/math_solver_workflow_flow.py:67
Function
solve_with_deepseek
(event: EventInput, global_ctx)
autoagent/workflows/math_solver_workflow_flow.py:109
Function
solve_with_gpt4
(event: EventInput, global_ctx)
autoagent/workflows/math_solver_workflow_flow.py:25
Function
source_to_function
将源代码字符串转换为函数,支持 inspect.getsource
autoagent/environment/browser_env.py:626
Function
tailwindPlugin
(context, options)
docs/plugins/tailwind-config.cjs:1
Function
terminal_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
Function
terminal_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
Function
tool_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
Function
tool_exists
(tool_name: str, context_variables)
autoagent/tools/meta/edit_tools.py:107
Method
tools
(self)
autoagent/registry.py:140
Method
tools_info
(self)
autoagent/registry.py:160
Function
transfer_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
Function
transfer_to_coding_agent
(sub_task_description: str)
autoagent/agents/system_agent/system_triage_agent.py:47
Function
transfer_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
Function
transfer_to_websurfer_agent
(sub_task_description: str)
autoagent/agents/system_agent/system_triage_agent.py:45
Function
truncate_by_tokens
(env: DockerEnv, text, max_tokens = 4096, model="gpt-4o-2024-08-06")
autoagent/tools/tool_utils.py:6
Function
truncate_by_tokens
(env: DockerEnv, text, max_tokens = 4096, model="gpt-4o-2024-08-06")
autoagent/tools/web_tools.py:383
Method
validate_agent
验证非on_start事件必须有agent
autoagent/agents/meta_agent/worklow_form_complie.py:68
Method
validate_condition
验证condition的存在性
autoagent/agents/meta_agent/worklow_form_complie.py:46
Method
validate_event_constraints
验证事件的所有约束
autoagent/agents/meta_agent/worklow_form_complie.py:108
Method
validate_event_order
验证事件的监听顺序: 1. 事件只能监听在它之前定义的事件 2. 不能有循环依赖
autoagent/agents/meta_agent/worklow_form_complie.py:168
Method
validate_events
验证事件流的合法性
autoagent/agents/meta_agent/worklow_form_complie.py:152
Method
validate_goto_value
(cls, v, info: ValidationInfo)
autoagent/agents/meta_agent/worklow_form_complie.py:34
Method
validate_listen
验证on_start事件不能有listen
autoagent/agents/meta_agent/worklow_form_complie.py:75
Method
validate_outputs
验证输出的合法性
autoagent/agents/meta_agent/worklow_form_complie.py:100
Method
validate_single_agent_io
验证单agent系统的输入输出是否匹配
autoagent/agents/meta_agent/form_complie.py:37
Method
validate_start_event
验证起始事件的名称
autoagent/agents/meta_agent/worklow_form_complie.py:82
Method
validate_start_event_outputs
验证on_start事件的输出必须与输入相同
autoagent/agents/meta_agent/worklow_form_complie.py:88
Method
validate_task
验证非on_start事件必须有task
autoagent/agents/meta_agent/worklow_form_complie.py:62
Method
validate_tools
验证tools的存在性
autoagent/agents/meta_agent/worklow_form_complie.py:137
Method
viewport
Return the content of the current viewport.
autoagent/environment/markdown_browser/requests_markdown_browser.py:141
Method
viewport
(self)
autoagent/environment/markdown_browser/abstract_markdown_browser.py:34
Method
visit_page
Update the address, visit the page, and return the content of the viewport.
autoagent/environment/markdown_browser/requests_markdown_browser.py:247
Method
visit_page
(self, path_or_uri: str)
autoagent/environment/markdown_browser/abstract_markdown_browser.py:51
Function
web_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
Function
with_env
将env注入到工具函数中的装饰器
autoagent/tools/file_surfer_tool.py:26
Function
with_env
将env注入到工具函数中的装饰器
autoagent/tools/web_tools.py:29
Function
with_env
将env注入到工具函数中的装饰器
autoagent/environment/docker_env.py:201
Function
with_two_envs
将env注入到工具函数中的装饰器
autoagent/tools/web_tools.py:44
Function
workflow
命令行函数的同步包装器
autoagent/cli.py:89
Method
workflows
(self)
autoagent/registry.py:156
Method
workflows_info
(self)
autoagent/registry.py:176
Function
wrapped
(*args, **kwargs)
autoagent/tools/file_surfer_tool.py:29
Function
wrapped
(*args, **kwargs)
autoagent/tools/web_tools.py:32
Function
wrapped
(*args, **kwargs)
autoagent/environment/docker_env.py:204
Method
wrapped_func
(*args, **kwargs)
autoagent/registry.py:91
Function
wrapper
(*args, **kwargs)
autoagent/tools/terminal_tools.py:114
Function
write_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
← previous
501–594 of 594, ranked by callers