A comprehensive AI-native platform built with Next.js and AWS Amplify, featuring advanced conversational AI, knowledge management, custom tools, and intelligent automation.
- Requirements Gathering: Systematic business process analysis
- Decision Tree: AI layer selection based on task requirements
- Business Flow Mapping: Visual process optimization
- Strategic Planning: Structured approach to AI implementation
- Best Practices: Proven methodologies for AI adoption
- Multi-Model Support: Claude 4 Sonnet, Amazon Nova Pro, and more
- RAG Integration: Query your knowledge bases in real-time
- Custom Tools: Execute Python functions during conversations
- Structured Output: JSON schema support for formatted responses
- File Attachments: Multimodal inputs with document processing
- Real-time Sync: AWS Amplify subscriptions for live updates
- File Upload: Drag-and-drop support for various file types
- Vector Embeddings: Automatic processing with AWS Bedrock
- Smart Search: Semantic search across your documents
- Hierarchical Structure: Organized folder management
- Real-time Processing: Live progress tracking for embeddings
- Python Lambda Functions: AI-generated serverless tools
- Input Schema Designer: Visual schema builder
- Code Templates: Pre-built function examples
- AWS Integration: Seamless Lambda deployment
- Security Validation: Code review and error handling
- Prompt Engineering: AI-assisted prompt creation
- Template Library: Reusable prompt configurations
- Active Management: Enable/disable prompts dynamically
- Smart Suggestions: Auto-optimization recommendations
- Pre-configured Setups: Common workflow templates
- Quick Start: Instant deployment of AI configurations
- Custom Combinations: Mix and match features
- Next.js 15: React framework with App Router
- TypeScript: Type-safe development
- Tailwind CSS: Utility-first styling
- Radix UI: Accessible component library
- Real-time Updates: WebSocket subscriptions
- AWS Amplify: Serverless backend infrastructure
- AWS Bedrock: AI model access and embeddings
- AWS Lambda: Serverless function execution
- AWS S3: File storage and management
- AWS Cognito: User authentication and authorization
- Amazon Bedrock: Claude 4 Sonnet, Nova Pro models
- Vector Embeddings: Knowledge base search
- Function Calling: Custom tool execution
- Structured Output: JSON schema validation
- Node.js 18+ and npm
- AWS Account with Amplify access
- AWS CLI configured
-
Clone the repository
git clone <repository-url> cd ainp
-
Install dependencies
npm install
-
Set up AWS Amplify
npm install -g @aws-amplify/cli amplify configure amplify init
-
Deploy backend resources
amplify push
-
Start development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
- Sign up/Sign in using AWS Cognito authentication
- Use the Use Case Builder to define your AI implementation strategy
- Create a System Prompt to define your AI assistant's behavior
- Upload Knowledge Base files for RAG-powered conversations
- Build Custom Tools for specialized functions
- Start Chatting with your personalized AI assistant
- Define business requirements systematically
- Follow the decision tree for optimal AI layer selection
- Map current business processes and identify improvements
- Plan strategic AI implementation with proven methodologies
- Select AI models (Claude 4 Sonnet, Nova Pro)
- Choose active system prompts
- Enable relevant databases for context
- Attach files for document analysis
- Use structured output for formatted responses
- Upload documents (PDF, DOC, TXT, MD, etc.)
- Organize files in hierarchical folders
- Monitor embedding processing progress
- Search and preview documents
- Design input schemas visually
- Generate Python code with AI assistance
- Test and validate functions
- Deploy to AWS Lambda automatically
NEXT_PUBLIC_AMPLIFY_REGION=us-east-1
NEXT_PUBLIC_AMPLIFY_USER_POOL_ID=your-user-pool-id
NEXT_PUBLIC_AMPLIFY_USER_POOL_CLIENT_ID=your-client-id- Amplify: Backend infrastructure
- Bedrock: AI model access
- Lambda: Function execution
- S3: File storage
- Cognito: Authentication
ainp/
βββ src/
β βββ app/ # Next.js App Router pages
β β βββ chat/ # AI chat interface
β β βββ databases/ # Knowledge base management
β β βββ prompts/ # System prompt editor
β β βββ tools/ # Custom tool builder
β β βββ templates/ # Template library
β β βββ use-case-builder/ # Requirements gathering tool
β βββ components/ # React components
β β βββ ui/ # Reusable UI components
β β βββ app-sidebar.tsx # Main navigation
β βββ lib/ # Utilities and types
βββ amplify/ # AWS Amplify configuration
β βββ auth/ # Cognito authentication
β βββ data/ # GraphQL schema and resolvers
β βββ functions/ # Lambda functions
β βββ storage/ # S3 bucket configuration
βββ public/ # Static assets
Each major feature has detailed documentation:
- Chat System: Comprehensive AI chat interface guide
- System Prompts: Prompt engineering and management
- Knowledge Bases: File management and RAG implementation
- Custom Tools: Python Lambda function development
- Check the feature-specific README files for detailed information
- Review the AWS Amplify documentation for backend configuration
- Consult the Next.js documentation for frontend development
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
npm run type-check # Run TypeScript checks- Create React components in
src/components/ - Add pages in
src/app/ - Update AWS resources in
amplify/ - Deploy changes with
amplify push
- Authentication: AWS Cognito with MFA support
- Authorization: Role-based access control
- Code Validation: Python function security checks
- Data Encryption: In-transit and at-rest encryption
- API Security: Rate limiting and input validation
amplify add hosting
amplify publishamplify add hosting
# Configure custom domain in AWS Console- Lazy Loading: Component-based code splitting
- Caching: AWS CloudFront CDN
- Optimization: Next.js automatic optimizations
- Monitoring: AWS CloudWatch integration
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.