Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
docs: Update agent-settings.mdx
Anshdeep Singhb9f945b40801
diff --git a/docs/customize/agent-settings.mdx b/docs/customize/agent-settings.mdxindex 58371705b..156ce4d84 100644--- a/docs/customize/agent-settings.mdx+++ b/docs/customize/agent-settings.mdx@@ -179,6 +179,20 @@ agent = Agent()```+## Run with message context++You can configure the agent and provide a separate message to help the LLM understand the task better.++```python+from langchain_openai import ChatOpenAI++agent = Agent(+ task="your task",+ message_context="Additional information about the task",+ llm = ChatOpenAI(model='gpt-4o')+)+```+## Run with planner modelYou can configure the agent to use a separate planner model for high-level task planning:@@ -213,3 +227,12 @@ Using a separate planner model can help:<Note>The planner model is optional. If not specified, the agent will not use the planner model.</Note>++### Optional Parameters++- `message_context`: Additional information about the task to help the LLM understand the task better.+- `initial_actions`: List of initial actions to run before the main task.+- `max_actions_per_step`: Maximum number of actions to run in a step. Defaults to `1`.+- `max_failures`: Maximum number of failures before giving up. Defaults to `3`.+- `retry_delay`: Time to wait between retries in seconds. Defaults to `10`.+- `generate_gif`: Enable/disable GIF generation. Defaults to `False`. Set to `True` or a string path to save the GIF.\ No newline at end of file