Vibe Coding Principles
Focused, concise and context-rich prompts are the key to effective vibe coding.- Provide Essential Context - Share product requirements, user journey, and constraints upfront
- Decompose Into Small Tasks - Break your project into isolated, single-purpose tasks. Solve only one task per session
- 
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:- Node.js v18 or higher: Download here
- Your Inworld API key: Sign up here or see quickstart guide
- Download Inworld templates
- 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.
 
- Create a copy of the .env-sample, rename it to.env, and add your base64 API key
- Install dependencies - In the root folder of your project, run this terminal command:
- Run a simple example - Test your setup with this basic LLM example:
- 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 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:- Search templates for patterns:
- Revert to last checkpoint: Use “Restore Checkpoint” in supported tools, or git reset/manual backups in others
- Restart the session: Summarize progress first, then start fresh
- Document successful solutions: Save useful patterns as reusable rules. In Cursor, you can create rules by prompting the agent: