base44 actors deploy
Deploy local actor definitions to Base44.Syntax
Options
Authentication
Required: Yes. If not authenticated, you’ll be prompted to login first.What It Does
- Scans the
base44/actors/directory (oractorsDirfrombase44/config.jsonc) for actor definitions - Discovers actors from
entry.ts/entry.jsfiles — the containing folder is the actor name - Displays the count of actors to be deployed
- Uploads each actor’s folder (all
*.js,*.ts,*.json,*.jsoncfiles) to Base44, one actor at a time - Reports the results: deployed, unchanged, and failed counts
Prerequisites
- Must be run from a Base44 project directory
- Project must have actor definitions in the
base44/actors/folder - Each actor is a folder with
entry.ts(orentry.js) that default-exports a class extendingActor
Examples
Output
Exit Codes
- Exit code 0: All actors deployed successfully (or unchanged)
- Exit code 1: One or more actors failed to deploy
Deploying as Part of the Project
npx base44 deploy includes actors automatically, in this order:
- Entities
- Functions
- Actors
- Agent skills
- Agents
- Auth config
- Connectors
- Site
Deleting a Deployed Actor
actors deploy starts it fresh. It is a remote operation — the local folder is untouched, and the actor does not need to still exist on disk for it to work. Delete the folder yourself if you don’t want the next deploy to recreate the actor.
At least one name is required. A name the server doesn’t know is reported as not found rather than an error, so re-running the command is safe:
Configuration
The actors directory is configurable inbase44/config.jsonc:
Error Handling
If no actors are found in your project:entry.ts sits directly in the actors directory:
Troubleshooting
The name and nesting checks run locally at discovery, before anything uploads, so they cost no network round-trip and cannot leave a deploy half-applied. Everything else in this table comes back from the server.
Differences from functions deploy
Both deploy sequentially, one item at a time. A failing item does not stop its siblings — the remaining actors (or functions) are still attempted — but it does abort the remaining stages of
base44 deploy, so a bad actor blocks everything after step 3 (agent skills, agents, auth, connectors, site).
Use Cases
- After creating a new actor in your project
- When modifying an actor’s logic or message protocol
- To ship realtime changes before testing them in the app
- As part of your deploy workflow whenever realtime behavior changes
Notes
- Deploy results per actor:
deployed,unchanged, orerror - Changes are applied to your Base44 project immediately and served to connecting clients
- The whole actor folder ships on every deploy; anything the entry does not import is dropped from the bundle
- Actor definitions live in the
base44/actors/directory, one folder per actor - For how to create actors, see actors-create.md
- For connecting to a deployed actor from your app, see the base44-sdk skill’s actors.md