MCPcopy Create free account

hub / github.com/HKUDS/AutoAgent / functions

Functions594 in github.com/HKUDS/AutoAgent

↓ 2 callersFunctionfunction_to_json
Converts a Python function into a JSON-serializable dictionary that describes the function's signature, including its name, description,
autoagent/util.py:281
↓ 2 callersFunctionget_agent_former_agent
This agent is used to complete a form that can be used to create an agent.
autoagent/agents/meta_agent/agent_former.py:12
↓ 2 callersFunctionget_args
()
evaluation/gaia/run_infer.py:31
↓ 2 callersMethodget_chat_completion
( self, agent: Agent, history: List, context_variables: dict, model_ov
autoagent/core.py:115
↓ 2 callersFunctionget_config
(container_name, port, test_pull_name="main", git_clone=False)
autoagent/cli.py:109
↓ 2 callersFunctionget_current_branch
f""" Get the current branch of the 'autoagent'.
autoagent/tools/github_ops.py:9
↓ 2 callersFunctionget_error_prefix
(last_browser_action: str, last_browser_action_error: str)
autoagent/tools/web_tools.py:153
↓ 2 callersFunctionget_file_md5
(file_path)
autoagent/io_utils.py:17
↓ 2 callersMethodget_instance
(cls)
autoagent/logger.py:143
↓ 2 callersFunctionget_system_triage_agent
This is the `System Triage Agent`, it can help the user to determine which agent is best suited to handle the user's request under the current co
autoagent/agents/system_agent/system_triage_agent.py:9
↓ 2 callersFunctionget_tool_editor_agent
The tool editor is an agent that can be used to edit the tools.
autoagent/agents/meta_agent/tool_editor.py:10
↓ 2 callersFunctionget_type_info
(annotation, base_type_map)
autoagent/util.py:176
↓ 2 callersFunctionget_workflow_former_agent
This agent is used to complete a form that can be used to create a workflow consisting of multiple agents.
autoagent/agents/meta_agent/workflow_former.py:14
↓ 2 callersMethodgoto
(self, group_markers: list[BaseEvent], *args)
autoagent/flow/core.py:80
↓ 2 callersFunctionhas_format_keys
(s)
autoagent/tools/meta/edit_agents.py:147
↓ 2 callersMethodhash
(self)
autoagent/flow/types.py:80
↓ 2 callersFunctionis_float
(element: any)
evaluation/gaia/scorer.py:32
↓ 2 callersFunctionlist_workflows
List all workflows in the MetaChain. Returns: A list of information of all workflows including name, args, docstring, body, return_ty
autoagent/tools/meta/edit_workflow.py:208
↓ 2 callersFunctionmerge_fields
(target, source)
autoagent/util.py:100
↓ 2 callersFunctionnormalize_number_str
(number_str: str)
evaluation/gaia/scorer.py:6
↓ 2 callersMethodopen_local_file
Convert a local file path to a file:/// URI, update the address, visit the page, and return the contents of the viewport.
autoagent/environment/markdown_browser/requests_markdown_browser.py:252
↓ 2 callersFunctionopen_local_terminal_output
Open a local file at a path in the text-based browser and return current viewport content. Args: path: The absolute path of a local
autoagent/tools/terminal_tools.py:49
↓ 2 callersMethodpage_down
Move the viewport down one page, if possible.
autoagent/environment/markdown_browser/requests_markdown_browser.py:163
↓ 2 callersMethodpage_up
Move the viewport up one page, if possible.
autoagent/environment/markdown_browser/requests_markdown_browser.py:167
↓ 2 callersMethodpeek
peek: peek the memery. Args: collection: the name of the collection to peek. n_results: the number of results
autoagent/memory/rag_memory.py:117
↓ 2 callersFunctionprotect_tools
(tool_name: str)
autoagent/tools/meta/edit_tools.py:27
↓ 2 callersFunctionread_file
(file_path)
autoagent/io_utils.py:7
↓ 2 callersFunctionsplit_string
( s: str, char_list: list[str] = None, )
evaluation/gaia/scorer.py:18
↓ 2 callersFunctionstring_to_md5_hash
(string: str)
autoagent/flow/utils.py:47
↓ 2 callersFunctionupdate_guidance
(context_variables)
autoagent/cli.py:170
↓ 2 callersFunctionwrite_file_in_chunks
(file_content, output_path, env: DockerEnv, chunk_size=100000)
autoagent/tools/terminal_tools.py:196
↓ 1 callersMethod__init__
(self, message)
autoagent/fn_call_converter.py:22
↓ 1 callersMethod__init__
(self, project_path: str, db_name: str = '.sa', platform: str = 'OpenAI', api_key: str = None, embedding_model
autoagent/memory/code_memory.py:8
↓ 1 callersMethod__init__
(self, model: str = None)
autoagent/memory/codetree_memory.py:90
↓ 1 callersMethod__init__
(self, browsergym_eval_env: str | None = None, local_root: str | None = None, workplace_name: str | None = Non
autoagent/environment/browser_env.py:338
↓ 1 callersMethod__init__
( self, requests_session: Optional[requests.Session] = None, mlm_client: O
autoagent/environment/mdconvert.py:814
↓ 1 callersMethod__init__
( self, requests_session: Optional[requests.Session] = None, mlm_client: Optional[Any]
autoagent/environment/markdown_browser/mdconvert.py:807
↓ 1 callersMethod__init__
(self, message)
autoagent/agents/meta_agent/worklow_form_complie.py:11
↓ 1 callersMethod_api_search
Search Bing using the API, and return the results formatted in Markdown. Args: query: The search query to issue Returns:
autoagent/environment/markdown_browser/markdown_search.py:72
↓ 1 callersMethod_bing_api_call
Make a Bing API call, and return a Python representation of the JSON response." Args: query: The search query to issue R
autoagent/environment/markdown_browser/markdown_search.py:214
↓ 1 callersMethod_convert_local_to_docker
(self, path)
autoagent/environment/local_env.py:92
↓ 1 callersFunction_encode_image
Encode an image to base64.
autoagent/tools/file_surfer_tool.py:151
↓ 1 callersFunction_extract_and_validate_params
( matching_tool: dict, param_matches: Iterable[re.Match], fn_name: str )
autoagent/fn_call_converter.py:489
↓ 1 callersMethod_fallback_search
When no Bing API key is provided, we issue a simple HTTPs GET call to the Bing landing page and convert it to Markdown. Args: que
autoagent/environment/markdown_browser/markdown_search.py:246
↓ 1 callersMethod_fetch_local_dir
Render a local directory listing in HTML to assist with local file browsing via the "file://" protocol. Through rendered in HTML, later parts
autoagent/environment/markdown_browser/requests_markdown_browser.py:401
↓ 1 callersMethod_fetch_page
Fetch a page using the requests library. Then convert it to Markdown, and set `page_content` (which splits the content into pages as necessary.
autoagent/environment/markdown_browser/requests_markdown_browser.py:276
↓ 1 callersMethod_findKey
(self, json: Any, key: str)
autoagent/environment/mdconvert.py:360
↓ 1 callersMethod_findKey
(self, json: Any, key: str)
autoagent/environment/markdown_browser/mdconvert.py:350
↓ 1 callersMethod_find_conda_sh
Find conda.sh file location across different environments
autoagent/environment/local_env.py:22
↓ 1 callersMethod_get_mlm_description
(self, local_path, extension, client, model, prompt=None)
autoagent/environment/mdconvert.py:769
↓ 1 callersMethod_get_mlm_description
(self, local_path, extension, client, model, prompt=None)
autoagent/environment/markdown_browser/mdconvert.py:762
↓ 1 callersMethod_is_picture
(self, shape)
autoagent/environment/mdconvert.py:576
↓ 1 callersMethod_is_picture
(self, shape)
autoagent/environment/markdown_browser/mdconvert.py:569
↓ 1 callersMethod_is_table
(self, shape)
autoagent/environment/mdconvert.py:584
↓ 1 callersMethod_is_table
(self, shape)
autoagent/environment/markdown_browser/mdconvert.py:577
↓ 1 callersMethod_print_assistant_message
(self, message, timestamp: str)
autoagent/logger.py:76
↓ 1 callersMethod_print_tool_call
(self, tool_calls: List, timestamp: str)
autoagent/logger.py:93
↓ 1 callersMethod_print_tool_execution
(self, message, timestamp: str)
autoagent/logger.py:63
↓ 1 callersFunction_register_signal_handler
(sig: signal.Signals)
autoagent/environment/shutdown_listener.py:16
↓ 1 callersMethod_save_assistant_message
(self, message, timestamp: str)
autoagent/logger.py:89
↓ 1 callersMethod_save_tool_call
(self, tool_calls: List, timestamp: str)
autoagent/logger.py:105
↓ 1 callersMethod_save_tool_execution
(self, message, timestamp: str)
autoagent/logger.py:73
↓ 1 callersMethod_split_pages
Split the page contents into pages that are approximately the viewport size. Small deviations are permitted to ensure words are not broken.
autoagent/environment/markdown_browser/requests_markdown_browser.py:258
↓ 1 callersFunctionadapt_tools_for_gemini
为 Gemini 模型适配工具定义,确保所有 OBJECT 类型参数都有非空的 properties
autoagent/core.py:58
↓ 1 callersMethodadd_code_files
Add all code files in the specified directory to the memory. Args: directory (str): The directory path containin
autoagent/memory/code_memory.py:12
↓ 1 callersMethodadd_code_files
将指定目录下的所有代码文件添加到内存中。 Args: directory (str): 要添加的代码文件所在的目录路径
autoagent/memory/codetree_memory.py:18
↓ 1 callersMethodadd_dataframe
(self, df: pd.DataFrame, collection: str = None, batch_size: int = 100)
autoagent/memory/tool_memory.py:30
↓ 1 callersFunctionagent_editing
(agent_creator_agent, client, messages, context_variables, agent_form, output_xml_form, requirements, task, de
autoagent/cli_utils/metachain_meta_agent.py:110
↓ 1 callersFunctionagent_profiling
(agent_former, client, messages, context_variables, requirements, debug)
autoagent/cli_utils/metachain_meta_agent.py:24
↓ 1 callersFunctionappend_to_json
(file_path, entry)
evaluation/multihoprag/run_rag.py:31
↓ 1 callersFunctionasync_workflow
异步实现的workflow函数
autoagent/cli.py:93
↓ 1 callersFunctioncase_resolved
Use this function when the case is resolved and no further actions are needed. Please encapsulate your final answer (answer ONLY) within <solutio
autoagent/tools/inner.py:4
↓ 1 callersMethodcheck_alive
(self, timeout: float = 60)
autoagent/environment/browser_env.py:560
↓ 1 callersMethodcheck_auth
Check if the token is valid
autoagent/tools/github_client.py:27
↓ 1 callersFunctionclean_msg
(msg: List[Dict[str, Any]])
evaluation/utils.py:363
↓ 1 callersFunctioncleanup
()
evaluation/utils.py:341
↓ 1 callersFunctioncompress_folder
(source_folder, destination_folder, archive_name)
autoagent/io_utils.py:26
↓ 1 callersFunctionconvert_fn_messages_to_non_fn_messages
Convert function calling messages back to non-function calling messages.
autoagent/fn_call_converter.py:815
↓ 1 callersMethodconvert_stream
(self, stream: Any, **kwargs: Any)
autoagent/environment/markdown_browser/mdconvert.py:872
↓ 1 callersFunctionconvert_tool_call_to_string
Convert tool call to content in string format.
autoagent/fn_call_converter.py:250
↓ 1 callersMethodconvert_url
(self, url: str, **kwargs: Any)
autoagent/environment/mdconvert.py:911
↓ 1 callersMethodconvert_url
(self, url: str, **kwargs: Any)
autoagent/environment/markdown_browser/mdconvert.py:905
↓ 1 callersFunctioncreate_agent_endpoints
()
autoagent/server.py:71
↓ 1 callersFunctioncreate_environment
1. create the code environment 2. create the web environment 3. create the file environment
evaluation/gaia/run_infer.py:243
↓ 1 callersMethodcreate_pull_request
Create a Pull Request Args: repo: The full name of the repository (e.g., 'owner/repo') title: The PR
autoagent/tools/github_client.py:38
↓ 1 callersFunctioncreate_workflow
(workflow_name: str, context_variables: dict)
autoagent/tools/meta/edit_workflow.py:156
↓ 1 callersMethoddebug_string
(self, exclude_events: Optional[set[str]] = None)
autoagent/flow/types.py:101
↓ 1 callersFunctiondecode_tokens_by_tiktoken
(tokens: list[int], model_name: str = "gpt-4o")
autoagent/registry.py:15
↓ 1 callersFunctiondecode_tokens_by_tiktoken
(tokens: list[int], model_name: str = "gpt-4o")
autoagent/memory/utils.py:12
↓ 1 callersFunctiondfs
(node_idx: int, depth: int, parent_node_filtered: bool, parent_node_name: str)
autoagent/tools/md_obs.py:29
↓ 1 callersMethoddummy_rerank
(self, query_text: str, query_df: pd.DataFrame)
autoagent/memory/tool_memory.py:152
↓ 1 callersFunctionencode_string_by_tiktoken
(content: str, model_name: str = "gpt-4o")
autoagent/registry.py:9
↓ 1 callersFunctionencode_string_by_tiktoken
(content: str, model_name: str = "gpt-4o")
autoagent/memory/utils.py:4
↓ 1 callersFunctionescape_inner_tags
(text)
autoagent/tools/terminal_tools.py:331
↓ 1 callersFunctionextract_agents_content
(text)
autoagent/cli_utils/metachain_meta_agent.py:16
↓ 1 callersFunctionextract_workflow_content
(text)
autoagent/agents/meta_agent/worklow_form_complie.py:294
↓ 1 callersFunctionfilter_ignores
(st, regexes_to_ignore)
evaluation/math500/get_score.py:34
↓ 1 callersMethodfind_on_page
Searches for the query from the current viewport forward, looping back to the start if necessary.
autoagent/environment/markdown_browser/requests_markdown_browser.py:175
↓ 1 callersFunctionflatten_md_axtree_to_str
Formats the accessibility tree into a string text
autoagent/tools/md_obs.py:3
↓ 1 callersFunctionformat_parents
(parents: dict[str, EventGroup], exclude_events: set[str], indent="")
autoagent/flow/types.py:123
← previousnext →101–200 of 594, ranked by callers