Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xtra-Computing/MegaAgent
/ functions
Functions
152 in github.com/Xtra-Computing/MegaAgent
⨍
Functions
152
◇
Types & classes
6
↓ 90 callers
Method
run
(self)
examples/MATH/agent.py:233
↓ 20 callers
Method
run
(self)
examples/GSM8k/agent.py:233
↓ 16 callers
Method
run
(self)
agent.py:233
↓ 7 callers
Function
add_memory
(employee_name, output)
examples/policy_making/main.py:81
↓ 5 callers
Function
add_memory
(employee_name, output)
examples/humaneval/main.py:73
↓ 5 callers
Function
add_memory
(employee_name, output)
examples/travel planner/main.py:73
↓ 5 callers
Function
add_memory
(employee_name, output)
examples/mbpp/main.py:73
↓ 5 callers
Method
add_memory
(self, memory)
agent.py:20
↓ 5 callers
Method
add_memory
(self, memory)
examples/MATH/agent.py:20
↓ 5 callers
Method
add_memory
(self, memory)
examples/GSM8k/agent.py:20
↓ 4 callers
Method
enqueue
(self, speaker, message)
agent.py:119
↓ 4 callers
Method
enqueue
(self, speaker, message)
examples/MATH/agent.py:119
↓ 4 callers
Method
enqueue
(self, speaker, message)
examples/GSM8k/agent.py:119
↓ 4 callers
Function
get_llm_response
(messages, enable_tools=True, agent_name='')
llm.py:195
↓ 4 callers
Function
get_llm_response
(messages, enable_tools=True, agent_name='')
examples/MATH/llm.py:193
↓ 4 callers
Function
get_llm_response
(messages, enable_tools=True, agent_name='')
examples/GSM8k/llm.py:193
↓ 4 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
utils.py:162
↓ 4 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
examples/MATH/utils.py:162
↓ 4 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
examples/GSM8k/utils.py:162
↓ 3 callers
Method
get
(self)
agent.py:42
↓ 3 callers
Method
get
(self)
examples/MATH/agent.py:42
↓ 3 callers
Method
get
(self)
examples/GSM8k/agent.py:42
↓ 3 callers
Function
get_llm_response
(messages)
examples/humaneval/llm.py:128
↓ 3 callers
Function
get_llm_response
(messages)
examples/travel planner/llm.py:128
↓ 3 callers
Function
get_llm_response
(messages, enable_tools=True)
examples/policy_making/llm.py:185
↓ 3 callers
Function
get_llm_response
(messages)
examples/mbpp/llm.py:128
↓ 3 callers
Function
read_file
(filename)
utils.py:144
↓ 3 callers
Function
read_file
(filename)
examples/MATH/utils.py:144
↓ 3 callers
Function
read_file
(filename)
examples/GSM8k/utils.py:144
↓ 2 callers
Function
_get_llm_response
(messages, enable_tools=True, agent_name='')
llm.py:169
↓ 2 callers
Function
_get_llm_response
(messages, enable_tools=True, agent_name='')
examples/MATH/llm.py:167
↓ 2 callers
Function
_get_llm_response
(messages)
examples/humaneval/llm.py:106
↓ 2 callers
Function
_get_llm_response
(messages)
examples/travel planner/llm.py:106
↓ 2 callers
Function
_get_llm_response
(messages, enable_tools=True)
examples/policy_making/llm.py:159
↓ 2 callers
Function
_get_llm_response
(messages)
examples/mbpp/llm.py:106
↓ 2 callers
Function
_get_llm_response
(messages, enable_tools=True, agent_name='')
examples/GSM8k/llm.py:167
↓ 2 callers
Method
add_subordinate
(self, name, description, initial_prompt)
agent.py:26
↓ 2 callers
Method
add_subordinate
(self, name, description, initial_prompt)
examples/MATH/agent.py:26
↓ 2 callers
Method
add_subordinate
(self, name, description, initial_prompt)
examples/GSM8k/agent.py:26
↓ 2 callers
Function
delete_all_files_in_folder
(folder_path)
utils.py:236
↓ 2 callers
Function
delete_all_files_in_folder
(folder_path)
examples/MATH/utils.py:236
↓ 2 callers
Function
delete_all_files_in_folder
(folder_path)
examples/GSM8k/utils.py:236
↓ 2 callers
Function
read_file
(filename)
examples/policy_making/utils.py:144
↓ 2 callers
Function
start_interactive_subprocess
(program_path)
examples/MATH/utils.py:48
↓ 2 callers
Function
start_interactive_subprocess
(program_path)
examples/humaneval/utils.py:48
↓ 2 callers
Function
start_interactive_subprocess
(program_path)
examples/travel planner/utils.py:48
↓ 2 callers
Function
start_interactive_subprocess
(program_path)
examples/policy_making/utils.py:48
↓ 2 callers
Function
start_interactive_subprocess
(program_path)
examples/mbpp/utils.py:48
↓ 2 callers
Function
start_interactive_subprocess
(program_path)
examples/GSM8k/utils.py:48
↓ 2 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
examples/humaneval/utils.py:162
↓ 2 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
examples/travel planner/utils.py:162
↓ 2 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
examples/policy_making/utils.py:162
↓ 2 callers
Function
write_file
(filename, content, overwrite=False, base_commit_hash= None, agent_name='')
examples/mbpp/utils.py:162
↓ 1 callers
Method
add_dialogue
(self, speaker, message)
agent.py:36
↓ 1 callers
Method
add_dialogue
(self, speaker, message)
examples/MATH/agent.py:36
↓ 1 callers
Method
add_dialogue
(self, speaker, message)
examples/GSM8k/agent.py:36
↓ 1 callers
Function
delete_all_files_in_folder
(folder_path)
examples/humaneval/main.py:11
↓ 1 callers
Function
delete_all_files_in_folder
(folder_path)
examples/travel planner/main.py:11
↓ 1 callers
Function
delete_all_files_in_folder
(folder_path)
examples/policy_making/main.py:11
↓ 1 callers
Function
delete_all_files_in_folder
(folder_path)
examples/mbpp/main.py:11
↓ 1 callers
Function
detect_encoding
检测文件的编码格式
examples/humaneval/merge_plan.py:6
↓ 1 callers
Function
detect_encoding
检测文件的编码格式
examples/travel planner/merge_plan.py:6
↓ 1 callers
Function
detect_encoding
检测文件的编码格式
examples/mbpp/merge_plan.py:6
↓ 1 callers
Method
execute
(self, tool_name, tool_info, arguments)
agent.py:125
↓ 1 callers
Method
execute
(self, tool_name, tool_info, arguments)
examples/MATH/agent.py:125
↓ 1 callers
Method
execute
(self, tool_name, tool_info, arguments)
examples/GSM8k/agent.py:125
↓ 1 callers
Function
gen_tools
(agent_name)
llm.py:13
↓ 1 callers
Function
gen_tools
(agent_name)
examples/MATH/llm.py:13
↓ 1 callers
Function
gen_tools
()
examples/humaneval/llm.py:10
↓ 1 callers
Function
gen_tools
()
examples/travel planner/llm.py:10
↓ 1 callers
Function
gen_tools
()
examples/policy_making/llm.py:13
↓ 1 callers
Function
gen_tools
()
examples/mbpp/llm.py:10
↓ 1 callers
Function
gen_tools
(agent_name)
examples/GSM8k/llm.py:13
↓ 1 callers
Method
get_subordinates
(self)
agent.py:30
↓ 1 callers
Method
get_subordinates
(self)
examples/MATH/agent.py:30
↓ 1 callers
Method
get_subordinates
(self)
examples/GSM8k/agent.py:30
↓ 1 callers
Function
git_commit
(commit_message)
utils.py:159
↓ 1 callers
Function
git_commit
(commit_message)
examples/MATH/utils.py:159
↓ 1 callers
Function
git_commit
(commit_message)
examples/GSM8k/utils.py:159
↓ 1 callers
Function
init_git_repo
()
utils.py:13
↓ 1 callers
Function
init_git_repo
()
examples/MATH/utils.py:13
↓ 1 callers
Function
init_git_repo
()
examples/humaneval/utils.py:13
↓ 1 callers
Function
init_git_repo
()
examples/travel planner/utils.py:13
↓ 1 callers
Function
init_git_repo
()
examples/policy_making/utils.py:13
↓ 1 callers
Function
init_git_repo
()
examples/mbpp/utils.py:13
↓ 1 callers
Function
init_git_repo
()
examples/GSM8k/utils.py:13
↓ 1 callers
Function
init_logger
()
main.py:5
↓ 1 callers
Function
init_logger
()
examples/MATH/main.py:5
↓ 1 callers
Function
init_logger
()
examples/GSM8k/main.py:5
↓ 1 callers
Method
initialize_logger
(self, name)
agent.py:87
↓ 1 callers
Method
initialize_logger
(self, name)
examples/MATH/agent.py:87
↓ 1 callers
Method
initialize_logger
(self, name)
examples/GSM8k/agent.py:87
↓ 1 callers
Function
interactive_subprocess
(program_path)
test.py:14
↓ 1 callers
Function
interactive_subprocess
(program_path)
examples/MATH/test.py:14
↓ 1 callers
Function
interactive_subprocess
(program_path)
examples/GSM8k/test.py:14
↓ 1 callers
Function
merge_travel_plans
合并所有travel plans并添加对应的query
examples/humaneval/merge_plan.py:42
↓ 1 callers
Function
merge_travel_plans
合并所有travel plans并添加对应的query
examples/travel planner/merge_plan.py:42
↓ 1 callers
Function
merge_travel_plans
合并所有travel plans并添加对应的query
examples/mbpp/merge_plan.py:42
↓ 1 callers
Function
read_file
(filename)
examples/humaneval/utils.py:144
↓ 1 callers
Function
read_file
(filename)
examples/travel planner/utils.py:144
next →
1–100 of 152, ranked by callers