CodeHaus is a vibe-based coding platform — describe what you want, and we’ll build it for you.
Your ideas, turned into working code within minutes.
Write code with your vibe.
- Describe your idea, what you want , our code agent will build it.
- View your project live in real-time.
- Share your project temporarily or keep it permanent as a pro user.
- All within a few minutes, powered by AI.
-
Clerk Authentication
Secure sign-in with Clerk for seamless user management. -
AI Coding Agent with Modular Tools
Integrated AI agent with powerful tools:- Code generation
- File regeneration
- Agent memory
- Debugging and optimization
-
Billing and Subscription Management
Upgrade your plan via Clerk’s billing system. Pro users get extended sharing time, higher rate limits, and more powerful tools. -
Live Preview and Sharing
View your app instantly. Share it with others for a limited time — extended sharing available for pro users. -
Credit-Based Rate Limiting
Each user has limited AI credits. Once you run out, you can either wait for the monthly refresh or upgrade your plan.
- Next.js – Full-stack React framework
- Clerk – Authentication and user management
- Inngest – Event-driven workflows for background jobs
- Inngest AgentKit – AI orchestration toolkit
- PostgreSQL + Prisma – Scalable database with ORM
- OpenAI / Anthropic – LLMs for smart code generation
- Clerk Billing – Subscription handling and upgrades
- Clone the repo
git clone https://github.com/your-username/codehaus.git cd codehaus
- Install dependencies
# with npm npm install # or with pnpm pnpm install # or with bun bun install
- Setup Environment variables
create a .env file and configure the following:
DATABASE_URL = NEXT_PUBLIC_APP_URL = http://localhost:3000 OPENAI_API_KEY = ANTHROPIC_API_KEY = E2B_API_KEY = NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= NEXT_PUBLIC_CLERK_SIGN_IN_URL= NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL= NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL= NEXT_PUBLIC_CLERK_SIGN_UP_URL=
- Run the deployment server
npm run dev