Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fosowl/agenticSeek
/ functions
Functions
511 in github.com/Fosowl/agenticSeek
⨍
Functions
511
◇
Types & classes
54
↳
Endpoints
33
↓ 98 callers
Method
info
(self, message)
sources/logger.py:45
↓ 89 callers
Function
pretty_print
Print text with color formatting. Args: text (str): The text to print color (str, optional): The color to use. Defaults to "
sources/utility.py:35
↓ 51 callers
Method
get
(self)
sources/memory.py:192
↓ 37 callers
Method
warning
(self, message)
sources/logger.py:51
↓ 33 callers
Method
error
(self, message)
sources/logger.py:48
↓ 31 callers
Method
push
Push a message to the memory.
sources/memory.py:158
↓ 21 callers
Method
log
(self, message, level=logging.INFO)
sources/logger.py:38
↓ 20 callers
Function
animate_thinking
Animate a thinking spinner while a task is being executed. It use a daemon thread to run the animation. This will not block the main thread.
sources/utility.py:61
↓ 16 callers
Function
is_unsafe
check if a bash command is unsafe. Tokens are basename-normalized so '/bin/rm' and './rm' still match the bare 'rm' entry. Multi-token e
sources/tools/safety.py:85
↓ 16 callers
Method
load_exec_block
Extract code/query blocks from LLM-generated text and process them for execution. This method parses the text looking for code blocks
sources/tools/tools.py:154
↓ 10 callers
Method
minimax_fn
Use MiniMax API to generate text via OpenAI-compatible interface. Supported models: - MiniMax-M3: Latest flagship model with
sources/llm_provider.py:441
↓ 8 callers
Method
clear
Clear all memory except system prompt
sources/memory.py:175
↓ 8 callers
Method
litellm_fn
Use LiteLLM AI gateway for completion. Routes to 100+ providers (OpenAI, Anthropic, Azure, Bedrock, Vertex AI, Groq, Together
sources/llm_provider.py:509
↓ 8 callers
Method
llm_request
Asynchronously ask the LLM to process the prompt.
sources/agents/agent.py:160
↓ 8 callers
Method
parse_agent_tasks
Parses agent tasks from the given LLM text. This method extracts task information from a JSON. It identifies task names and their det
sources/agents/planner_agent.py:63
↓ 8 callers
Method
speak
Convert text to speech using an AI model and play the audio. Args: sentence (str): The text to convert to speech. Will b
sources/text_to_speech.py:67
↓ 6 callers
Function
get_color_map
()
sources/utility.py:12
↓ 6 callers
Method
get_model_name
(self)
sources/llm_provider.py:55
↓ 6 callers
Method
get_parameter_value
Get a parameter name. Args: block (str): The block of text to search for the parameter parameter_name (str):
sources/tools/tools.py:131
↓ 6 callers
Function
is_chromedriver_compatible
Check if a chromedriver binary is compatible with the installed Chrome version.
sources/browser.py:93
↓ 6 callers
Method
is_ip_online
Check if an address is online by sending a ping request.
sources/llm_provider.py:102
↓ 6 callers
Method
load_prompt
(self, file_path: str)
sources/agents/agent.py:112
↓ 5 callers
Method
execute
(self, blocks, safety=False)
tests/test_safe_mode.py:13
↓ 5 callers
Method
jsonify
(self)
sources/schemas.py:32
↓ 5 callers
Method
make_newsearch_prompt
(self, prompt: str, search_result: dict)
sources/agents/browser_agent.py:80
↓ 5 callers
Method
start
(self, history: list)
llm_server/sources/generator.py:39
↓ 4 callers
Method
extract_form
Extract form written by the LLM in format [input_name](value)
sources/agents/browser_agent.py:60
↓ 4 callers
Method
extract_links
Extract all links from a sentence.
sources/agents/browser_agent.py:51
↓ 4 callers
Function
get_chromedriver_version
Get the major version of a chromedriver binary. Returns empty string on failure.
sources/browser.py:81
↓ 4 callers
Method
get_status
(self)
llm_server/sources/generator.py:50
↓ 4 callers
Method
jsonify_search_results
(self, results_string: str)
sources/agents/browser_agent.py:198
↓ 4 callers
Method
parse_answer
(self, text)
sources/agents/browser_agent.py:220
↓ 4 callers
Method
select_link
Select the first unvisited link that is not the current page. Preference is given to links not in search_history.
sources/agents/browser_agent.py:237
↓ 3 callers
Method
_write_config
(self, safe_mode_line)
tests/test_safe_mode.py:36
↓ 3 callers
Function
checkHealth
()
frontend/agentic-seek-front/src/App.js:68
↓ 3 callers
Method
clean_links
Ensure no '.' at the end of link
sources/agents/browser_agent.py:66
↓ 3 callers
Method
compress
Compress (summarize) the memory using the model.
sources/memory.py:235
↓ 3 callers
Function
create_driver
Create a Chrome WebDriver with specified options.
sources/browser.py:259
↓ 3 callers
Method
create_folder
Create log dir
sources/logger.py:28
↓ 3 callers
Method
detect_language
Detect the language of the given text using langdetect Limited to the supported languages list because of the model tendency to mista
sources/language.py:28
↓ 3 callers
Method
execute_modules
Execute all the tools the agent has and return the result.
sources/agents/agent.py:255
↓ 3 callers
Method
found_executable_blocks
Check if executable blocks were found.
sources/tools/tools.py:146
↓ 3 callers
Function
getXPath
(element)
sources/web_scripts/find_inputs.js:54
↓ 3 callers
Method
get_filename
Get the filename for the save file.
sources/memory.py:76
↓ 3 callers
Method
get_ideal_ctx
Estimate context size based on the model name. EXPERIMENTAL for memory compression
sources/memory.py:46
↓ 3 callers
Method
get_page_text
Get the text content of the current page.
sources/agents/browser_agent.py:251
↓ 3 callers
Method
go_to
Navigate to a specified URL.
sources/browser.py:345
↓ 3 callers
Function
isElementDisplayed
(element)
sources/web_scripts/find_inputs.js:74
↓ 3 callers
Method
load_js
Load javascript from script folder to inject to page.
sources/browser.py:500
↓ 3 callers
Method
load_memory
Load the memory from the last session.
sources/memory.py:134
↓ 3 callers
Method
remove_blocks
Remove all code/query blocks within a tag from the answer text.
sources/agents/agent.py:226
↓ 3 callers
Method
save_memory
Save the session memory to a file.
sources/memory.py:80
↓ 3 callers
Method
save_session
Save the current session.
sources/interaction.py:191
↓ 3 callers
Method
select_unvisited
(self, search_result: List[str])
sources/agents/browser_agent.py:190
↓ 2 callers
Method
_make_request
(self, method: str, endpoint: str, params: Optional[Dict] = None, data: Optional[Dict] =
sources/tools/mcpFinder.py:26
↓ 2 callers
Method
close
()
sources/web_scripts/spoofing.js:18
↓ 2 callers
Function
create_chrome_options
Create Chrome options - separated for reusability.
sources/browser.py:163
↓ 2 callers
Method
execute
Abstract method that must be implemented by child classes to execute the tool's functionality. Args: blocks (List[str]):
sources/tools/tools.py:77
↓ 2 callers
Method
execution_failure_check
(self, output)
tests/test_safe_mode.py:16
↓ 2 callers
Method
find_all_inputs
Find all inputs elements on the page.
sources/browser.py:512
↓ 2 callers
Method
generate
Generate text using the model. args: history: list of strings returns: None
llm_server/sources/generator.py:55
↓ 2 callers
Method
get_api_key
(self, provider)
sources/llm_provider.py:58
↓ 2 callers
Method
get_blocks_result
(self)
sources/agents/agent.py:89
↓ 2 callers
Method
get_form_inputs
Extract all input from the page and return them.
sources/browser.py:526
↓ 2 callers
Method
get_navigable
Get all navigable links on the current page.
sources/browser.py:454
↓ 2 callers
Function
get_random_user_agent
Get a random user agent string with associated vendor.
sources/browser.py:72
↓ 2 callers
Method
get_result
Pull the next available recognition result from the audio queue. Args: last_spoken: Most recent TTS output, used to filt
sources/speech_to_text.py:225
↓ 2 callers
Method
get_work_dir
(self)
sources/tools/tools.py:47
↓ 2 callers
Method
in_docker
(self)
sources/interaction.py:57
↓ 2 callers
Method
initialize_stt
Initialize STT and start listening to the microphone.
sources/interaction.py:151
↓ 2 callers
Method
is_muted
Return True if audio is currently being discarded.
sources/speech_to_text.py:173
↓ 2 callers
Function
is_running_in_docker
Detect if code is running inside a Docker container.
api.py:30
↓ 2 callers
Method
jsonify
(self)
sources/schemas.py:13
↓ 2 callers
Method
llm_decide
(self, prompt: str, show_reasoning: bool = False)
sources/agents/browser_agent.py:180
↓ 2 callers
Method
load_llm_router
Load the LLM router model. returns: AdaptiveClassifier: The loaded model exceptions: Exception: If th
sources/router.py:45
↓ 2 callers
Method
make_navigation_prompt
(self, user_prompt: str, page_text: str)
sources/agents/browser_agent.py:92
↓ 2 callers
Method
make_plan
Asks the LLM to make a plan. Args: prompt (str): The prompt to be sent to the LLM. max_retries (int): Maximum
sources/agents/planner_agent.py:150
↓ 2 callers
Function
normalizeAnswer
(answer)
frontend/agentic-seek-front/src/App.js:110
↓ 2 callers
Method
respond
Use the choosen provider to generate text.
sources/llm_provider.py:76
↓ 2 callers
Method
save_block
Save code or query blocks to a file at the specified path. Creates the directory path if it doesn't exist. Args:
sources/tools/tools.py:110
↓ 2 callers
Method
screenshot
Take a screenshot of the current page, attempt to capture the full page by zooming out.
sources/browser.py:794
↓ 2 callers
Method
select_agent
Select the appropriate agent based on the text. Args: text (str): The text to select the agent from Returns:
sources/router.py:441
↓ 2 callers
Method
set_model
(self, model: str)
llm_server/sources/generator.py:35
↓ 2 callers
Method
show_answer
Show the answer in a pretty way. Show code blocks and their respective feedback by inserting them in the ressponse.
sources/agents/agent.py:210
↓ 2 callers
Method
show_plan
Displays the plan made by the agent. Args: agents_tasks (dict): The tasks assigned to each agent. answer (str
sources/agents/planner_agent.py:134
↓ 2 callers
Method
speak_answer
Speak the answer to the user in a non-blocking thread.
sources/interaction.py:310
↓ 2 callers
Method
start_listening
Start capturing audio from the microphone.
sources/speech_to_text.py:146
↓ 2 callers
Method
stringify_search_results
(self, results_arr: List[str])
sources/agents/browser_agent.py:217
↓ 2 callers
Method
summarize
Summarize the text using the AI model. Args: text (str): The text to summarize min_length (int, optional): Th
sources/memory.py:203
↓ 2 callers
Method
think
Request AI agents to process the user input.
sources/interaction.py:276
↓ 2 callers
Method
translate
Translate the given text to English Args: text: string to translate origin_lang: ISO language code Re
sources/language.py:41
↓ 2 callers
Function
updateData
(data)
frontend/agentic-seek-front/src/App.js:134
↓ 2 callers
Method
wait_message
(self, speech_module)
sources/agents/agent.py:180
↓ 1 callers
Method
__str__
(self)
sources/schemas.py:10
↓ 1 callers
Method
_clamp_index
Clamp a requested index into the valid voice range.
sources/interaction.py:147
↓ 1 callers
Method
_has_confirmation
Check if any confirmation phrase ends the user's turn.
sources/interaction.py:223
↓ 1 callers
Method
_last_spoken_text
Return the last text spoken by TTS (for echo filtering).
sources/interaction.py:213
↓ 1 callers
Method
_next_voice_index
Resolve the next index from a normalized browsing choice. Args: choice: 'next' or an explicit int index. current_idx:
sources/interaction.py:130
↓ 1 callers
Method
_prompt_voice_choice
Read and normalize the user's voice-browsing input. Args: current_idx: Index of the voice just auditioned. voice_coun
sources/interaction.py:107
↓ 1 callers
Method
_save
(self)
llm_server/sources/cache.py:34
next →
1–100 of 511, ranked by callers