Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/browser-use/macOS-use
/ functions
Functions
210 in github.com/browser-use/macOS-use
⨍
Functions
210
◇
Types & classes
47
↳
Endpoints
2
↓ 1 callers
Function
main
()
gradio_app/app.py:274
↓ 1 callers
Function
main
()
examples/try.py:48
↓ 1 callers
Function
main
()
examples/excel.py:57
↓ 1 callers
Function
main
()
examples/login_to_auth0.py:49
↓ 1 callers
Function
main
()
examples/lunch_notes.py:48
↓ 1 callers
Function
main
()
examples/basic_agent.py:75
↓ 1 callers
Function
main
()
examples/check_time_online.py:50
↓ 1 callers
Function
main
()
examples/calculate.py:48
↓ 1 callers
Method
model_dump
Custom serialization that properly uses AgentHistory's model_dump
mlx_use/agent/views.py:112
↓ 1 callers
Function
print_app_tree
(app_name: str)
examples/print_app_tree.py:16
↓ 1 callers
Function
print_tree
(node, indent=0)
examples/print_app_tree.py:68
↓ 1 callers
Method
prompt_description
Get a description of the action for the prompt
mlx_use/controller/registry/views.py:17
↓ 1 callers
Method
remove_agent_from_automation
Remove an agent from an automation flow
gradio_app/src/models/app.py:139
↓ 1 callers
Function
right_click
Simulates a right-click on a Mac UI element.
mlx_use/mac/actions.py:101
↓ 1 callers
Function
run_agent
Asynchronously create an Agent, run it for a set number of steps, and return the string representation of the agent's final conversation his
examples/gradio_app.py:20
↓ 1 callers
Method
run_agent
Run the agent with the specified configuration
gradio_app/src/models/app.py:399
↓ 1 callers
Method
save_to_file
Save history to JSON file with proper serialization
mlx_use/agent/views.py:102
↓ 1 callers
Function
scroll
Scrolls an element in the specified direction. direction can be: 'left', 'right', 'up', 'down'
mlx_use/mac/actions.py:119
↓ 1 callers
Method
set_tool_calling_method
(self, tool_calling_method: Optional[str])
mlx_use/agent/service.py:172
↓ 1 callers
Function
setup_logging
Set up logging to capture terminal output
gradio_app/src/utils/logging_utils.py:16
↓ 1 callers
Method
setup_logging
Set up logging to capture terminal output
gradio_app/src/models/app.py:55
↓ 1 callers
Method
step
(self, step_info: Optional[AgentStepInfo] = None)
mlx_use/agent/service.py:193
↓ 1 callers
Method
task_instructions
(task: str)
mlx_use/agent/message_manager/service.py:91
↓ 1 callers
Method
type_into_element
Type text into element by index
mlx_use/mac/context.py:160
↓ 1 callers
Method
type_with_custom_actions
Extend actions with custom actions
mlx_use/agent/views.py:51
↓ 1 callers
Function
wait_for_app_ready
Wait for app to be ready with detailed status checking
examples/basic_agent.py:25
Method
__aenter__
(self)
mlx_use/mac/context.py:62
Method
__aexit__
(self, exc_type, exc_val, exc_tb)
mlx_use/mac/context.py:66
Method
__init__
(self, log_queue)
gradio_app/src/utils/logging_utils.py:5
Method
__init__
(self)
gradio_app/src/models/app.py:24
Method
__init__
(self)
mlx_use/telemetry/service.py:38
Method
__init__
( self, exclude_actions: list[str] = [], )
mlx_use/controller/service.py:29
Method
__init__
(self, exclude_actions: list[str] = [])
mlx_use/controller/registry/service.py:23
Method
__init__
(self, manager: 'MacManager', config: MacAppConfig = MacAppConfig(bundle_id='com.apple.Notes'))
mlx_use/mac/context.py:55
Method
__init__
(self)
mlx_use/mac/tree.py:46
Method
__init__
Initialize SystemPrompt with action description, current date and max actions allowed per step. Args: action_des
mlx_use/agent/prompts.py:7
Method
__init__
Initialize AgentMessagePrompt with state and optional parameters. Args: state (str): Current system state
mlx_use/agent/prompts.py:134
Method
__init__
( self, task: str, llm: BaseChatModel, controller: Controller = Controller(), use_vision: bool = Tru
mlx_use/agent/service.py:55
Method
__init__
( self, llm: BaseChatModel, task: str, action_descriptions: str, system_prompt_class: Type[SystemPro
mlx_use/agent/message_manager/service.py:26
Method
__init__
(self)
examples/basic_agent.py:50
Method
__repr__
Representation of the AgentHistoryList object
mlx_use/agent/views.py:98
Method
accessibility_path
Generate a unique path to this element including more identifiers
mlx_use/mac/element.py:148
Method
action
Decorator for registering custom actions @param description: Describe the LLM what the function does (better description == better function calling
mlx_use/controller/service.py:267
Method
action
Decorator for registering actions
mlx_use/controller/registry/service.py:45
Method
action_names
Get all action names from history
mlx_use/agent/views.py:162
Method
actions
Get the list of available actions for this element
mlx_use/mac/element.py:24
Function
add_agent_and_update_list
(automation_name, prompt)
gradio_app/app.py:49
Function
add_automation_and_clear
(name: str, description: str)
gradio_app/app.py:41
Method
async_wrapper
(*args, **kwargs)
mlx_use/controller/registry/service.py:64
Method
callback
(observer, element, notification, userdata)
mlx_use/mac/context.py:82
Method
click_element
(index: int, action: str, mac_tree_builder: MacUITreeBuilder)
mlx_use/controller/service.py:79
Function
decorator
(func: Callable[P, R])
mlx_use/utils.py:15
Method
decorator
(func: Callable)
mlx_use/controller/registry/service.py:53
Method
emit
(self, record)
gradio_app/src/utils/logging_utils.py:9
Method
enabled
Check if the element is enabled
mlx_use/mac/element.py:29
Method
extracted_content
Get all extracted content from history
mlx_use/agent/views.py:198
Method
final_result
Final result from history
mlx_use/agent/views.py:146
Method
find_element_by_path
Find an element using its accessibility path
mlx_use/mac/element.py:180
Method
find_elements_by_action
Find all elements that support a specific action
mlx_use/mac/element.py:190
Method
get_detailed_string
Recursively build a detailed string representation of the UI tree
mlx_use/mac/element.py:139
Method
get_index
Get the index of the action
mlx_use/controller/registry/views.py:41
Method
get_prompt_description
Get a description of all actions for the prompt
mlx_use/controller/registry/views.py:69
Method
has_errors
Check if the agent has any errors
mlx_use/agent/views.py:158
Method
input_text
(index: int, text: str, submit: bool, mac_tree_builder: MacUITreeBuilder)
mlx_use/controller/service.py:50
Method
last_action
Last action in history
mlx_use/agent/views.py:133
Method
load_from_file
Load history from JSON file
mlx_use/agent/views.py:119
Function
logForLevel
(self, message, *args, **kwargs)
mlx_use/logging_config.py:48
Function
logToRoot
(message, *args, **kwargs)
mlx_use/logging_config.py:52
Function
message_manager
(request: pytest.FixtureRequest)
mlx_use/agent/message_manager/tests.py:21
Method
model_actions_filtered
Get all model actions from history as JSON
mlx_use/agent/views.py:205
Method
model_outputs
Get all model outputs from history
mlx_use/agent/views.py:175
Method
model_thoughts
Get all thoughts from history
mlx_use/agent/views.py:171
Method
name
(self)
mlx_use/telemetry/views.py:12
Function
notification_handler
Handle accessibility notifications
examples/basic_agent.py:20
Method
open_app
(app_name: str)
mlx_use/controller/service.py:173
Method
perform_action
Execute a Mac accessibility action
mlx_use/mac/context.py:139
Method
position
Get the element's position
mlx_use/mac/element.py:34
Method
process_node
(node: 'MacElementNode', depth: int)
mlx_use/mac/element.py:81
Method
properties
(self)
mlx_use/telemetry/views.py:16
Function
refine_prompt
Uses the LLM to refine the user's prompt based on examples.
gradio_app/app.py:98
Function
remove_agent_and_update_list
(automation_name, agent_index)
gradio_app/app.py:56
Method
reset_state
Reset the state between major steps
mlx_use/mac/tree.py:247
Method
right_click_element
(index: int, mac_tree_builder: MacUITreeBuilder)
mlx_use/controller/service.py:116
Function
run_agent_sync
Synchronous wrapper for running the agent. Given a task description and optional parameters, run a limited number of steps, and return th
examples/gradio_app.py:12
Function
run_agent_wrapper
Wrapper for run_agent that adds share_terminal from preferences
gradio_app/app.py:86
Method
run_apple_script
(script: str)
mlx_use/controller/service.py:227
Method
run_automation
Run an automation flow by executing its agents in sequence
gradio_app/src/models/app.py:264
Method
save_history
Save the history to a file
mlx_use/agent/service.py:464
Method
scroll_element
(index: int, direction: Literal['up', 'down', 'left', 'right'], mac_tree_builder: MacUITreeBuilder)
mlx_use/controller/service.py:145
Function
send_prompt_to_google_sheet
Sends the prompt text and optional terminal output to a Google Form, which appends it to a linked Google Sheet.
gradio_app/src/services/google_form.py:4
Method
set_index
Overwrite the index of the action
mlx_use/controller/registry/views.py:52
Function
singleton
(cls)
mlx_use/utils.py:46
Method
size
Get the element's size
mlx_use/mac/element.py:39
Method
stop_agent
Stop the running agent
gradio_app/src/models/app.py:77
Method
stream_terminal_output
Stream terminal output in real-time
gradio_app/src/models/app.py:69
Function
test_add_state_message
Test adding browser state message
mlx_use/agent/message_manager/tests.py:45
Function
test_add_state_with_memory_result
Test adding state with result that should be included in memory
mlx_use/agent/message_manager/tests.py:69
Function
test_add_state_with_non_memory_result
Test adding state with result that should not be included in memory
mlx_use/agent/message_manager/tests.py:98
Function
test_initial_messages
Test that message manager initializes with system and task messages
mlx_use/agent/message_manager/tests.py:36
Function
test_token_overflow_handling_with_real_flow
Test handling of token overflow in a realistic message flow
mlx_use/agent/message_manager/tests.py:127
← previous
next →
101–200 of 210, ranked by callers