Back to Portfolio
AI Platform & AgentOS
AI Platform & AgentOS
6 months
RIZQ Launcher Team

The Messenger

A next-generation AgentOS platform built with Next.js 15 and Go backend. Designed to transform service providers into micro-AI companies by combining their proprietary data, workflows, and expertise into monetizable AI-powered tools.

Key features include Rizq Tool system (RAG + Inputs + AI Prompt + REST/MCP endpoints), rich multi-modal output schema (charts, tables, markdown, code snippets), n8n workflow orchestration for complex automations, and Tool Marketplace with revenue sharing for community developers.

Technical highlights: MCP protocol integration for AI tool access, Weaviate vector database for semantic search, human-in-the-loop workflows, Microsoft Presidio for enterprise-grade data privacy, and Telegram/WhatsApp integrations for seamless communication.

Challenge

Creating a platform that enables non-technical service providers to build and monetize AI-powered tools while maintaining enterprise-grade security, supporting complex multi-step workflows, and providing rich structured outputs for business intelligence.

Solution

Built Rizq Tool architecture combining RAG documents, user inputs, AI prompts, and optional REST/MCP external logic. Implemented Go backend with Clean Architecture for scalability. Created rich output schema rendering charts, tables, and code via React components. Integrated n8n for workflow orchestration. Applied Weaviate for semantic search and Microsoft Presidio for data anonymization.

Implementation Details

01

Rizq Tool Architecture

Designed unified tool specification combining RAG documents, user inputs, AI prompts, and optional REST/MCP external logic layers. Each tool collects input, retrieves context from RAG, calls external endpoints, injects responses into prompts, and generates LLM output. Implemented session-based state management with unique session_id for workflow persistence and billing tracking.

02

Rich Output Schema System

Built multi-modal response rendering supporting markdown, tables, charts, and code snippets. Created standard JSON schema with blocks array that frontend renders via React components (react-markdown, Chart.js, tanstack/table, react-syntax-highlighter). Implemented summary + details toggle for mobile-friendly views. Added export functionality for CSV, PNG charts, and PDF reports.

03

MCP & REST Integration Layer

Implemented Model Context Protocol (MCP) integration enabling AI agents to access external tools dynamically during conversations. Built REST endpoint system with HTTPS + signed JWT/HMAC for secure external logic calls. Created n8n workflow orchestration for complex multi-step automations including scraping, data enrichment, and scheduled tasks.

04

Go Backend with Clean Architecture

Built scalable REST API using Go with Clean Architecture principles. Implemented domain-driven design with clear separation: controllers, domain models, contracts (interfaces), and services. Used dependency injection for testability. Created middleware for authentication, error handling, and request tracing. Applied structured logging and graceful shutdown patterns.

05

Next.js 15 Frontend with Tool Rendering

Built modern SPA with Next.js 15 App Router and React 19. Implemented dynamic block rendering system for rich tool outputs. Used TanStack Query for efficient data fetching with caching. Applied Zustand for tool state management. Created accessible UI with Radix UI primitives. Built responsive design with Tailwind CSS 4 and Chart.js visualizations.

06

Security, Privacy & Developer Ecosystem

Integrated Ory Kratos for enterprise-grade authentication. Implemented Microsoft Presidio for automatic PII detection and anonymization. Built Tool Marketplace with developer onboarding, verification system, and revenue sharing. Applied per-tool rate limiting and usage quotas. Created comprehensive audit logging for compliance and billing.

Key Results & Impact

Built AgentOS platform transforming service providers into micro-AI companies

Implemented Rizq Tool system with RAG + AI + REST/MCP integration

Created rich output schema rendering charts, tables, and code dynamically

Integrated n8n workflow orchestration for complex automation scenarios

Achieved sub-100ms semantic search with Weaviate vector database

Launched Tool Marketplace with developer SDK and monetization support

Key Features

Rizq Tool system (RAG + AI + REST/MCP)
Rich output schema (charts, tables, code)
MCP protocol integration
n8n workflow orchestration
Tool Marketplace with monetization
Human-in-the-loop workflows
Vector-based semantic search
Telegram & WhatsApp integration

Frontend

Next.js 15React 19TypeScriptTailwind CSS 4Radix UITanStack QueryZustandChart.jsReact Markdown

Backend & Infra

GoPostgreSQLWeaviaten8nMCP ProtocolPresidioKratosOpenAI APIDocker

Ready to Build Something Similar?

Discuss Your Project