Skip to main content
Your account comes preloaded with a login agent template. To enable 2FA, message us on Slack!

Creating a login agent

  • Dashboard
1

Open the Simplex Agent Dashboard

Login and navigate to the Simplex Agent page to access the agent dashboard.
2

Create a new agent

In the dashboard, click “Create new agent” and select “Single Agent”. Specify a name for the agent.

Create a new agent

3

Set an agent prompt

Add a clear and specific prompt that describes what the agent should accomplish on the web page. Variables are automatically detected.
Your task is to login on the page given a set of credentials.

<credentials>
username: {{username}}
password: {{password}}
</credentials>

Instructions:
1. Fill out the username and password input fields. Then click login.
2. If only username field is visible, fill out username and click Continue or similar button. Then fill out password.

Output:
- Call done with a message for successful login.
- If credentials are not correct or there is an error, call fail_task with a message.

Add an agent prompt

4

Select agent tools

Choose the tools your agent will need to interact with the page.
  • wait_for_seconds
  • click_element
  • type_text
  • press_enter
We almost always recommend including wait_for_seconds in agents, especially if a portal is known for long load times.

Add agent tools

5

Optionally specify max steps

If your agent needs to run for a long time (i.e. fill out a large form), increase the number of max steps. We will keep the standard 15 steps for most agents, including this login agent.