Downcity
API Reference

RemoteAgent Class

The core public interface of the remote Agent client

RemoteAgent Class

RemoteAgent exposes these core public entry points:

  • new RemoteAgent({ baseUrl })
  • agent.createSession(input?)
  • agent.getSession(sessionId)
  • agent.listSessions(input?)

agent.createSession() and agent.getSession() return RemoteAgentSession.

Core semantics

It does not execute work by itself. It only talks to a remote server over HTTP.

If you think of local Agent as the server-side executor, RemoteAgent is the paired client.