All Tutorials
Prompt Recipes
Intermediate

Launch an AI Assistant Backend

Build a conversational AI backend with REST API, database persistence, and session caching.

What It Creates

Node.js/Express API with chat endpoints
PostgreSQL database for conversation history
Valkey (Redis) instance for session caching
Simple web chat UI deployed to production

The Prompt

Ready to Copy

Build an AI assistant backend on Open Source Cloud:
- A Node.js/Express API with chat endpoints
- PostgreSQL database for storing conversation history
- A Valkey (Redis) instance for session caching
- A simple web UI for chatting

Deploy everything to OSC.

How to Use This Template

  1. 1

    Copy the prompt below

  2. 2

    Open your AI agent (Claude Code, Codex, ChatGPT, etc.)

  3. 3

    Make sure the agent is connected to OSC via MCP

  4. 4

    Paste the prompt and send

  5. 5

    Your AI assistant backend will be deployed automatically

Ready to Try This Template?

Copy the prompt above and use it with your AI agent. If you don't have an OSC account yet, sign up for free to get started.