Step 5: Deploy Nova
Step 5: Deploy Nova
Letβs put Nova on the internet so you can access it from anywhere.
Push to GitHub
First, create a GitHub repository for your project. Go to https://github.com/new and create a repo (e.g., nova-assistant).
Then push your code:
git initgit add -Agit commit -m "Nova personal assistant"git remote add origin https://github.com/YOUR_USERNAME/nova-assistant.gitgit push -u origin mainLogin to Kernova Cloud
If you havenβt already:
- Go to https://kernova-cloud.vercel.app
- Sign up / sign in
- Go to Settings β Create Key
- Copy the key
kernova login --key kn_live_your_key_hereAdd Environment Variables
Go to the Kernova Cloud dashboard:
- Settings β Connect GitHub (if you havenβt)
- After your project is created, go to Projects β your project β Environment
- Add:
OPENAI_API_KEY= your OpenAI key
This ensures the deployed service has access to OpenAI.
Deploy
kernova deployYouβll see:
β
Deployed successfully
URL: https://kn-nova-assistant.onrender.com Status: QUEUEDWait 2-3 minutes for the build to complete on Render.
Test the Live App
Visit your URL: https://kn-nova-assistant.onrender.com
You should see:
- The landing page with Novaβs branding
- Click βStart chattingβ β the chat interface
- Send a message β Nova responds
Whatβs Running in Production
Render Container:βββ Next.js (port 10000) β serves the frontend + proxies to agentsβββ Agent Backend (port 4555) β runs KernovaKernel, handles AI requestsRender exposes port 10000 to the internet. When someone visits your URL:
/β Next.js serves the landing page/chatβ Next.js serves the chat UI/api/agents/assistantβ Next.js proxies to the agent backend
Making Changes
Want to update Nova? Just push to GitHub:
# Edit agents/assistant.agent.tsgit add -Agit commit -m "Updated Nova's personality"git push origin mainRender auto-deploys when you push (it watches your main branch).
Congratulations! π
Youβve built and deployed a personal AI assistant with:
- β Custom personality and behavioral rules
- β Persistent memory (remembers across sessions)
- β Web search capability
- β Streaming chat interface with Tailwind
- β Live on the internet
What to Do Next
- Add more tools β a to-do list tool, a calendar tool, a weather tool
- Add scheduling β βGive me a morning briefing every day at 8amβ
- Add channels β Connect a Slack bot so you can talk to Nova from your phone
- Share it β Give the URL to friends or colleagues
Full Project Recap
nova-assistant/βββ app/β βββ layout.tsx # Root layoutβ βββ providers.tsx # KernovaProviderβ βββ page.tsx # Landing pageβ βββ globals.css # Custom colorsβ βββ chat/page.tsx # Chat UIβββ agents/β βββ assistant.agent.ts # Nova's definitionβββ agents/tools/β βββ web-search.ts # Web searchβββ memory/β βββ conversations.ts # Memory schemaβββ kernova.config.ts # Configβββ .env.local # SecretsKey commands:
kernova dev # Local developmentkernova build # Production buildkernova deploy # Ship to cloudNext tutorial: Research & Content Pipeline β (intermediate)