Developer Guide
Welcome to the PutmeIn developer guide. This section provides an architectural overview, local workflows, and contribution practices for engineers working on the PutmeIn codebase.
Subpages & Guides
Navigate directly to the focused developer guides:
- Prerequisites — System runtimes, Node.js, npm, Go, and Docker requirements across all monorepo packages.
- Setting up the Project — Step-by-step instructions for cloning, installing dependencies, configuring environments, and compiling components.
Architecture Overview
PutmeIn is structured as an integrated modular monorepo:
| Directory | Component | Technology | Role |
|---|---|---|---|
/ray | Web Dashboard | Next.js 16 + React 19 | Interactive browser console, metrics visualization, and session management. |
/brain | AI Engine & Daemon | Go 1.22 | Background automation daemon, Docker orchestrator, and AI action executor. |
/cohen | Terminal UI | Go 1.22 + Bubbletea | Interactive terminal client (TUI) for direct CLI management. |
/landing | Marketing Portal | Next.js 16 + Tailwind | Public landing and product showcase site. |
/docs | Documentation | Docusaurus v3 | Technical manuals, API references, and user guides. |
Development Workflow
Building the Distribution
From the repository root:
npm run build
This triggers the build pipeline:
- Compiles the Go binary for Brain.
- Generates Prisma client bindings.
- Builds the Next.js standalone application for Ray.
- Stages the distribution into
dist/with zero development baggage.
Local Execution
# Start background services
npm start
# Inspect running services, CPU, and memory
node bin/ray.js status
# Stop background services
node bin/ray.js stop
Contributing
We welcome contributions of all kinds. When submitting pull requests:
- Create a descriptive feature branch (
feature/your-feature-nameorfix/issue-description). - Maintain design system consistency across web interfaces.
- Preserve existing database integrity and avoid disruptive schema modifications.
- Submit pull requests to the
mainbranch with comprehensive testing details.