# Generate a Vibe Coding Prompt with Toolhouse CLI

You can now use the Toolhouse CLI to generate a vibe coding–friendly prompt for platforms like Lovable, Bolt, and V0. This makes it easy to connect your deployed Toolhouse agents to your preferred no-code or low-code UI.

***

#### Prerequisites

⚡ Make sure you have the Toolhouse CLI installed.

If not, follow the [Quick Start for Developers (CLI)](https://docs.toolhouse.ai/toolhouse/quick-start-for-developers-cli) guide.

***

#### Step 1: Navigate to Your Agent Directory

Open the terminal and go to the directory where your `.yaml` file is stored.

If you don’t have one yet, you can generate a new agent with:

```bash

th new

```

This will scaffold a new agent and generate the corresponding YAML file.

Now you need to deploy your new agent, run the following command in the same directory as your YAML file:

```bash
th deploy your-file.yaml
```

This will deploy and activate your agent on Toolhouse’s platform so it can be used in other environments (via API).

#### Step 2: Generate a Vibe Coding Prompt

Choose the agent YAML file you want to use and run:

```bash

th vibe your-file.yaml

```

> **Note:** Your agent must be **deployed** before running `th vibe`, or the command will not work.

<div align="left"><figure><img src="https://3896932452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fio16js3ONksvIYTf7YUl%2Fuploads%2FDdv7C3MEQ3jT8RL22oDp%2FScreenshot%202025-08-06%20at%209.26.40%20AM.png?alt=media&#x26;token=e26b5892-c107-448e-9610-28b9a0cd8eb6" alt=""><figcaption></figcaption></figure></div>

You'll be prompted to choose a vibe coding platform:

* Lovable
* Bolt
* V0

Once you select one, hit Enter. The prompt will be copied to your clipboard automatically.

<div align="left"><figure><img src="https://3896932452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fio16js3ONksvIYTf7YUl%2Fuploads%2FItMzagL0d2SdPO0LaQHw%2FScreenshot%202025-08-06%20at%209.26.49%20AM.png?alt=media&#x26;token=b857f021-c432-426e-b0a0-ff778188d55b" alt=""><figcaption></figcaption></figure></div>

#### Step 3: Paste It and Continue Vibing

Your selected vibe coding tool will open in the browser.

Paste the prompt (already copied to your clipboard), and you are ready to build.

<figure><img src="https://3896932452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fio16js3ONksvIYTf7YUl%2Fuploads%2FLq3HgXSBYPNUGaeyQnCP%2FScreenshot%202025-08-06%20at%209.19.21%20AM.png?alt=media&#x26;token=375cd469-dc60-423c-970b-687fb479a6fc" alt=""><figcaption></figcaption></figure>

You can customize the prompt to suit your specific use case, but by default, it will generate an interface similar to the example shown below.

<figure><img src="https://3896932452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fio16js3ONksvIYTf7YUl%2Fuploads%2FNxohpVgyS4ArUogazGZk%2FCleanShot%202025-08-06%20at%2018.49.13%402x.png?alt=media&#x26;token=94c8fd69-0b06-4218-ad79-c6ddd4acd2b3" alt=""><figcaption></figcaption></figure>

Now your Toolhouse agents can work seamlessly inside your favorite vibe coding environments, allowing you to quickly build custom interfaces, automate workflows, and prototype tools without writing traditional backend code.

Whether you're using Lovable, Bolt, or V0, you can drop in your agent prompt and instantly start designing experiences that interact with real-world data and services.

#### Need more help?

Visit [Toolhouse Support](http://help.toolhouse.ai/) or ask in our [Community Discord](https://discord.gg/2Pfsz6b6).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toolhouse.ai/toolhouse/advanced-concepts/generate-a-vibe-coding-prompt-with-toolhouse-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
