You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This client is great for vibecoding small custom frontends that drive agents. Below are some instructions
4
+
you can pass to an agent to bootstrap a new repo.
5
+
6
+
> You are working with @openhands/typescript-client to build a custom frontend for working with
7
+
> agents that can write and run code. Clone github.com/openhands/typescript-client and investigate the API.
8
+
>
9
+
> To start this frontend, create a basic React application. On the homepage should be a "settings" button, which
10
+
> opens a modal. These four fields should be settable:
11
+
> * AgentServer URL
12
+
> * AgentServer API Key
13
+
> * LLM model
14
+
> * LLM key
15
+
> In the modal, show whether the AgentServer is connected by trying to access http://174.138.76.92:8000/api/conversations/count, and make sure it responds 2xx
16
+
>
17
+
> Store all this in localStorage. If no settings are found on page load, open the modal by default
18
+
>
19
+
> If the settings are found and working, start a new conversation using the typescript-client. Show a message box on the homepage which allows sending messages
20
+
> to the agent, and show the most recent message back from the agent below that
21
+
>
22
+
> Set up GitHub actions to build, test, and lint all this
0 commit comments