How to use ego (lite) with OpenCode

Use OpenCode with ego (lite) on Windows. Set permissions, select ego-browser, and review a Tokyo Airbnb search.


OpenCode can use ego-browser to work in an ego (lite) Space on Windows. This recording follows an Airbnb search for accommodation in Tokyo, from selecting the skill to reviewing three listings.

You can follow the same steps with your own search. Include your stay dates, number of guests, and budget so the agent knows which listings to compare.

Before you start: install ego (lite)

Install ego (lite) on Windows and finish setup. Open OpenCode on the same computer. If you need help with the browser setup, begin with Quick start.

Check that ego-browser appears when you type @ego-browser in OpenCode. If it does not, finish ego (lite) setup, restart OpenCode, and check again.

Step 1: Set session permissions

Open Preferences, go to General, and turn on Auto-accept permissions, as shown in the recording. This lets OpenCode run the browser task without asking you to approve each tool call.

Step 2: Select the ego-browser skill

In a new session, type @ego-browser and select ego-browser from the picker. Add your browser task in the input box, then send the message.

Step 3: Let OpenCode work

OpenCode opens Airbnb in an ego (lite) Space, searches Tokyo, and reads the available listings. Switch to the agent Space to watch the browser task. Your own tabs stay in your Space while the task runs.

Step 4: Check the result

OpenCode returns three listings with links and the prices it observed.

Troubleshooting

ego-browser is missing

Finish ego (lite) setup on the same Windows computer, restart OpenCode, and try the @ego-browser picker again.

OpenCode cannot open ego (lite)

Check that ego (lite) is installed and review Auto-accept permissions in OpenCode's settings. If a permission request appears, review it before retrying the task.

Airbnb asks you to sign in

Open the agent Space in ego (lite), complete the sign-in or verification yourself, and then ask OpenCode to continue. Keep passwords and verification codes out of the task prompt.

Go deeper

  • WorkBuddy shows the Windows workflow with another agent.
  • Skills explains how an agent gets access to the browser tools.
  • Space explains where the agent's pages live.