Documentation Index
Fetch the complete documentation index at: https://docs.asteragents.com/llms.txt
Use this file to discover all available pages before exploring further.
What it does
The Manage Apps tool lets agents create and manage persistent React applications that render inside Aster at/apps/{id}. Agents write TSX source code, provide JSON snapshot data, and the platform compiles and hosts the result. Users can open app URLs anytime to see interactive dashboards, reports, and data views.
See Apps for the full feature overview.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "create", "list", "get", "update", "delete", "load_to_sandbox", or "publish_from_sandbox" |
app_id | integer | Varies | Required for get, update, delete, load_to_sandbox. Optional for publish_from_sandbox (omit to create new, provide to update existing) |
app_dir | string | Varies | Required for publish_from_sandbox. Optional for load_to_sandbox (defaults to /home/user/aster-apps/app-{app_id}). Must be under /home/user/aster-apps/ |
name | string | For create | Display name of the app |
description | string | No | Human-readable description |
source_tsx | string | For create/update | Full React TSX source code. Must export a default component |
snapshot_data | object | No | JSON data the app renders, accessed via useAppData() hook |
Actions
create
Creates a new app from TSX source and snapshot data in a single call. Required:name, source_tsxOptional:
description, snapshot_dataReturns:
{ id, name, url }
list
Returns all apps in the organization. Returns:{ apps: [{ id, name, description, agentId, createdAt, updatedAt }] }
get
Returns full details for a single app, including the current version’s source code. Required:app_idReturns:
{ id, name, description, url, currentVersion: { id, sourceTsx, bundleHash, createdAt } }
update
Updates an existing app’s source, data, or metadata. Creates a new internal version. Required:app_idOptional:
name, description, source_tsx, snapshot_data
delete
Soft-deletes an app. Required:app_id
load_to_sandbox
Hydrates an existing app into the sandbox for editing. The agent can then useexecute_python to inspect and modify files before re-publishing.
Required: app_idOptional:
app_dir (defaults to /home/user/aster-apps/app-{app_id})Returns:
{ app_id, app_dir, version_id, files }
Creates this directory structure in the sandbox:
publish_from_sandbox
Reads files from the sandbox, validates the manifest, compiles the TSX, and publishes to Aster. Required:app_dirOptional:
app_id (omit to create a new app, provide to update an existing one)Returns:
{ id, name, url, version_id, source_files, asset_files }
The directory must contain a valid aster-app.json manifest. See Apps > The aster-app.json Manifest.
Available imports in app source
| Import | Provides |
|---|---|
react | React core |
@aster/sdk | useAppData() hook |
@aster/ui | Shadcn components (Card, Badge, Button, Table, Tabs, Progress, Separator, ScrollArea, Tooltip) + cn() |
recharts | Charts (LineChart, BarChart, PieChart, AreaChart, ComposedChart, etc.) |
lucide-react | Icons |
date-fns | Date utilities |
Common use cases
Analytics dashboard from live data
“Pull our GA4 traffic data for the last 90 days and build me a dashboard showing trends by channel, top pages, and device breakdown” The agent queries GA4, shapes the data, and publishes an interactive dashboard with charts and tables.CRM pipeline report
“Build a pipeline dashboard from Salesforce showing open deals by stage, weekly trends, and top opportunities” The agent queries Salesforce, computes KPIs, and creates a persistent view the sales team can bookmark.Updating an existing app
“Update app 5 with the latest data” The agent re-runs its data-gathering tools, then callsupdate with the new snapshot data (and optionally updated TSX).
Complex multi-file app via sandbox
“Build a detailed analytics app with separate components for each section — overview, queries, pages, and opportunities” The agent usesexecute_python to write multiple TSX files and a data-processing script, then publishes from the sandbox.