base44 agents push
Push local AI agent configurations to Base44. Agents are conversational AI assistants that can interact with users, access your app’s entities, and call backend functions.Syntax
Authentication
Required: Yes. If not authenticated, you’ll be prompted to login first.What It Does
- Reads all agent files from the
base44/agents/directory - Validates agent configurations
- Displays the count of agents to be pushed
- Uploads agents to the Base44 backend
- Reports the results: created, updated, and deleted agents
Prerequisites
- Must be run from a Base44 project directory
- Project must have agent definitions in the
base44/agents/folder
Output
Agent Synchronization
The push operation synchronizes your local agents with Base44:- Created: New agents that didn’t exist in Base44
- Updated: Existing agents with modified configuration
- Deleted: Agents that were removed from your local configuration
Error Handling
If no agents are found in your project:Agent Configuration Schema
Each agent file should be a.jsonc file in base44/agents/ with this structure:
- Agent names must match pattern:
/^[a-z0-9_]+$/(lowercase alphanumeric with underscores only, 1-100 characters)- Valid:
support_agent,order_bot,task_helper - Invalid:
Support-Agent,OrderBot,task helper
- Valid:
- Agent file names must use underscores (matching the agent name)
- Valid:
support_agent.jsonc,order_bot.jsonc - Invalid:
support-agent.jsonc(hyphens not allowed)
- Valid:
- Entity names in
tool_configsmust use PascalCase (matching the entity’snamefield)- Valid:
"entity_name": "Task","entity_name": "TeamMember" - Invalid:
"entity_name": "task","entity_name": "team_member"
- Valid:
name: Required, must follow naming rules abovedescription: Required, minimum 1 characterinstructions: Required, minimum 1 charactertool_configs: Optional, defaults to empty arraywhatsapp_greeting: Optional
Common Mistake: Wrong tool_configs Format
WRONG - Do NOT usetools with type and entity:
tool_configs with entity_name and allowed_operations:
Best Practices for Agent Instructions
When giving agents access to entities, be explicit in the instructions about using the tools:Use Cases
- After defining new agents in your project
- When modifying existing agent configurations
- To sync agent changes before testing
- As part of your development workflow when agent behavior changes
Notes
- This command syncs the agent configuration, not conversation data
- Changes are applied to your Base44 project immediately
- Make sure to test agent changes in a development environment first
- Agent definitions are located in the
base44/agents/directory - Use
base44 agents pullto download agents from Base44

