MCPcopy Create free account

hub / github.com/browser-use/macOS-use / functions

Functions210 in github.com/browser-use/macOS-use

↓ 51 callersMethodupdate
(self, action_name: str, success: bool = True, element_info: str = '')
examples/basic_agent.py:63
↓ 22 callersMethodrun
Execute the task with maximum number of steps
mlx_use/agent/service.py:402
↓ 12 callersMethodmodel_dump
Custom serialization handling circular references
mlx_use/agent/views.py:70
↓ 11 callersMethod_get_attribute
Safely get an accessibility attribute with error reporting
mlx_use/mac/tree.py:79
↓ 10 callersMethod_add_message_with_tokens
(self, message: BaseMessage)
mlx_use/agent/message_manager/service.py:160
↓ 8 callersMethod_cleanup_state
Reset all state variables
gradio_app/src/models/app.py:42
↓ 7 callersMethoddone
(text: str)
mlx_use/controller/service.py:43
↓ 6 callersMethodget_messages
(self)
mlx_use/agent/message_manager/service.py:150
↓ 6 callersMethodget_terminal_output
Get accumulated terminal output
gradio_app/src/models/app.py:59
↓ 5 callersMethodadd_state_message
Add browser state as human message
mlx_use/agent/message_manager/service.py:95
↓ 5 callersMethodcapture
(self, event: BaseTelemetryEvent)
mlx_use/telemetry/service.py:60
↓ 5 callersFunctionformat_agents_list
(agents)
gradio_app/app.py:38
↓ 5 callersFunctionperform_action
Performs a specified accessibility action on an element.
mlx_use/mac/actions.py:19
↓ 4 callersMethodbuild_tree
Build UI tree for a specific application
mlx_use/mac/tree.py:258
↓ 4 callersMethodcleanup
Cleanup observers and release resources
mlx_use/mac/tree.py:229
↓ 4 callersFunctionclick
Simulates a click on a Mac UI element.
mlx_use/mac/actions.py:43
↓ 4 callersMethodformat
(self, record)
mlx_use/logging_config.py:79
↓ 4 callersMethodget_clickable_elements_string
Convert the UI tree to a string representation focusing on interactive and context elements
mlx_use/mac/element.py:77
↓ 3 callersMethod_remove_last_state_message
(self)
mlx_use/agent/message_manager/service.py:123
↓ 3 callersMethodget_automation_agents
Get the list of agents for an automation flow
gradio_app/src/models/app.py:153
↓ 3 callersFunctionget_llm
Initialize LLM based on provider
gradio_app/src/models/llm_models.py:15
↓ 3 callersMethodget_saved_api_key
Get saved API key from .env file based on provider
gradio_app/src/models/app.py:219
↓ 3 callersMethodmodel_actions
Get all actions from history
mlx_use/agent/views.py:180
↓ 3 callersMethodsave_api_key_to_env
Save API key to .env file based on provider
gradio_app/src/models/app.py:160
↓ 3 callersMethodsave_preferences
Save user preferences to JSON file
gradio_app/src/models/app.py:240
↓ 3 callersFunctionset_llm
(llm_provider:str = None)
examples/try.py:18
↓ 3 callersFunctiontype_into
Simulates typing text into a Mac UI element with action-based submission
mlx_use/mac/actions.py:62
↓ 3 callersFunctionupdate_category_visibility
(category)
gradio_app/src/ui/interface.py:165
↓ 2 callersMethod_count_text_tokens
(self, text: str)
mlx_use/agent/message_manager/service.py:180
↓ 2 callersMethod_count_tokens
(self, message: BaseMessage)
mlx_use/agent/message_manager/service.py:165
↓ 2 callersMethodadd_model_output
(self, model_output: AgentOutput)
mlx_use/agent/message_manager/service.py:127
↓ 2 callersMethoderrors
Get all errors from history
mlx_use/agent/views.py:139
↓ 2 callersMethodextract_result_text
Extract the result text from the output by checking various formats.
gradio_app/src/models/app.py:180
↓ 2 callersMethodget_last_pid
Get the last pid from the last result
mlx_use/agent/service.py:183
↓ 2 callersMethodis_done
Check if the agent is done
mlx_use/agent/views.py:152
↓ 2 callersMethodmulti_act
Execute multiple actions
mlx_use/controller/service.py:275
↓ 2 callersMethodremove_message
Remove last message from history
mlx_use/agent/message_manager/views.py:33
↓ 2 callersFunctionset_llm
(llm_provider:str = None)
examples/excel.py:18
↓ 2 callersFunctionset_llm
(llm_provider:str = None)
examples/login_to_auth0.py:17
↓ 2 callersFunctionset_llm
(llm_provider:str = None)
examples/lunch_notes.py:18
↓ 2 callersFunctionset_llm
(llm_provider:str = None)
examples/check_time_online.py:18
↓ 2 callersFunctionset_llm
(llm_provider:str = None)
examples/calculate.py:18
↓ 2 callersFunctionsetup_logging
()
mlx_use/logging_config.py:61
↓ 2 callersMethodupdate_llm_preferences
Update LLM provider and model preferences
gradio_app/src/models/app.py:258
↓ 1 callersMethod__repr__
Enhanced string representation including more attributes
mlx_use/mac/element.py:43
↓ 1 callersMethod__str__
Representation of the AgentHistoryList object
mlx_use/agent/views.py:94
↓ 1 callersMethod_convert_initial_actions
Convert dictionary-based actions to ActionModel instances
mlx_use/agent/service.py:470
↓ 1 callersMethod_create_param_model
Creates a Pydantic model from function signature
mlx_use/controller/registry/service.py:30
↓ 1 callersMethod_direct_capture
Should not be thread blocking because posthog magically handles it
mlx_use/telemetry/service.py:68
↓ 1 callersMethod_get_actions
Get available actions for an element with proper error handling
mlx_use/mac/tree.py:95
↓ 1 callersMethod_get_app_pid
Get or launch target application PID
mlx_use/mac/context.py:98
↓ 1 callersMethod_handle_control_flags
Handle pause and stop flags. Returns True if execution should continue.
mlx_use/agent/service.py:451
↓ 1 callersMethod_handle_step_error
Handle all types of errors that can occur during a step
mlx_use/agent/service.py:262
↓ 1 callersMethod_handle_ui_change
Handle UI change notifications
mlx_use/mac/context.py:180
↓ 1 callersMethod_is_interactive
Determine if an element is truly interactive based on its role and actions.
mlx_use/mac/tree.py:107
↓ 1 callersMethod_log_agent_run
Log the agent run
mlx_use/agent/service.py:384
↓ 1 callersMethod_log_response
Log the model's response
mlx_use/agent/service.py:330
↓ 1 callersMethod_make_history_item
Create and store history item
mlx_use/agent/service.py:290
↓ 1 callersMethod_process_element
Process a single UI element
mlx_use/mac/tree.py:128
↓ 1 callersMethod_register_default_actions
Register all default browser actions
mlx_use/controller/service.py:37
↓ 1 callersMethod_save_conversation
Save conversation history to file if path is specified
mlx_use/agent/service.py:345
↓ 1 callersMethod_set_model_names
(self)
mlx_use/agent/service.py:156
↓ 1 callersMethod_set_version_and_source
(self)
mlx_use/agent/service.py:149
↓ 1 callersMethod_setup_action_models
Setup dynamic action models from controller's registry
mlx_use/agent/service.py:165
↓ 1 callersMethod_setup_observer
Set up accessibility observer for UI changes
mlx_use/mac/context.py:79
↓ 1 callersMethod_setup_observer
Setup accessibility observer for an application
mlx_use/mac/tree.py:75
↓ 1 callersMethod_too_many_failures
Check if we should stop due to too many failures
mlx_use/agent/service.py:444
↓ 1 callersMethod_write_messages_to_file
Write messages to conversation file
mlx_use/agent/service.py:361
↓ 1 callersMethod_write_response_to_file
Write model response to conversation file
mlx_use/agent/service.py:379
↓ 1 callersMethodact
Execute an action
mlx_use/controller/service.py:291
↓ 1 callersMethodaction_results
Get all results from history
mlx_use/agent/views.py:191
↓ 1 callersFunctionaddLoggingLevel
Comprehensively adds a new logging level to the `logging` module and the currently configured logging class. `levelName` becomes an attribute of
mlx_use/logging_config.py:10
↓ 1 callersMethodadd_agent_to_automation
Add a new agent to an automation flow
gradio_app/src/models/app.py:121
↓ 1 callersMethodadd_automation
Add a new automation flow
gradio_app/src/models/app.py:110
↓ 1 callersMethodadd_message
Add a message with metadata
mlx_use/agent/message_manager/views.py:28
↓ 1 callersMethodclick_element
Click element by index
mlx_use/mac/context.py:152
↓ 1 callersMethodclose
Clean up application session
mlx_use/mac/context.py:115
↓ 1 callersMethodcreate_action_model
Creates a Pydantic model from registered actions
mlx_use/controller/registry/service.py:119
↓ 1 callersFunctioncreate_agent_tab
(app_instance)
gradio_app/src/ui/interface.py:4
↓ 1 callersFunctioncreate_automations_tab
(app_instance)
gradio_app/src/ui/interface.py:206
↓ 1 callersFunctioncreate_configuration_tab
(app_instance)
gradio_app/src/ui/interface.py:260
↓ 1 callersFunctioncreate_interface
Create the Gradio interface with all components.
gradio_app/app.py:17
↓ 1 callersMethodcut_messages
(self)
mlx_use/agent/message_manager/service.py:191
↓ 1 callersMethodexecute_action
Execute a registered action
mlx_use/controller/registry/service.py:87
↓ 1 callersFunctionfind_available_port
Find an available port starting from start_port
gradio_app/app.py:261
↓ 1 callersMethodfocus_window
Focus a specific application window
mlx_use/mac/context.py:168
↓ 1 callersMethodformat_error
Format error message based on error type and optionally include trace
mlx_use/agent/views.py:224
↓ 1 callersMethodget_context
(self, ui_tree_string: str)
examples/basic_agent.py:55
↓ 1 callersMethodget_detailed_info
Return a detailed string with all attributes of the element
mlx_use/mac/element.py:114
↓ 1 callersMethodget_frontmost_app
Get name of frontmost application
mlx_use/mac/context.py:134
↓ 1 callersMethodget_llm_response
Get a direct response from the LLM model without using the Agent
gradio_app/src/models/app.py:365
↓ 1 callersMethodget_next_action
Get next action from LLM based on current state
mlx_use/agent/service.py:310
↓ 1 callersMethodget_prompt_description
Get a description of all actions for the prompt
mlx_use/controller/registry/service.py:140
↓ 1 callersMethodget_state
Get current application UI state
mlx_use/mac/context.py:121
↓ 1 callersMethodget_system_message
Creates and returns a SystemMessage with formatted content.
mlx_use/agent/prompts.py:109
↓ 1 callersMethodget_user_message
Creates and returns a HumanMessage with formatted content.
mlx_use/agent/prompts.py:158
↓ 1 callersMethodimportant_rules
Returns a string containing important rules for the system.
mlx_use/agent/prompts.py:20
↓ 1 callersMethodinitialize
Initialize application session
mlx_use/mac/context.py:69
↓ 1 callersMethodinput_format
Returns a string describing the expected input format.
mlx_use/agent/prompts.py:96
↓ 1 callersMethodload_preferences
Load user preferences from JSON file
gradio_app/src/models/app.py:230
next →1–100 of 210, ranked by callers