UNPKG

adpa-enterprise-framework-automation

Version:

Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe

332 lines (260 loc) โ€ข 11.5 kB
# ADPA - Advanced Document Processing & Automation Framework [![npm version](https://badge.fury.io/js/adpa-enterprise-framework-automation.svg)](https://badge.fury.io/js/adpa-enterprise-framework-automation) [![Node.js Version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org/) [![TypeScript](https://img.shields.io/badge/TypeScript-5.7.2-blue.svg)](https://www.typescriptlang.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![API-First](https://img.shields.io/badge/API--First-TypeSpec-orange.svg)](https://typespec.io/) > **Previously known as Requirements Gathering Agent (RGA)** **ADPA** is a modular, standards-compliant enterprise automation framework for AI-powered document generation, project management, and business analysis. Built with TypeScript and Node.js, it provides both CLI and REST API interfaces for generating professional documentation following industry standards including BABOK v3, PMBOK 7th Edition, and DMBOK 2.0. ## ๐Ÿš€ **Key Features** ### **Enterprise Standards Compliance** - ๐Ÿ“Š **BABOK v3** - Business Analysis Body of Knowledge automation - ๐Ÿ“‹ **PMBOK 7th Edition** - Project Management documentation generation - ๐Ÿ“ˆ **DMBOK 2.0** - Data Management frameworks (in progress) - ๐Ÿ›๏ธ **Multi-Framework Integration** - Cross-reference and unified reporting ### **AI-Powered Generation** - ๐Ÿค– **Multi-Provider AI Support** - OpenAI, Google AI, GitHub Copilot, Ollama - ๐Ÿง  **Intelligent Context Management** - Smart context injection and processing - ๐Ÿ“ **Professional Document Generation** - Standards-compliant business documents - ๐Ÿ”„ **Automated Workflows** - End-to-end document generation pipelines ### **Enterprise Integration** - ๐ŸŒ **Production-Ready REST API** - TypeSpec-generated OpenAPI specifications - ๐Ÿ“š **Confluence Integration** - Direct publishing to Atlassian Confluence - ๐Ÿ“Š **SharePoint Integration** - Microsoft SharePoint document management - ๐Ÿ”ง **CLI & Web Interface** - Multiple interaction modes ### **Compliance & Security** - ๐Ÿ›ก๏ธ **Enterprise-Grade Security** - Production-ready authentication and authorization - ๐Ÿ“‹ **Regulatory Compliance** - Basel III, MiFID II, GDPR, SOX, FINRA, PCI DSS - ๐Ÿข **Fortune 500 Ready** - Designed for large-scale enterprise deployments - โœ… **API-First Architecture** - Scalable microservices design ## ๐Ÿ“ฆ **Installation** ### **NPM Package (Recommended)** ```bash npm install -g adpa-enterprise-framework-automation ``` ### **From Source** ```bash git clone https://github.com/mdresch/requirements-gathering-agent.git cd requirements-gathering-agent npm install npm run build ``` ### **Docker (Coming Soon)** ```bash docker pull adpa/enterprise-framework:latest ``` ## ๐ŸŽฏ **Quick Start** ### **1. CLI Usage** ```bash # Generate project documentation adpa generate --key project-charter --output ./docs # Start the API server adpa-api # Initialize Confluence integration adpa confluence init # Initialize SharePoint integration adpa sharepoint init ``` ### **2. API Server** ```bash # Start the Express.js API server npm run api:start # Access API documentation open http://localhost:3000/api-docs ``` ### **3. Admin Web Interface** ```bash # Install and start the admin interface npm run admin:setup npm run admin:serve # Access at http://localhost:3001 ``` ## ๐Ÿ› ๏ธ **Configuration** ### **Environment Setup** ```bash # Copy environment template cp .env.example .env # Configure your AI providers OPENAI_API_KEY=your_openai_key GOOGLE_AI_API_KEY=your_google_ai_key AZURE_OPENAI_ENDPOINT=your_azure_endpoint ``` ### **AI Provider Configuration** ADPA supports multiple AI providers with automatic failover: ```typescript // Supported providers - OpenAI (GPT-4, GPT-3.5) - Google AI (Gemini Pro, Gemini Pro Vision) - GitHub Copilot - Ollama (Local models) - Azure OpenAI ``` ## ๐Ÿ“š **Framework Support** ### **BABOK v3 (Business Analysis)** โœ… **Production Ready** - Requirements Elicitation & Analysis - Stakeholder Analysis & Management - Business Analysis Planning - Solution Assessment & Validation - Enterprise Analysis ### **PMBOK 7th Edition (Project Management)** โœ… **Implemented** - Project Charter & Scope Management - Stakeholder Management Plans - Risk & Quality Management - Resource & Schedule Management - Cost Management & Control ### **DMBOK 2.0 (Data Management)** ๐Ÿšง **In Progress** - Data Governance Frameworks - Data Architecture & Quality - Master Data Management - Data Security & Privacy ## ๐Ÿ—๏ธ **Architecture** ### **Core Components** ``` ADPA/ โ”œโ”€โ”€ ๐Ÿง  AI Processing Engine # Multi-provider AI orchestration โ”œโ”€โ”€ ๐Ÿ“„ Document Generator # Template-based document creation โ”œโ”€โ”€ ๐ŸŒ REST API Server # Express.js with TypeSpec specs โ”œโ”€โ”€ ๐Ÿ’ป CLI Interface # Yargs-based command line tools โ”œโ”€โ”€ ๐Ÿ”Œ Integration Layer # Confluence, SharePoint, VCS โ”œโ”€โ”€ ๐ŸŽ›๏ธ Admin Interface # Next.js web management portal โ””โ”€โ”€ ๐Ÿ“Š Analytics & Reporting # Usage metrics and insights ``` ### **Technology Stack** - **Backend**: Node.js 18+, TypeScript 5.7+, Express.js - **AI Integration**: OpenAI, Google AI, GitHub Copilot, Ollama - **API**: TypeSpec, OpenAPI 3.0, Swagger UI - **Frontend**: Next.js 14, React 18, Tailwind CSS - **Database**: JSON-based configuration, extensible to SQL/NoSQL - **Testing**: Jest, TypeScript, comprehensive test coverage ## ๐Ÿ“– **Usage Examples** ### **Document Generation** ```bash # Generate business case document adpa generate --key business-case --format markdown # Generate complete project charter adpa generate --category project-charter --output ./project-docs # Generate stakeholder analysis adpa generate --key stakeholder-analysis --format json ``` ### **API Usage** ```typescript // REST API endpoints POST /api/v1/generate # Generate documents GET /api/v1/templates # List available templates POST /api/v1/confluence/publish # Publish to Confluence POST /api/v1/sharepoint/upload # Upload to SharePoint GET /api/v1/frameworks # List supported frameworks ``` ### **Integration Examples** ```bash # Confluence integration adpa confluence oauth2 login adpa confluence publish --document ./docs/project-charter.md # SharePoint integration adpa sharepoint oauth2 login adpa sharepoint upload --folder "Project Documents" --file ./docs/ # Version control integration adpa vcs commit --message "Generated project documentation" adpa vcs push --remote origin ``` ## ๐Ÿงช **Testing** ```bash # Run all tests npm test # Test specific providers npm run test:azure npm run test:github npm run test:ollama # Performance testing npm run test:performance # Integration testing npm run test:integration ``` ## ๐Ÿข **Enterprise Features** ### **Compliance Standards** - **Financial**: Basel III, MiFID II, FINRA, CFTC, FCA, BaFin - **Security**: GDPR, SOX, PCI DSS, ISO 27001, ISO 9001 - **Industry**: Healthcare (HIPAA), Government (FedRAMP) ### **Enterprise Integration** - **Identity Management**: Active Directory, SAML, OAuth2 - **Document Management**: SharePoint, Confluence, FileNet - **Project Management**: Jira, Azure DevOps, ServiceNow - **Version Control**: GitHub Enterprise, GitLab, Azure DevOps ### **Scalability & Performance** - **Horizontal Scaling**: Microservices architecture - **Caching**: Redis support for high-performance scenarios - **Load Balancing**: Production-ready deployment patterns - **Monitoring**: Built-in metrics and health checks ## ๐Ÿ“ **Project Structure** ``` requirements-gathering-agent/ โ”œโ”€โ”€ ๐Ÿ“‚ src/ # TypeScript source code โ”‚ โ”œโ”€โ”€ ๐ŸŽฏ cli.ts # Main CLI entry point โ”‚ โ”œโ”€โ”€ ๐ŸŒ server.ts # Express.js API server โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ modules/ # Core modules โ”‚ โ”‚ โ”œโ”€โ”€ ai/ # AI provider integrations โ”‚ โ”‚ โ”œโ”€โ”€ documentGenerator/ # Document generation engine โ”‚ โ”‚ โ”œโ”€โ”€ confluence/ # Confluence integration โ”‚ โ”‚ โ”œโ”€โ”€ sharepoint/ # SharePoint integration โ”‚ โ”‚ โ””โ”€โ”€ documentTemplates/ # Framework templates โ”‚ โ””โ”€โ”€ ๐Ÿ”ง commands/ # CLI command modules โ”œโ”€โ”€ ๐Ÿ“‚ admin-interface/ # Next.js admin portal โ”œโ”€โ”€ ๐Ÿ“‚ api-specs/ # TypeSpec API specifications โ”œโ”€โ”€ ๐Ÿ“‚ docs/ # Comprehensive documentation โ”œโ”€โ”€ ๐Ÿ“‚ test/ # Test suites โ”œโ”€โ”€ ๐Ÿ“‚ generated-documents/ # Output directory โ””โ”€โ”€ ๐Ÿ“‚ dist/ # Compiled JavaScript ``` ## ๐Ÿค **Contributing** We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. ### **Development Setup** ```bash git clone https://github.com/mdresch/requirements-gathering-agent.git cd requirements-gathering-agent npm install npm run dev # Start development mode npm run build # Build for production npm test # Run tests ``` ### **Code Standards** - **TypeScript**: Strict mode enabled - **ESLint**: Airbnb configuration - **Prettier**: Code formatting - **Jest**: Unit and integration testing - **Conventional Commits**: Commit message standards ## ๐Ÿ“‹ **Roadmap** ### **Q1 2025** - โœ… BABOK v3 full implementation - โœ… PMBOK 7th Edition compliance - โœ… Multi-provider AI support - โœ… Confluence & SharePoint integration ### **Q2 2025** - ๐Ÿšง DMBOK 2.0 implementation - ๐Ÿ”„ Docker containerization - ๐Ÿ”„ Kubernetes deployment templates - ๐Ÿ”„ Advanced analytics dashboard ### **Q3 2025** - ๐Ÿ“‹ Enterprise SSO integration - ๐Ÿ“‹ Advanced workflow automation - ๐Ÿ“‹ Real-time collaboration features - ๐Ÿ“‹ Mobile application support ## ๐Ÿ“ž **Support & Documentation** - **๐Ÿ“– Full Documentation**: [GitHub Wiki](https://github.com/mdresch/requirements-gathering-agent/wiki) - **๐Ÿ› Issue Tracking**: [GitHub Issues](https://github.com/mdresch/requirements-gathering-agent/issues) - **๐Ÿ’ฌ Community**: [GitHub Discussions](https://github.com/mdresch/requirements-gathering-agent/discussions) - **๐Ÿ“ง Enterprise Support**: [Contact Us](mailto:menno.drescher@gmail.com) ## ๐Ÿ“„ **License** This project is licensed under the [MIT License](LICENSE) - see the LICENSE file for details. ## ๐Ÿ™ **Acknowledgments** - **Industry Standards**: PMI (PMBOK), IIBA (BABOK), DAMA (DMBOK) - **AI Providers**: OpenAI, Google, GitHub, Ollama community - **Enterprise Partners**: Fortune 500 beta testing organizations - **Open Source Community**: Contributors and feedback providers --- <div align="center"> **Built with โค๏ธ for Enterprise Automation** [๐ŸŒŸ Star us on GitHub](https://github.com/mdresch/requirements-gathering-agent) | [๐Ÿ“ฆ npm Package](https://www.npmjs.com/package/adpa-enterprise-framework-automation) | [๐Ÿ“– Documentation](https://github.com/mdresch/requirements-gathering-agent/wiki) </div>