A complete development environment template for Coconut - the agent-centric software development platform where everyone is a first-class citizen in the development lifecycle.
Coconut is built around three core principles:
- Universal participation: Everyone can directly contribute to the project's development and evolution
- Agent-centric architecture: AI agents operate at the center of the project within secure, isolated environments
- Integrated project context: All context, knowledge, resources, and change proposals are stored alongside the code and managed under source control
This template provides a ready-to-use development environment with:
- 🐳 Docker-based devcontainer with Node.js 20 Alpine
- 🥥 Coconut CLI pre-installed globally
- 🛠️ Development tools: Git, GitHub CLI, Python, build essentials
- ⚙️ VS Code configuration with recommended extensions
- 📦 Package manager: pnpm enabled via corepack
- 🔧 Automated setup script for easy integration into existing projects
- Click "Use this template" on GitHub
- Clone your new repository
- Open in VS Code and reopen in container
- Start using Coconut:
nut --help
Run this one-liner in your project directory:
curl -fsSL https://raw.githubusercontent.com/lovelybunch/coconut-init/main/.devcontainer/setup-in-project.sh | bashThen:
- Open your project in VS Code
- Press
F1→ "Dev Containers: Reopen in Container" - Initialize Coconut:
nut init
The devcontainer includes:
- Ports: 3020 (Coconut Dashboard), 3021 (Dev Server)
- Extensions: TypeScript, Prettier, Tailwind CSS, ESLint
- Tools: Coconut CLI, Gemini CLI, Claude Code, OpenAI Codex
- User: Non-root
nodeuser with sudo access
Once your devcontainer is running:
# Initialize Coconut in your project
nut init
# View available commands
nut --help
# Start the Coconut dashboard (if available)
nut dashboard.
├── .devcontainer/
│ ├── devcontainer.json # VS Code devcontainer configuration
│ ├── Dockerfile # Container image definition
│ └── setup-in-project.sh # Automated setup script
└── README.md # This file
This template follows Coconut's agent-centric development principles. All contributions, whether from humans or AI agents, are welcome and treated as first-class citizens.
MIT License - see the LICENSE file for details.