packages/docs/rest/apps.md
The apps API manages installable applications (which are backed by elizaOS plugins). Apps can be browsed from the registry, launched (which installs their plugin if needed), and stopped. The Hyperscape integration provides control of embedded AI agents in the Hyperscape virtual environment.
List all available and installed apps from the registry.
Response
[
{
"name": "@hyperscape/plugin-hyperscape",
"displayName": "Hyperscape",
"description": "Virtual world environment",
"category": "game",
"launchType": "viewer",
"launchUrl": null,
"icon": null,
"heroImage": null,
"capabilities": [],
"stars": 100,
"repository": "https://github.com/HyperscapeAI/hyperscape",
"latestVersion": "1.0.0",
"supports": { "v0": false, "v1": false, "v2": true },
"npm": {
"package": "@hyperscape/plugin-hyperscape",
"v0Version": null,
"v1Version": null,
"v2Version": "1.0.0"
},
"viewer": {
"url": "https://example.com/app",
"sandbox": "allow-scripts allow-same-origin",
"postMessageAuth": false
}
}
]
Search for apps in the registry.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search query. Returns empty array if blank |
limit | integer | No | Maximum results to return |
Response
Array of app objects matching the search query.
List all currently installed apps.
Response
Array of installed app objects.
Launch an app. If the app's plugin is not installed, it is installed first. Returns viewer configuration for the app.
Request
{
"name": "@elizaos/app-browser"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | App name from the registry |
Response
{
"name": "@elizaos/app-browser",
"displayName": "Browser",
"viewerUrl": "http://localhost:2138/apps/browser",
"running": true
}
Stop a running app. Disconnects the app session and uninstalls its plugin if it was installed on-demand.
Request
{
"name": "@elizaos/app-browser"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | App name to stop |
Response
{
"ok": true,
"name": "@elizaos/app-browser"
}
Get details for a specific app.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | URL-encoded app name |
Response
{
"name": "@elizaos/app-browser",
"displayName": "Browser",
"description": "Web browsing capability",
"version": "1.0.0",
"installed": true,
"running": false,
"readme": "..."
}
List non-app plugins from the registry (plugins that are not categorized as apps).
Response
Array of plugin registry objects.
Search non-app plugins in the registry.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search query. Returns empty array if blank |
limit | integer | No | Maximum results to return |
Response
Array of plugin search results.
Refresh the app registry cache from the upstream registry source.
Response
{
"ok": true,
"count": 42
}
The Hyperscape endpoints relay requests to the Hyperscape embedded agent API. These endpoints control AI agents embedded in the Hyperscape virtual world environment.
List all embedded Hyperscape agents.
Response
Proxied response from the Hyperscape API — array of embedded agent objects.
Create a new embedded Hyperscape agent.
Request
Proxied directly to the Hyperscape API. See Hyperscape documentation for the request body schema.
Response
Proxied response from the Hyperscape API.
Control an embedded agent. :action must be one of start, stop, pause, resume, or command.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Embedded agent character ID |
Response
Proxied response from the Hyperscape API.
Send a chat message to a Hyperscape agent.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Hyperscape agent ID |
Request
{
"content": "Hello, what are you doing?"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | Yes | Message text to send to the agent |
Response
Proxied response from the Hyperscape API.
Get the current goal of a Hyperscape agent.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Hyperscape agent ID |
Response
Proxied response from the Hyperscape API.
Get available quick actions for a Hyperscape agent.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Hyperscape agent ID |
Response
Proxied response from the Hyperscape API.
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Request body is malformed or missing required fields |
| 401 | UNAUTHORIZED | Missing or invalid authentication token |
| 404 | NOT_FOUND | Requested resource does not exist |
| 500 | REGISTRY_ERROR | Failed to fetch from app registry |
| 500 | APP_ALREADY_RUNNING | App is already running and cannot be launched again |
| 500 | INTERNAL_ERROR | Unexpected server error |