To step into the world of **Vibe Coding**, you are setting up a highly agentic environment. Using **OpenClaw** (formerly Moltbot/Clawdbot) allows you to bypass the standard “copy-paste” workflow of web UIs and instead use a **Terminal UI (TUI)** to let **ChatGPT 5.3-Codex** directly manipulate your workspace.
Here is your roadmap to building a FastAPI + Node.js application natively on Windows using PowerShell 7.
—
## 1. Environment Setup (Native Windows)
Ensure you are using **PowerShell 7** (not Windows PowerShell 5.1).
* **Node.js 22**: Download the LTS version or use NVM for Windows: `nvm install 22`.
* **Python**: Ensure Python 3.10+ is in your PATH.
* **OpenClaw**: Run the official Windows installer in PowerShell 7:
“`powershell
iwr -useb https://openclaw.ai/install.ps1 | iex
“`
—
## 2. Onboarding OpenClaw for Agentic Coding
Instead of using the web interface at `:18789`, we will initialize the **TUI** and connect it to your AI provider.
1. **Start Onboarding**: Run `openclaw onboard –flow quickstart`.
2. **Select Model**: Choose **ChatGPT (OpenAI)** and select the **5.3-Codex** model.
3. **Hatch in TUI**: When asked how you want to interact, select **”Hatch in TUI”**.
4. **Security Policy**: Since you are Vibe Coding, you can set the `exec_approval` to “Low” in your `config.yaml` if you want the agent to run scripts without asking every time—but be careful!
—
## 3. Creating the Hybrid FastAPI & Node App
In your project directory, tell the OpenClaw TUI: *”Create a FastAPI backend on port 5000 and a Node.js runtime script that calls it.”*
### The Python Backend (`main.py`)
FastAPI is the backbone for high-performance “vibe” apps.
“`python
from fastapi import FastAPI
import uvicorn
app = FastAPI()
@app.get(“/”)
async def root():
return {“status”: “Vibe Coding Active”, “engine”: “GPT-5.3-Codex”}
if __name__ == “__main__”:
uvicorn.run(app, host=”127.0.0.1″, port=5000)
“`
### The Node.js Runtime (`app.js`)
Since you requested a Node.js 22 runtime, you can use it to orchestrate the environment or handle frontend logic.
“`javascript
// Node.js 22 native fetch to call your FastAPI
const startVibe = async () => {
const res = await fetch(‘http://localhost:5000/’);
const data = await res.json();
console.log(“Response from FastAPI:”, data);
};
startVibe();
“`
—
## 4. Running the Dev Server
Use PowerShell 7 to run your Python environment. GPT-5.3-Codex can manage these processes for you if you give it the command in the TUI:
* **Start Backend**: `fastapi dev main.py –port 5000`
* **Run Node Runtime**: `node app.js`
> **Vibe Coder Tip:** Use the command `openclaw doctor` if your TUI loses connection to the background gateway. This ensures your agentic “heartbeat” is still active.
Would you like me to generate the **`SKILL.md`** file so your OpenClaw agent knows exactly how to deploy and test this specific dual-stack architecture automatically?
[Setup OpenClaw on Windows Step-by-Step](https://www.youtube.com/watch?v=4GMH97CiqZ4)
This video walks through the native Windows installation and configuration of OpenClaw, which is essential for your non-WSL setup.
Leave a Reply