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
↓ 1 callers
Function
function_or_method_to_repr
(func_or_method: Callable)
autoagent/flow/utils.py:15
↓ 1 callers
Function
get_agent_creator_agent
The agent creator is an agent that can be used to create the agents.
autoagent/agents/meta_agent/agent_creator.py:10
↓ 1 callers
Function
get_api_plugin_tools_doc
Retrieve satisfied tool documents based on the query text. Args: query_text: A query or request from users and you need to find the s
autoagent/tools/meta/tool_retriever.py:9
↓ 1 callers
Function
get_architecture
()
constant.py:37
↓ 1 callers
Function
get_args
()
evaluation/multihoprag/run_rag.py:14
↓ 1 callers
Method
get_chat_completion_async
( self, agent: Agent, history: List, context_variables: dict, model_ov
autoagent/core.py:500
↓ 1 callers
Function
get_coding_agent
(model: str, **kwargs)
autoagent/agents/system_agent/programming_agent.py:61
↓ 1 callers
Function
get_config
(metadata: EvalMetadata, instance_id: str)
evaluation/gaia/run_infer.py:52
↓ 1 callers
Function
get_diff
f""" Get the diff of the 'autoagent'.
autoagent/tools/github_ops.py:22
↓ 1 callers
Method
get_event_from_id
(self, event_id: str)
autoagent/flow/core.py:27
↓ 1 callers
Function
get_file_hash
Calculate MD5 hash of a file.
docs/translation_updater.py:24
↓ 1 callers
Function
get_filesurfer_agent
(model: str = "gpt-4o", **kwargs)
autoagent/agents/system_agent/filesurfer_agent.py:10
↓ 1 callers
Method
get_html_text_converter
(self)
autoagent/environment/browser_env.py:372
↓ 1 callers
Function
get_page_markdown
Get the markdown content of the current page. Use this tool if you need to watch the Youtube video, Wikipedia page, or other pages that cont
autoagent/tools/web_tools.py:403
↓ 1 callers
Function
get_translation_path
Get the corresponding translation file path for a source file.
docs/translation_updater.py:44
↓ 1 callers
Function
get_vote_aggregator_agent
This agent aggregates solutions from different solvers and determines the final answer through majority voting.
autoagent/agents/math/vote_aggregator_agent.py:6
↓ 1 callers
Function
get_websurfer_agent
(model: str = "gpt-4o", **kwargs)
autoagent/agents/system_agent/websurfer_agent.py:9
↓ 1 callers
Function
get_workflow_creator_agent
The workflow creator is an agent that can be used to create the workflow.
autoagent/agents/meta_agent/workflow_creator.py:10
↓ 1 callers
Method
handle_function_result
(self, result, debug)
autoagent/core.py:212
↓ 1 callers
Function
handle_mm_func
(tool_name, tool_args)
autoagent/agents/system_agent/websurfer_agent.py:11
↓ 1 callers
Method
image_to_png_base64_url
Convert a numpy array to a base64 encoded png image url.
autoagent/environment/browser_env.py:590
↓ 1 callers
Function
import_agents_recursively
Recursively import all agents in .py files Args: base_dir: the root directory to start searching base_package: the base name
autoagent/agents/__init__.py:29
↓ 1 callers
Function
import_tools_recursively
Recursively import all tools in .py files Args: base_dir: the root directory to start searching base_package: the base name o
autoagent/tools/__init__.py:32
↓ 1 callers
Function
import_workflows_recursively
Recursively import all workflows in .py files Args: base_dir: the root directory to start searching base_package: the base na
autoagent/workflows/__init__.py:5
↓ 1 callers
Method
init_browser
(self)
autoagent/environment/browser_env.py:388
↓ 1 callers
Function
interleave_user_into_messages
(messages: list[dict])
autoagent/fn_call_converter.py:837
↓ 1 callers
Method
invoke_event
( self, event: BaseEvent, event_input: Optional[EventInput] = None, global_ctx
autoagent/flow/core.py:83
↓ 1 callers
Function
is_correct
(sample: str, gt_answer: str, dset: str)
evaluation/math500/get_score.py:78
↓ 1 callers
Function
is_correct_gsm8k
(model_completion, gt_example)
evaluation/math500/get_score.py:54
↓ 1 callers
Function
is_correct_minerva
(og_pred, gt)
evaluation/math500/get_score.py:67
↓ 1 callers
Function
load_cookies_from_json
(json_path)
autoagent/environment/browser_cookies.py:6
↓ 1 callers
Function
load_file_hashes
Load previously saved file hashes.
docs/translation_updater.py:30
↓ 1 callers
Function
load_yaml
(path: Path)
evaluation/math500/get_score.py:17
↓ 1 callers
Function
main
()
docs/translation_updater.py:111
↓ 1 callers
Function
main
(args)
evaluation/gaia/run_infer.py:256
↓ 1 callers
Function
main
()
evaluation/gaia/get_score.py:5
↓ 1 callers
Function
main
(container_name: str = 'gaia_test', model: str = 'gpt-4o-mini-2024-07-18', git_clone: bool = False, setup_pack
evaluation/multihoprag/run_rag.py:45
↓ 1 callers
Function
main
(args)
evaluation/math500/run_infer.py:59
↓ 1 callers
Function
main
(args)
evaluation/math500/get_score.py:105
↓ 1 callers
Function
majority_voting
(system_input: str)
autoagent/workflows/math_solver_workflow_flow.py:194
↓ 1 callers
Method
make_event
(self, func: Union[EventFunction, BaseEvent])
autoagent/flow/core.py:30
↓ 1 callers
Function
make_metadata
( model: str, dataset_name: str, agent_func: str, eval_note: str | None, eval_output_dir:
evaluation/utils.py:18
↓ 1 callers
Function
merge_chunk
(final_response: dict, delta: dict)
autoagent/util.py:108
↓ 1 callers
Function
meta_agent
(model: str, context_variables: dict, debug: bool = True)
autoagent/cli_utils/metachain_meta_agent.py:163
↓ 1 callers
Function
meta_workflow
(model: str, context_variables: dict, debug: bool = True)
autoagent/cli_utils/metachain_meta_workflow.py:116
↓ 1 callers
Method
model_dump_json
(self, *args, **kwargs)
evaluation/types.py:26
↓ 1 callers
Function
my_get_unnormalized_answer
(og_pred)
evaluation/math500/get_score.py:60
↓ 1 callers
Method
page_to
Move the viewport to the specified page index.
autoagent/environment/markdown_browser/requests_markdown_browser.py:171
↓ 1 callers
Method
parse_action
(elem: ET.Element)
autoagent/agents/meta_agent/worklow_form_complie.py:205
↓ 1 callers
Method
parse_agent
(cls, agent_elem: ET.Element)
autoagent/agents/meta_agent/form_complie.py:97
↓ 1 callers
Method
parse_agent
(elem: ET.Element)
autoagent/agents/meta_agent/worklow_form_complie.py:257
↓ 1 callers
Function
parse_agent_form
读取并解析agent form XML文件 Args: xml_content: XML文件内容 Returns: 解析后的AgentForm对象,如果解析失败返回None
autoagent/agents/meta_agent/form_complie.py:118
↓ 1 callers
Method
parse_directory
Parse code snippets from all files in directory. Args: code_directory_path: Directory path containing code files.
autoagent/memory/code_tree/code_parser.py:79
↓ 1 callers
Method
parse_event
(elem: ET.Element, is_start: bool = False)
autoagent/agents/meta_agent/worklow_form_complie.py:223
↓ 1 callers
Method
parse_file
Parse code snippets from single code file. Args: content: The content of the file. filename: The name of the
autoagent/memory/code_tree/code_parser.py:33
↓ 1 callers
Method
parse_global_variables
(root: ET.Element)
autoagent/agents/meta_agent/form_complie.py:83
↓ 1 callers
Method
parse_output
(elem: ET.Element, multiple_outputs: bool)
autoagent/agents/meta_agent/worklow_form_complie.py:213
↓ 1 callers
Method
parse_results
(self, reranked_results: str)
autoagent/memory/code_memory.py:79
↓ 1 callers
Method
parse_tools
(agent_elem: ET.Element)
autoagent/agents/meta_agent/form_complie.py:60
↓ 1 callers
Function
parse_workflow_form
读取并解析workflow form XML文件 Args: xml_content: XML文件内容 Returns: 解析后的WorkflowForm对象,如果解析失败返回None
autoagent/agents/meta_agent/worklow_form_complie.py:303
↓ 1 callers
Method
parse_xml
(cls, xml_content: str)
autoagent/agents/meta_agent/form_complie.py:108
↓ 1 callers
Method
parse_xml
(cls, xml_content: str)
autoagent/agents/meta_agent/worklow_form_complie.py:274
↓ 1 callers
Function
prepare_dataset
( dataset: pd.DataFrame, output_file: str, eval_n_limit: int, eval_ids: list[str] | None = Non
evaluation/utils.py:64
↓ 1 callers
Function
pretty_print_messages
(messages)
autoagent/repl/repl.py:37
↓ 1 callers
Function
print_in_box
Print the text in a box. :param text: the text to print. :param console: the console to print the text. :param title: the title of th
autoagent/util.py:24
↓ 1 callers
Function
process_and_print_streaming_response
(response)
autoagent/repl/repl.py:6
↓ 1 callers
Function
process_audio
(audio_path)
autoagent/tools/file_surfer_tool.py:286
↓ 1 callers
Function
process_file
Process a single file for translation.
docs/translation_updater.py:67
↓ 1 callers
Function
process_video
(video_path, seconds_per_frame=2)
autoagent/tools/file_surfer_tool.py:296
↓ 1 callers
Function
push_changes
Push the selected changes to the remote repository Args: commit_message (str): The commit message file_paths (list): The
autoagent/tools/github_ops.py:58
↓ 1 callers
Method
query_code
Query the code memory. Args: query_text (str): The query text n_results (int): The number of results
autoagent/memory/code_memory.py:36
↓ 1 callers
Method
query_code
Query the code memory. Args: query_text (str): The query text n_results (int): The number of results
autoagent/memory/codetree_memory.py:69
↓ 1 callers
Method
query_table
Query the table and return the results
autoagent/memory/tool_memory.py:55
↓ 1 callers
Function
question_scorer
( model_answer: str, ground_truth: str, )
evaluation/gaia/scorer.py:28
↓ 1 callers
Function
receive_all
(conn, buffer_size=4096)
autoagent/tcp_server.py:17
↓ 1 callers
Function
receive_all
(conn, buffer_size=4096)
autoagent/environment/tcp_server.py:21
↓ 1 callers
Method
rerank
(self, query_text: str, query_results: List[Dict])
autoagent/memory/code_memory.py:90
↓ 1 callers
Method
reset
(self)
autoagent/flow/core.py:24
↓ 1 callers
Function
run_agent
Run a plugin agent. Args: agent_name: The name of the agent. model: The model to be used for the agent. Supported models: cla
autoagent/tools/meta/edit_agents.py:87
↓ 1 callers
Method
run_and_stream
( self, agent: Agent, messages: List, context_variables: dict = {}, mo
autoagent/core.py:304
↓ 1 callers
Method
run_command
communicate with docker container and execute command, support stream output Args: command: the command to execu
autoagent/environment/docker_env.py:144
↓ 1 callers
Function
run_evaluation
( dataset: pd.DataFrame, metadata: EvalMetadata | None, output_file: str, num_workers: int,
evaluation/utils.py:130
↓ 1 callers
Function
run_in_client
autoagent/main.py:30
↓ 1 callers
Function
run_inference
(item, save_dir, workflow)
evaluation/math500/run_infer.py:24
↓ 1 callers
Function
run_tool
Run a tool with the given code. Args: tool_name: The name of the tool to be run. run_code: The code to be run. Returns:
autoagent/tools/meta/edit_tools.py:162
↓ 1 callers
Function
run_workflow
(workflow_name: str, system_input: str, context_variables: dict)
autoagent/tools/meta/edit_workflow.py:241
↓ 1 callers
Function
save_file_hashes
Save current file hashes.
docs/translation_updater.py:38
↓ 1 callers
Function
save_yaml
(path: Path, data, sort_keys=True)
evaluation/math500/run_infer.py:20
↓ 1 callers
Method
search_code
搜索代码
autoagent/tools/github_client.py:159
↓ 1 callers
Function
search_trending_models_on_huggingface
Search trending models on Hugging Face. Use this tool when you want to create a tool that uses Hugging Face models, only support the following ta
autoagent/tools/meta/search_tools.py:8
↓ 1 callers
Function
setup_metachain
(workplace_name: str, env: DockerEnv)
autoagent/environment/utils.py:4
↓ 1 callers
Function
single_event_to_code
Convert a single event to code. A event contains: - name (str): the name of the event - input (dict): the input to the event - t
autoagent/tools/meta/edit_workflow.py:119
↓ 1 callers
Function
single_select_menu
(options, message: str = "")
autoagent/util.py:79
↓ 1 callers
Method
solo_run
( self, event_input: EventInput, global_ctx: Any = None )
autoagent/flow/types.py:109
↓ 1 callers
Function
stage_files
Stage the specified file changes Args: file_paths (list): The file paths to stage, if None, add all changes to the staging area
autoagent/tools/github_ops.py:35
↓ 1 callers
Function
start_event_to_code
Convert the start event to code.
autoagent/tools/meta/edit_workflow.py:113
↓ 1 callers
Method
stop_container
(self)
autoagent/environment/docker_env.py:138
↓ 1 callers
Function
submit_pull_request
Submit a Pull Request Args: title: PR title body: PR description target_branch: target branch
autoagent/tools/github_ops.py:91
↓ 1 callers
Function
terminal_page_down
Scroll the viewport DOWN one page-length in the current terminal. Use this function when the terminal is too long and you want to scroll down to
autoagent/tools/terminal_tools.py:81
↓ 1 callers
Function
to_dataframe_row
Helper function to convert Embedded Snippet object to a dataframe row in dictionary format. Args: embedded_snippets: List of Sni
autoagent/memory/code_tree/code_parser.py:100
← previous
next →
201–300 of 594, ranked by callers