Turn vague ideas into clear actions. MetaIntent clarifies ambiguity, generates custom agents, and helps you achieve your goals.
Features β’ Architecture β’ Quick Start
|
|
graph TB
A[User Input] --> B[API Gateway]
B --> C[MetaIntent Engine]
C --> D{Ambiguity?}
D -->|Yes| E[Clarification Loop]
D -->|No| F[Agent Generator]
E --> C
F --> G[Sub-Agent Orchestrator]
G --> H[AWS Bedrock]
G --> I[NVIDIA NIM]
H --> J[Goal Execution]
I --> J
J --> K[Response]
| Component | Technology |
|---|---|
| Frontend | HTML5, CSS3, Vanilla JavaScript |
| Backend | TypeScript, AWS Lambda |
| AI Models | AWS Bedrock (Claude 3.5), NVIDIA NIM |
| API Gateway | AWS API Gateway |
| State Management | AWS DynamoDB with TTL |
| Storage | AWS S3 (caching & logs) |
| Deployment | AWS Amplify, SAM |
# Required tools
- Node.js 20+
- AWS CLI configured
- AWS SAM CLI (optional)# Clone the repository
git clone https://github.com/Hammaduddin561/MetaIntent.git
cd MetaIntent
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env with your AWS credentials# Build the project
npm run build
# Start local server
sam local start-api
# Or use simple Python server for frontend
python -m http.server 8000# Automated deployment
npm run deploy
# Manual SAM deployment
sam build
sam deploy --guidedMetaIntent/
βββ π index.html # Main website
βββ π¨ style.css # Styling
βββ β‘ script.js # Client-side logic
βββ πΌοΈ metaintent_logo.png # Logo assets
βββ π amplify.yml # AWS Amplify config
βββ π¦ src/
β βββ adapters/ # LLM backend adapters
β β βββ BedrockAdapter.ts
β β βββ NIMAdapter.ts
β β βββ LLMAdapterFactory.ts
β βββ lambdas/ # Lambda handlers
β β βββ metaintent.ts
β β βββ intent.ts
β β βββ chain.ts
β β βββ router.ts
β βββ services/ # Core services
β β βββ MetaLoopEngine.ts
β β βββ AmbiguityDetector.ts
β β βββ AgentGenerator.ts
β β βββ SubAgentOrchestrator.ts
β βββ models/ # Type definitions
β βββ utils/ # Utilities (cache, retry, logger)
βββ π lambda-deploy/ # Lambda deployment
βββ βοΈ metaintent-webapp/ # React webapp
βββ π README.md # This file
- Input Processing: Accept voice, text, or document input
- Ambiguity Detection: Identify unclear or incomplete requests
- Clarification Loop: Engage in conversation to refine intent
- Agent Generation: Create specialized sub-agents for specific tasks
- Orchestration: Coordinate multiple agents and API calls
- Execution: Deliver results with graceful fallback handling
curl -X POST https://main.d2hb7u72uflrkw.amplifyapp.com/api/onboard \
-H "Content-Type: application/json" \
-d '{"input": "Help me build a website", "modality": "text"}'# Run tests
npm test
# Test specific lambda
sam local invoke MetaIntentFunction --event events/test-event.jsonThis project is licensed under the MIT License.
MIT License
Copyright (c) 2025 Md Hammaduddin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Contributions are welcome! Please feel free to submit a Pull Request.
Made with β€οΈ using AWS Bedrock & NVIDIA NIM


