Skip to main content

Vibe Coding Principles

Focused, concise and context-rich prompts are the key to effective vibe coding.
  1. Provide Essential Context - Share product requirements, user journey, and constraints upfront
  2. Decompose Into Small Tasks - Break your project into isolated, single-purpose tasks. Solve only one task per session
  3. Restart Sessions Often - Start new chats for new features or when stuck. Use /compact (Claude Code) or /compress (Gemini CLI) to summarize before restarting

Quick Setup

Requirements: Project Setup:
  1. Clone the templates repository
  2. Open your project in your development environment:
    • AI IDEs: Cursor, Windsurf, etc.
    • IDEs with coding agents: Visual Studio Code (with Zencoder, GitHub Copilot), JetBrains (with AI Assistant), etc.
    • CLI tools: Claude Code, Gemini CLI, etc.
  3. Create a copy of the .env-sample, rename it to .env, and add your base64 API key
  4. Install dependencies - In the root folder of your project, run this terminal command:
  1. Run a simple example - Test your setup with this basic LLM example:
  1. View traces and logs - Visit the Inworld Portal to monitor your graph executions, observe latency, and debug issues. Learn more about logs and traces.

Vibe Code with Inworld Agent Runtime

Follow these 4 steps for each new feature: Start fresh → Find template → Build incrementally → Troubleshoot as needed.

Step 1: Set Context

Enter this prompt to ask the AI to familiarize itself with the codebase.

Step 2: Choose Template

Finding the best template to start from.

Step 3: Build Incrementally

Start implementation with the recommended template.

Step 4: Troubleshooting

When your AI agent gets stuck, try these troubleshooting options:
  1. Search templates for patterns:
  1. Revert to last checkpoint: Use “Restore Checkpoint” in supported tools, or git reset/manual backups in others
  2. Restart the session: Summarize progress first, then start fresh
  1. Document successful solutions: Save useful patterns as reusable rules. In Cursor, you can create rules by prompting the agent: