- Local
- Development
- Production
By default, the agent runs on your local machine. To run the agent locally:
- Scaffold your agent with
npx novu init -t agent. - Add valid
NOVU_SECRET_KEYandNOVU_API_URLvalues to your.envfile. - Run the scaffolded project on your local machine.
- Set the bridge option to
Localin the agent overview section.
- bridge_application_port - Port where your scaffolded project runs. Defaults to 4000.
- no-studio - Disables Studio.
bridge_application_port.Novu sets the bridge URL automatically to tunnel-url/api/novu.The agent listens for new messages and responds while running locally.Next steps
Conversation observability
View agent conversations, lifecycle, and signal activity in the dashboard.
Update an agent bridge API
Set the bridge URL programmatically after deployment.