{"id":"8be172d5-dcdd-4d39-ac87-b1a39d97322b","entityType":"agent","slug":"crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor","name":"Bangladesh-E-Passport-AI-Advisor","canonicalUrl":"https://www.xpersona.co/agent/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor","canonicalPath":"/agent/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor","generatedAt":"2026-10-09T01:06:22.505Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-05-19T06:58:42.505Z","emptyReason":null},"description":"🇧🇩 Amar E-Passport: A smart, multi-agent AI system (CrewAI + Gemini/OpenAI) that guides users through Bangladesh passport applications with precise rules, fees, and localized reporting. 🇧🇩 Bangladesh E-Passport Virtual Consular Officer **Multi-Agent System (MAS) powered by CrewAI** — Your personal passport application advisor A production-level multi-agent system that acts as a \"Virtual Consular Officer\" for the Bangladesh E-Passport Portal. Given an applicant's profile (age, profession, urgency), it generates a comprehensive **Passport Readiness Report** in both English and Bangla. --- 🏗️ Archit","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 5/19/2026.","installCommand":"git clone https://github.com/rashedulalbab253/Bangladesh-E-Passport-AI-Advisor.git","sourceUrl":"https://github.com/rashedulalbab253/Bangladesh-E-Passport-AI-Advisor","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/rashedulalbab253/Bangladesh-E-Passport-AI-Advisor","kind":"source"}],"safetyScore":66,"overallRank":23.2,"popularityScore":17,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"🇧🇩 Amar E-Passport: A smart, multi-agent AI system (CrewAI + Gemini/OpenAI) that guides users through Bangladesh passport applications with precise rules, fee"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-05-19T06:58:42.505Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"crewai","status":"self-declared"},{"label":"multi-agent","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"crewai","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"multi-agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"}},"adoption":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"medium","updatedAt":"2026-05-19T06:58:42.505Z","emptyReason":null},"stars":4,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":"4 GitHub stars"},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-05-19T06:58:42.504Z","emptyReason":null},"lastUpdatedAt":"2026-05-19T06:58:42.505Z","lastCrawledAt":"2026-05-19T06:58:42.504Z","lastIndexedAt":null,"nextCrawlAt":"2026-05-26T06:58:42.504Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"git clone https://github.com/rashedulalbab253/Bangladesh-E-Passport-AI-Advisor.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T01:06:22.505Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-rashedulalbab253-bangladesh-e-passport-ai-advisor/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-05-19T06:58:42.505Z","emptyReason":null},"readme":"# 🇧🇩 Bangladesh E-Passport Virtual Consular Officer\n\n> **Multi-Agent System (MAS) powered by CrewAI** — Your personal passport application advisor\n\nA production-level multi-agent system that acts as a \"Virtual Consular Officer\" for the Bangladesh E-Passport Portal. Given an applicant's profile (age, profession, urgency), it generates a comprehensive **Passport Readiness Report** in both English and Bangla.\n\n---\n\n## 🏗️ Architecture\n\n```\nUser Input ──→ Input Parser ──→ Passport Crew Orchestrator\n                                        │\n                    ┌───────────────────┤\n                    ▼                   ▼                   ▼\n            🛡️ Policy Guardian   💰 Fee Calculator   📋 Document Architect\n            (Eligibility)        (Fee + VAT)         (Checklist + Report)\n                    │                   │                   │\n                    ▼                   ▼                   ▼\n            Policy Lookup Tool   Fee Lookup Tool     Document Lookup Tool\n                    │                   │                   │\n                    └───────────────────┼───────────────────┘\n                                        ▼\n                              📊 Local Database (Fallback)\n                                        │\n                                        ▼\n                        📄 Passport Readiness Report\n                            (English + বাংলা)\n```\n\n### The Three Agents\n\n| Agent | Role | Responsibility |\n|-------|------|---------------|\n| 🛡️ **Policy Guardian** | Bangladesh Passport Policy Expert | Determines validity (5/10 years), required ID (NID/BRC), flags inconsistencies |\n| 💰 **Fee Calculator** | Financial Auditor | Calculates exact BDT fee with 15% VAT using 2026 fee structure |\n| 📋 **Document Architect** | Documentation Officer | Generates customized checklist, compiles final report |\n\n### Task Delegation Chain\n\n```\nTask 1 (Policy Guardian) ──context──→ Task 2 (Fee Calculator)\n         │                                      │\n         └────────────── context ───────────────→ Task 3 (Document Architect)\n```\n\n---\n\n## 🚀 Quick Start\n\n### 1. Clone & Setup\n\n```bash\ngit clone <repo-url>\ncd amar-epassport-agent\n\n# Create virtual environment\npython -m venv venv\nvenv\\Scripts\\activate     # Windows\n# source venv/bin/activate  # Linux/Mac\n\n# Install dependencies\npip install -r requirements.txt\n```\n\n### 2. Configure Environment\n\n```bash\n# Copy the example env file\ncopy .env.example .env     # Windows\n# cp .env.example .env     # Linux/Mac\n\n# Edit .env and add your API key\n# For Google Gemini:\n#   GOOGLE_API_KEY=your_key_here\n#   LLM_PROVIDER=google\n#\n# For OpenAI:\n#   OPENAI_API_KEY=your_key_here\n#   LLM_PROVIDER=openai\n```\n\n### 3. Run the Application\n\n#### Web UI (Streamlit)\n```bash\nstreamlit run app.py\n```\n\n#### CLI — Interactive Mode\n```bash\npython main.py\n```\n\n#### CLI — Natural Language\n```bash\npython main.py --text \"I am a 24-year-old private sector employee. I need a 64-page passport urgently because I have a business trip in two weeks. I have an NID and I live in Dhaka.\"\n```\n\n#### CLI — Structured Arguments\n```bash\npython main.py --age 24 --profession private_sector --delivery express --pages 64 --nid --district Dhaka\n```\n\n---\n\n## 📝 Example\n\n### Input\n```\n\"I am a 24-year-old private sector employee. I need a 64-page passport urgently \nbecause I have a business trip in two weeks. I have an NID and I live in Dhaka.\"\n```\n\n### Output (Summary Table)\n\n| Field | Value |\n|-------|-------|\n| **Age Category** | Adult (18-65) |\n| **Validity** | 10 Years |\n| **Delivery Type** | Express (7 working days) |\n| **Base Fee** | 8,625 BDT |\n| **VAT (15%)** | 1,294 BDT |\n| **Total Fee** | 9,919 BDT |\n| **Required ID** | National ID Card (NID) |\n| **Documents** | NID, Employment Certificate, Application Form, Photographs, Birth Certificate, Bank Receipt |\n\n---\n\n## ⚠️ Error Handling\n\n### Inconsistency Flagging\nIf a 15-year-old requests a 10-year passport:\n```\n⚠️ POLICY VIOLATION: A 10-year passport is NOT permitted for a 15-year-old (minor).\nAllowed validity: 5 year(s) only.\nThe application will be automatically adjusted to 5-year validity.\n```\n\n### Fallback Mechanism\nIf the LLM agent pipeline fails (API errors, network issues), the system automatically falls back to the **local database** containing:\n- Policy rules for all age categories\n- 2026 official fee structure\n- Document requirements for all professions\n\n---\n\n## 🧪 Testing\n\n```bash\n# Run all tests\npytest tests/ -v\n\n# Run with coverage\npytest tests/ -v --cov=src --cov-report=html\n\n# Run specific test file\npytest tests/test_database.py -v\n```\n\n---\n\n## 📁 Project Structure\n\n```\namar-epassport-agent/\n├── main.py                          # CLI entry point\n├── app.py                           # Streamlit web UI\n├── requirements.txt                 # Dependencies\n├── .env.example                     # Environment template\n├── .gitignore\n├── README.md\n├── config/\n│   ├── agents.yaml                  # Agent persona config\n│   └── tasks.yaml                   # Task config\n├── src/\n│   ├── __init__.py\n│   ├── agents/\n│   │   ├── policy_guardian.py       # 🛡️ Eligibility agent\n│   │   ├── fee_calculator.py        # 💰 Fee agent\n│   │   └── document_architect.py    # 📋 Document agent\n│   ├── tasks/\n│   │   ├── eligibility_task.py      # Policy assessment task\n│   │   ├── fee_task.py              # Fee calculation task\n│   │   └── checklist_task.py        # Checklist + report task\n│   ├── crew/\n│   │   └── passport_crew.py         # Crew orchestrator\n│   ├── models/\n│   │   └── applicant.py             # Pydantic data models\n│   ├── database/\n│   │   ├── fee_structure.py         # Local fee data\n│   │   ├── policy_rules.py          # Local policy data\n│   │   └── document_requirements.py # Local document data\n│   ├── tools/\n│   │   ├── fee_lookup_tool.py       # CrewAI fee tool\n│   │   ├── policy_lookup_tool.py    # CrewAI policy tool\n│   │   └── document_lookup_tool.py  # CrewAI document tool\n│   └── utils/\n│       ├── logger.py                # Centralized logging\n│       └── validators.py            # Input parsing & validation\n└── tests/\n    ├── test_models.py               # Model tests\n    ├── test_database.py             # Database tests\n    └── test_validators.py           # Parser tests\n```\n\n---\n\n## 📊 2026 Fee Structure\n\n| Pages | Delivery | Base Fee | VAT (15%) | Total |\n|-------|----------|----------|-----------|-------|\n| 48 | Regular (21 days) | 3,450 ৳ | 518 ৳ | **3,968 ৳** |\n| 48 | Express (7 days) | 6,900 ৳ | 1,035 ৳ | **7,935 ৳** |\n| 48 | Super Express (2-3 days) | 8,625 ৳ | 1,294 ৳ | **9,919 ৳** |\n| 64 | Regular (21 days) | 5,750 ৳ | 863 ৳ | **6,613 ৳** |\n| 64 | Express (7 days) | 8,625 ৳ | 1,294 ৳ | **9,919 ৳** |\n| 64 | Super Express (2-3 days) | 11,500 ৳ | 1,725 ৳ | **13,225 ৳** |\n\n---\n\n## 🛡️ Technology Stack\n\n- **Framework**: CrewAI (Multi-Agent Orchestration)\n- **LLM**: Google Gemini / OpenAI GPT-4o  \n- **Web UI**: Streamlit\n- **Data Models**: Pydantic v2\n- **Logging**: Rich + File-based\n- **Testing**: Pytest\n- **Language**: Python 3.10+\n\n---\n\n## 📄 License\n\nMIT License — Built by Rashedul Albab.\n","readmeExcerpt":"🇧🇩 Bangladesh E-Passport Virtual Consular Officer **Multi-Agent System (MAS) powered by CrewAI** — Your personal passport application advisor A production-level multi-agent system that acts as a \"Virtual Consular Officer\" for the Bangladesh E-Passport Portal. Given an applicant's profile (age, profession, urgency), it generates a comprehensive **Passport Readiness Report** in both English and Bangla. --- 🏗️ Archit","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"User Input ──→ Input Parser ──→ Passport Crew Orchestrator\n                                        │\n                    ┌───────────────────┤\n                    ▼                   ▼                   ▼\n            🛡️ Policy Guardian   💰 Fee Calculator   📋 Document Architect\n            (Eligibility)        (Fee + VAT)         (Checklist + Report)\n                    │                   │                   │\n                    ▼                   ▼                   ▼\n            Policy Lookup Tool   Fee Lookup Tool     Document Lookup Tool\n                    │                   │                   │\n                    └───────────────────┼───────────────────┘\n                                        ▼\n                              📊 Local Database (Fallback)\n                                        │\n                                        ▼\n                        📄 Passport Readiness Report\n                            (English + বাংলা)"},{"language":"text","snippet":"Task 1 (Policy Guardian) ──context──→ Task 2 (Fee Calculator)\n         │                                      │\n         └────────────── context ───────────────→ Task 3 (Document Architect)"},{"language":"bash","snippet":"git clone <repo-url>\ncd amar-epassport-agent\n\n# Create virtual environment\npython -m venv venv\nvenv\\Scripts\\activate     # Windows\n# source venv/bin/activate  # Linux/Mac\n\n# Install dependencies\npip install -r requirements.txt"},{"language":"bash","snippet":"# Copy the example env file\ncopy .env.example .env     # Windows\n# cp .env.example .env     # Linux/Mac\n\n# Edit .env and add your API key\n# For Google Gemini:\n#   GOOGLE_API_KEY=your_key_here\n#   LLM_PROVIDER=google\n#\n# For OpenAI:\n#   OPENAI_API_KEY=your_key_here\n#   LLM_PROVIDER=openai"},{"language":"bash","snippet":"streamlit run app.py"},{"language":"bash","snippet":"python main.py"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"🇧🇩 Amar E-Passport: A smart, multi-agent AI system (CrewAI + Gemini/OpenAI) that guides users through Bangladesh passport applications with precise rules, fees, and localized reporting. 🇧🇩 Bangladesh E-Passport Virtual Consular Officer **Multi-Agent System (MAS) powered by CrewAI** — Your personal passport application advisor A production-level multi-agent system that acts as a \"Virtual Consular Officer\" for the Bangladesh E-Passport Portal. Given an applicant's profile (age, profession, urgency), it generates a comprehensive **Passport Readiness Report** in both English and Bangla. --- 🏗️ Archit","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":401,"uniquenessScore":64,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-05-19T06:58:42.505Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-05-19T06:58:42.505Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:06:22.505Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}