A comprehensive web application featuring two powerful sections:
- Builder - AI-powered code generation tool (similar to bolt.new)
- Agent - Intelligent AI assistant for task execution and automation (similar to jules.google.com and plamier.io)
- AI Code Generation: Describe what you want to build, and the AI generates complete code for you
- Multi-Language Support: Generate code in JavaScript, TypeScript, Python, HTML, CSS, and more
- Live Code Editor: Built-in Monaco editor with syntax highlighting for editing generated code
- Export Options: Download generated code or copy to clipboard instantly
- Smart Detection: Automatically detects the appropriate language based on your description
- Intelligent Task Execution: AI agent that can execute various tasks autonomously
- Real-time Chat Interface: Interactive conversation with the AI agent
- Task Queue Management: Visual tracking of all tasks with status updates (pending, in-progress, completed, failed)
- Multiple Capabilities:
- Task Automation
- Data Analysis
- Information Retrieval
- Workflow Management
- Real-time Processing
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- Code Editor: Monaco Editor (VS Code's editor)
- Icons: Lucide React
- UI: Modern, responsive design with dark mode support
- Node.js 18+ and npm
- Clone the repository:
git clone https://github.com/tarunerror/agent.git
cd agent- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser
npm run build
npm start- Click on the "Builder" button in the header
- Describe what you want to build in the text area
- Click "Generate Code" to let AI create the code
- Edit the code in the live editor if needed
- Use "Copy" or "Download" buttons to export your code
- Switch between different programming languages using the dropdown
- Click on the "Agent" button in the header
- Type your task or question in the input field
- Press Enter or click the send button
- Watch the agent process your request in real-time
- View task status in the Task Queue sidebar
- Continue the conversation for follow-up tasks
agent/
├── app/
│ ├── layout.tsx # Root layout with metadata
│ ├── page.tsx # Main page with section switcher
│ └── globals.css # Global styles
├── components/
│ ├── Builder.tsx # AI Code Builder component
│ ├── Agent.tsx # AI Agent Assistant component
│ └── CodeEditor.tsx # Monaco code editor wrapper
├── public/ # Static assets
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── tailwind.config.ts # Tailwind CSS configuration
└── next.config.js # Next.js configuration
npm run dev- Start development servernpm run build- Build for productionnpm start- Start production servernpm run lint- Run ESLint
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by bolt.new for the Builder section
- Inspired by jules.google.com and plamier.io for the Agent section


