Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@itz4blitz/agentful) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
agentful
The Autonomous Product Development Kit for Claude Code
Transform any project into an intelligent, self-building product with specialized AI agents that work 24/7 to write, test, and validate your code.
What is agentful?
agentful is an opinionated setup for Claude Code that transforms it into a powerful autonomous development system. It's not just another AI coding assistantβit's a complete product development framework that coordinates specialized agents to build your entire application autonomously.
Think of it as having a team of expert developers available 24/7, each with their own specialty, working together to build your product while you sleep.
What Makes agentful Different?
Unlike single-purpose AI tools, agentful provides:
- 7 Specialized Agents working in concert (Orchestrator, Architect, Backend, Frontend, Tester, Reviewer, Fixer)
- Intelligent Init that automatically detects your project structure (flat vs hierarchical)
- Natural Conversation Interfaceβjust talk to agentful like a senior developer
- 24/7 Autonomous Development that works while you sleep
- Built-in Quality Gates ensuring production-ready code
- Tech Stack Auto-Detection generating agents for your specific stack
- Progress Tracking showing exactly what's done and what's next
How agentful Works
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1. DEFINE YOUR PRODUCT β
β Edit PRODUCT.md with your requirements, tech stack, and features β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 2. INTELLIGENT INIT (Automatic) β
β β’ Analyzes your project structure β
β β’ Detects tech stack (Next.js, React, Prisma, etc.) β
β β’ Creates optimal product structure (flat or hierarchical) β
β β’ Generates specialized agents for your stack β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 3. AUTONOMOUS DEVELOPMENT β
β β’ Orchestrator coordinates work β
β β’ Specialized agents implement features β
β β’ Tester writes and runs tests β
β β’ Reviewer validates quality gates β
β β’ Fixer resolves any issues β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 4. 24/7 ITERATION β
β Loop continues until all features complete and quality gates pass β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
PRODUCTION-READY CODE β
β All tests passing β’ No type errors β’ Coverage β₯80% β’ Secure β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββQuick Start (30 seconds)
Step 1: Initialize in Your Project
npx @itz4blitz/agentful initIntelligent Structure Detection:
agentful automatically analyzes your project and creates the optimal product structure:
- Simple Projects β Creates
PRODUCT.mdat root (flat, single-file) - Large/Complex Projects β Creates
.claude/product/with domain directories (hierarchical)
Detection Logic:
- β₯3 detected domains β Hierarchical structure
- β₯2 frameworks detected β Hierarchical structure
- Monorepo detected β Hierarchical structure
- Otherwise β Flat structure (recommended for beginners)
Step 2: Edit Your Product Specification
For Simple Projects (Flat Structure) - Edit PRODUCT.md:
## Overview
A task management app for remote teams with real-time collaboration.
## Tech Stack
- Frontend: Next.js 14 + TypeScript + Tailwind CSS
- Backend: Next.js API Routes
- Database: Prisma + PostgreSQL
- Testing: Vitest + Playwright
## Features
### Domain: Authentication
#### User Registration - CRITICAL
**Description**: Allow new users to create accounts
**Subtasks**:
1. Create registration form UI - CRITICAL
- [ ] Email validation with regex
- [ ] Password minimum 8 characters
- [ ] Responsive design
2. Implement registration API endpoint - CRITICAL
- [ ] POST /api/auth/register
- [ ] Hash passwords with bcrypt
- [ ] Rate limiting
#### User Login - CRITICAL
[... more features]For Large Projects (Hierarchical Structure) - Edit .claude/product/index.md:
## Overview
E-commerce platform with multi-vendor support.
## Domains
1. **Authentication** - See `.claude/product/domains/auth/` for details
2. **Product Catalog** - See `.claude/product/domains/products/` for details
3. **Order Processing** - See `.claude/product/domains/orders/` for details
4. **Vendor Management** - See `.claude/product/domains/vendors/` for detailsThen edit domain-specific files in .claude/product/domains/{domain-name}/.
Step 3: Start Autonomous Development
claudeThen inside Claude Code:
/agentful-startThat's it! agentful will:
- Analyze your product specification
- Detect your tech stack from
package.jsonand code - Generate specialized agents for your stack
- Begin autonomous development immediately
Key Features
π§ Intelligent Init
Smart initialization that adapts to your project:
- Automatic Structure Detection - Chooses flat vs hierarchical based on project complexity
- Tech Stack Detection - Analyzes dependencies, frameworks, and code patterns
- Dynamic Agent Generation - Creates specialized agents for your specific stack
- Zero Configuration - Works out of the box, no setup needed
Example:
$ npx @itz4blitz/agentful init
β Detected project type: Next.js App Router
β Detected tech stack: Next.js 14, TypeScript, Prisma, Tailwind CSS
β Analyzing project structure...
β Detected 5 domains β Using hierarchical structure
β Created .claude/product/domains/ with 5 domain directories
β Generated specialized agents: nextjs-agent, prisma-agent, tailwind-agent
Next: Edit .claude/product/index.md to define your product, then run 'claude' and '/agentful-start'π¬ Natural Conversation Interface
Talk to agentful like a senior developer:
/agentful
You: I need to add user authentication
agentful: I'll help you add authentication. I can see you have Next.js set up.
Would you like to use NextAuth.js or implement custom JWT?
You: Let's use NextAuth.js with Google provider
agentful: Perfect. I'll:
1. Install next-auth
2. Configure Google OAuth
3. Create login/logout pages
4. Add session management
5. Write tests
Ready to proceed?
You: Yes, go ahead
agentful: Starting implementation...π€ Specialized Agents
Seven AI agents working together:
| Agent | Role | Expertise |
|---|---|---|
| @orchestrator | Project Manager | Coordinates all work, manages decisions, tracks progress |
| @architect | System Architect | Analyzes tech stack, generates specialized agents |
| @backend | Backend Developer | Services, repositories, controllers, APIs |
| @frontend | Frontend Developer | Components, pages, hooks, styling |
| @tester | QA Engineer | Unit, integration, E2E tests |
| @reviewer | Code Reviewer | Code review, dead code detection, quality validation |
| @fixer | DevOps Engineer | Auto-fixes validation failures |
π 24/7 Autonomous Development
Use the Ralph Wiggum plugin for overnight autonomous development:
# Inside Claude Code
/plugin install ralph-wiggum@anthropics
# Run autonomous development loop
/ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"What happens overnight:
- agentful works while you sleep
- Continues until all features complete (100%)
- Stops when all quality gates pass
- Or reaches max iterations
Wake up to a working product!
π Quality Gates
Code must pass ALL gates before completion:
- β All tests passing - Unit, integration, and E2E
- β Type checking - Adapts to your stack (TypeScript, Flow, etc.)
- β Linting - Zero lint errors
- β Dead code elimination - No unused exports, files, or dependencies
- β Test coverage - Minimum 80% coverage
- β Security - No vulnerabilities or security issues
Quality gates automatically adapt to your tech stack. Using JavaScript instead of TypeScript? No type checking. Using ESLint instead of Biome? Linting adapts accordingly.
π Progress Tracking
Real-time visibility into development:
/agentful-statusOutput:
π§ Working on: User authentication feature
Phase: implementation
Iterations: 12
Current task: Implementing JWT service
Progress:
βββββββββββββββββββ 40%
Quality Gates:
β
Tests Passing (47/47)
β Type Checking (3 errors found)
β οΈ Coverage (76% - target: 80%)
β
Linting (0 errors)
β
Dead Code (0 issues)
β
Security (0 vulnerabilities)
Pending Decisions (2):
1. β οΈ Which auth library? (NextAuth.js or custom JWT?)
2. β οΈ Session duration? (7 days or 30 days?)
Completed:
β
User registration (100%)
β
Password reset (100%)
π User authentication (40%)
β³ User profile (0%)π― Smart Decision Handling
agentful asks when it needs clarification:
- Question added to
decisions.json - Continues work on unblocked features
- You answer when convenient via
/agentful-decide - Resumes blocked work automatically
Never interrupt flowβagentful keeps working on what it can.
Example Flow
Here's a real example of agentful building authentication:
# You: Initialize agentful
$ npx @itz4blitz/agentful init
β Detected project type: Next.js App Router
β Detected tech stack: Next.js 14, TypeScript, Prisma, Tailwind CSS
β Created PRODUCT.md (flat structure)
# You: Edit PRODUCT.md with authentication requirements
# You: Start Claude Code
$ claude
# You: Start autonomous development
> /agentful-start
# agentful responds:
π Analyzing PRODUCT.md...
π Detected domains: Authentication, User Management
π οΈ Detected tech stack: Next.js 14, TypeScript, Prisma, Tailwind CSS, Vitest
π€ Generating specialized agents: nextjs-agent, typescript-agent, prisma-agent, tailwind-agent
π Starting autonomous development...
π Feature: User Registration (CRITICAL)
β @backend implementing JWT service
β @backend creating user schema in Prisma
β @backend implementing registration API route
β @frontend creating registration form
β @tester writing unit tests
β @tester writing integration tests
β
User Registration complete (100%)
Tests: β
12/12 passing
Type check: β
0 errors
Coverage: β
87%
π Feature: User Login (CRITICAL)
β @backend implementing login API
β @frontend creating login page
β @tester writing auth tests
β οΈ Decision needed: Which session duration?
Options: 7 days, 30 days, or custom
β @orchestrator continuing with unblocked features...
π Feature: Password Reset (HIGH)
β @backend implementing reset token flow
β @backend creating email service
β @frontend creating reset form
> /agentful-decide
π Pending Decisions:
1. Which session duration for JWT tokens?
a) 7 days (recommended for better security)
b) 30 days (more convenient)
c) Custom duration
Your choice: a
β
Decision resolved: Using 7-day session duration
π @orchestrator resuming login feature...
π Feature: User Login (resuming)
β @backend implementing 7-day session duration
β @frontend adding session persistence
β
User Login complete (100%)
Tests: β
18/18 passing
Type check: β
0 errors
Coverage: β
91%
π Progress Update:
βββββββββββββββββββ 33% (3/9 features complete)
π Continuing with next feature: User Profile...
[Continues 24/7 until complete]Why Use agentful?
vs. Manual Development
| Manual Development | agentful |
|---|---|
| Write every line yourself | AI agents write code autonomously |
| Forget to write tests | Tests written automatically |
| Debug for hours | Issues caught and fixed automatically |
| Works only when you work | Works 24/7 |
| Inconsistent code quality | Enforced quality standards |
| Context switching overhead | Specialized agents maintain focus |
vs. Other AI Tools
| Other AI Coding Assistants | agentful |
|---|---|
| Single-purpose (code completion) | Complete product development system |
| No coordination between agents | 7 specialized agents working together |
| Requires constant supervision | Autonomous 24/7 operation |
| No quality enforcement | Built-in quality gates |
| Generic code | Tech stack-specific agents |
| No progress tracking | Real-time progress visibility |
| Manual testing | Automatic test generation |
Key Differentiators
- Agent Coordination - Unlike single AI tools, agentful orchestrates 7 specialized agents working together
- Intelligent Init - Automatically detects optimal project structure (flat vs hierarchical)
- Natural Conversation - Talk to agentful like a senior developer, not a tool
- Quality Built-In - Every feature includes tests, type checking, linting, coverage, security
- 24/7 Development - Works while you sleep via Ralph Wiggum loops
- Tech Stack Adaptation - Dynamically generates agents for your specific stack
- Progress Visibility - Always know what's done, what's next, and what's blocked
Product Structures
agentful supports two product structure formats:
Flat Structure (Recommended for Beginners)
Best for: Simple projects, MVPs, prototypes
your-project/
βββ PRODUCT.md # Single file with all features
βββ .claude/ # agentful configuration
βββ src/ # Your codeAdvantages:
- Simple to get started
- Everything in one file
- Easy to understand
- Great for small teams
Hierarchical Structure (For Large Projects)
Best for: Complex projects, multiple domains, large teams
your-project/
βββ .claude/
β βββ product/
β βββ index.md # Product overview
β βββ domains/
β βββ authentication/
β β βββ index.md # Domain overview
β β βββ features/
β β βββ login.md
β β βββ register.md
β βββ user-management/
β β βββ features/
β βββ payments/
β βββ features/
βββ src/Advantages:
- Organized by domain
- Multiple team members can edit simultaneously
- Easier to navigate large specs
- Better for complex products
Automatic Detection
agentful automatically detects which structure you're using. No configuration needed!
Start with flat, migrate to hierarchical as you grow. Both formats work identically.
Commands
| Command | Description |
|---|---|
/agentful |
Natural conversation - Just talk to agentful |
/agentful-start |
Begin or resume autonomous development |
/agentful-status |
Check current progress and what's being worked on |
/agentful-decide |
Answer pending decisions that block development |
/agentful-validate |
Run all quality checks (tests, type check, lint, coverage, security) |
Tech Stack Support
agentful automatically detects and supports:
Frontend Frameworks
- Next.js (App Router & Pages Router)
- React + Vite
- Vue + Nuxt
- SvelteKit
- Solid.js
- Astro
Backend Frameworks
- Next.js API Routes
- Express
- Fastify
- NestJS
- Hono
- tRPC
Databases & ORMs
- PostgreSQL, MySQL, SQLite, MongoDB
- Prisma, Drizzle, TypeORM, Mongoose
Styling
- Tailwind CSS, CSS Modules, styled-components, shadcn/ui
Testing
- Vitest, Jest, Playwright, Cypress
Authentication
- NextAuth.js, Clerk, Auth0, Lucia, custom JWT
And many more! agentful generates specialized agents for whatever stack you're using.
Use Cases
Perfect For:
- MVP Development - Ship your minimum viable product in days, not weeks
- Prototyping - Quickly test ideas with working code
- Full-Stack Projects - Build complete applications from scratch
- Legacy Migration - Modernize old codebases with test coverage
- SaaS Products - Build complete SaaS applications autonomously
- Internal Tools - Create tools for your team automatically
- Learning Projects - Learn best practices from autonomously written code
- Open Source - Generate boilerplate and scaffolding automatically
Not Ideal For:
- Highly experimental research projects
- Projects requiring proprietary algorithms
- Applications needing human creative direction
- Simple one-off scripts (overkill)
Requirements
- Claude Code - Install here
- Node.js 22+ - For CLI tool
- Git - For version control
Documentation
Full documentation at agentful.app
Getting Started
- Quick Start Guide - 5-minute walkthrough
- Your First Project - Build your first project
- Product Specification - How to write effective specs
Core Concepts
- Agents - Specialized agents and their roles
- Commands - All available commands
- Quality Gates - Quality checks explained
- Progress Tracking - State management
- Decision Handling - How agentful handles decisions
Advanced
- 24/7 Development - Overnight autonomous loops
- Product Structures - Flat vs hierarchical
- Tech Stack Detection - How it works
- Customization - Customize agents and commands
Architecture
your-project/
βββ PRODUCT.md # Your product spec (flat structure)
βββ CLAUDE.md # Project-specific Claude instructions
βββ .claude/ # agentful configuration
β βββ product/ # Product spec (hierarchical structure)
β β βββ index.md # Product overview
β β βββ domains/ # Domain-specific specs
β βββ agents/ # Specialized agents
β β βββ orchestrator.md
β β βββ architect.md
β β βββ backend.md
β β βββ frontend.md
β β βββ tester.md
β β βββ reviewer.md
β β βββ fixer.md
β βββ commands/ # Slash commands
β β βββ agentful.md
β β βββ agentful-start.md
β β βββ agentful-status.md
β β βββ agentful-decide.md
β β βββ agentful-validate.md
β βββ skills/ # Domain-specific skills
β β βββ conversation/
β β βββ product-tracking/
β β βββ validation/
β βββ settings.json # Hooks and permissions
βββ .agentful/ # Runtime state (gitignored)
β βββ state.json # Current work state
β βββ completion.json # Feature completion percentages
β βββ decisions.json # Pending and resolved decisions
β βββ architecture.json # Detected tech stack
β βββ last-validation.json # Most recent validation report
βββ src/ # Your code (generated by agentful)Links
- GitHub: github.com/itz4blitz/agentful
- Issues: github.com/itz4blitz/agentful/issues
- Website: agentful.app
- Documentation: agentful.app
- NPM: npmjs.com/@itz4blitz/agentful
- Claude Code: code.anthropic.com
License
MIT
Links
- GitHub: github.com/itz4blitz/agentful
- Issues: github.com/itz4blitz/agentful/issues
- Website: agentful.app
- Documentation: agentful.app
- NPM: npmjs.com/@itz4blitz/agentful
- Claude Code: code.anthropic.com
License
MIT