Skip to content
Novu logoNovu
All Integrations

Custom Code

Agent runtime

No framework required. Connect the agent loop you already wrote to every channel your users are on.

npx novu connect --channel <channel> --runtime custom-code

Overview

No framework required. The agent is fully yours: your own loop, your own model calls, your own tools. Novu Connect adds the last step: getting it into a channel and routing replies back.

How it works

Novu Connect delivers each channel message to your handler with its conversation context. Whatever your handler returns goes back to the user.

Configure

Run the command above and pick a channel. The CLI adds a bridge route to your project. Point the handler at your agent, and send a test message.

Connect your communication stack to Novu

Use Novu Notify for multi-channel notifications and Novu Connect for contextual agent conversations, actions, and approvals.