Skip to main content
info@magetechsol.com
Note : We help you to Grow your Business
MageTech AI Forge
MageTech AI Forge 1 MageTech AI Forge 2 MageTech AI Forge 3 MageTech AI Forge 4 MageTech AI Forge 5 MageTech AI Forge 6 MageTech AI Forge 7 MageTech AI Forge 8
AI Engineering & Developer Platforms

MageTech AI Forge

Brand: MageTech Solutions

SKU: MTS-AIFORGE-001

Monthly
₹2,499.00
per month
Yearly
₹24,990.00
per year Save 17%
In Stock (999 available)

A local-first, open-source AI application and agent platform. It compounds documents, knowledge bases and AI workflows to accelerate agencies and businesses — with RAG, autonomous agents, MCP tooling, multi-tenant workspaces and observability on a self-hosted stack.

Choose Your Plan

Flexible pricing for every business size. Start free, scale as you grow.

Community

For developers, students, experimentation and POCs. Free forever.

₹0 /mo
Get Started
Most Popular
Developer

For individual developers and AI builders. Everything in Community plus advanced RAG, LangGraph workflows and API access.

₹2,499 /mo
or ₹24,990/yr Save 17%
Get Started
Team

For teams building internal AI applications together. Everything in Developer plus RBAC, shared knowledge bases and audit logs.

₹8,499 /mo
or ₹84,990/yr Save 17%
Get Started
Business

For companies building internal AI applications and business agents at scale.

₹20,999 /mo
or ₹209,990/yr Save 17%
Get Started
Enterprise

For larger organizations requiring private AI infrastructure and full control. Custom pricing.

Custom
Tailored for your requirements
Get Started
1 Products
20 Products
Unlimited Products
Unlimited Products
1 Users
10 Users
25 Users
Unlimited Users
0 WhatsApp Messages/Day
0 WhatsApp Messages/Day
0 WhatsApp Messages/Day
0 WhatsApp Messages/Day
Unlimited AI Queries/Day
Unlimited AI Queries/Day
Unlimited AI Queries/Day
Unlimited AI Queries/Day
1 user · 1 project
Local LLM / Ollama + Knowledge Base
Basic RAG · PDF / DOCX / TXT / MD upload
Basic AI Chat · basic embeddings
3 AI agents · 3 MCP tools
Basic conversation memory
Self-hosted Docker deployment · Community support
MageTech AI Forge branding
Everything in Developer
10 users · 20 projects · unlimited agents & MCP tools
Advanced AgentOps · team collaboration
Role-based access (Admin / Manager / Developer / Viewer)
Shared knowledge bases · advanced memory
Agent execution monitoring · audit logs
MCP permissions / allowlists · API + webhooks
Multiple AI providers · advanced RAG
Priority support
Everything in Team
25 users · unlimited projects, KBs, agents, MCP tools
Advanced AgentOps · advanced RBAC · audit trail
SSO · advanced security controls
Private AI Gateway · multiple LLM providers
Custom MCP & business-system integrations
Usage analytics · advanced monitoring
Custom retention policies · deployment assistance
Priority support
Unlimited users & projects
Private / on-premise / Kubernetes deployment
Dedicated AI infrastructure · private local LLM environment
Custom MCP servers & custom integrations
SSO / SAML · advanced RBAC · audit logs
Security reviews · data-retention policies
Dedicated support · SLA · architecture consultation
Custom onboarding · custom contract / invoicing

Your Local-First AI Application & Agent Platform

MageTech AI Forge is a full-stack AI application and agent platform that combines retrieval-augmented generation (RAG), autonomous agents and the Model Context Protocol (MCP) into one product surface — deliberately local-first, so customers keep data on hardware they control.

100%

Local-First · No Mandatory API Keys

800

Char Chunking / 160 Overlap for RAG

384-dim

Embeddings · Cosine Retrieval

1

docker compose up to Deploy
Executive Summary

MageTech AI Forge compounds documents, knowledge bases and AI workflows to accelerate agencies and businesses. The default runtime is a fully self-hosted stack with Ollama serving open-weight models, so data never leaves the deployment boundary. The architecture is provider-agnostic: managed providers (OpenAI, Google Gemini, Anthropic, Azure OpenAI) can be added later without redesigning the core.

Core Value Proposition: Run the entire AI stack locally by default — no mandatory third-party API keys — while exposing every capability through a documented, versioned HTTP API backed by security, rate limiting, audit logging and RBAC-ready tenancy from day one.

LIVE SCALED MVP PLANNED FUTURE

Product Pillars

Knowledge & RAG

Upload documents, parse and chunk them, embed and store them with cosine search, then answer questions grounded in the knowledge base with citations.

Agents

Persistent agent runs that can call MCP tools, remember context and stream step-by-step execution. LangGraph orchestration is the planned evolution.

MCP

A first-class Model Context Protocol layer: connect, enable/disable and invoke external tools through a standardized JSON-RPC surface with strict security gates.

Workspaces

Multi-tenant workspaces isolate knowledge, agents, conversations and tools with column-level tenancy on every business entity.

Observability

Structured JSON logs, token accounting, agent-run traces and usage analytics inform cost, quality and debugging decisions.

Extensible

Webhook events, a future MCP SDK, ServiceFlow/CRM integrations and OAuth2 2-legged flows keep the platform open.

System Context

Data TierPostgreSQL (pgvector-ready) · Redis
AI TierOllama — qwen2.5:7b + nomic-embed-text
API TierFastAPI (Python 3.12) · HTTPS / JSON / SSE
Client TierNext.js 16 (App Router)

Design Principles

PrincipleWhat it means here
Local-firstDefault runtime is self-hosted with open-weight models; no external dependency is mandatory.
Open sourceTransparent, auditable stack; no black-box components in the critical path; OpenAPI schema at /docs.
Provider-agnostic AILLMClient gateway isolates provider SDKs behind one protocol-agnostic interface.
Secure by defaultFail closed: argon2id hashes, short-lived JWTs, refresh cookies, rate limits, production guards, no tool can shell out.
Tenant isolationEvery business entity belongs to a workspace; queries are always scoped by tenant (X-Workspace-Id).
Async-first backendAsync SQLAlchemy + asyncpg, async Redis, SSE streaming via StreamingResponse.
Reliability & observabilityEvery request is traceable; structlog JSON logging, AppError envelope, audit log, route executions, health endpoints.
Evidenced roadmapEverything labelled planned/future has written design intent (LangGraph, LlamaIndex, MCP SDK, ai-gateway, pgvector, RLS).

Technology Stack

Frontend
Next.js16.3.5 (App Router)
React19.2.8
TypeScript5.9
Tailwind CSS4.3.3
TanStack Query5.103.2
react-hook-form + Zod7.88 / 4.6.5
Backend
Python3.12
FastAPI0.141
SQLAlchemy 2.x2.0.54 + asyncpg
Alembic1.20
Argon2-cffi / PyJWT25.1 / 2.14
redis / slowapi6.4 / 0.1.10
AI, Data & Infrastructure
Ollamaqwen2.5:7b + nomic-embed-text
PostgreSQL16 (pgvector-ready)
pgvectorExtension provisioned
Redis7-alpine
LangGraph / LlamaIndexPlanned
OpenAI / Gemini / AnthropicFuture providers

AI Architecture — LLMClient Gateway

The AI tier is built around a single provider gateway (services/llm_client) so the rest of the platform never talks to a specific model vendor. Today the gateway speaks to Ollama; tomorrow it can route to OpenAI, Gemini or Anthropic with configuration only.

Provider selection

LLM_PROVIDER=auto probes the local Ollama tag endpoint with a 30-second availability cache. If no provider is reachable the gateway degrades to a deterministic mock provider so tests and demos stay stable.

Token accounting

Streaming responses report eval_count from Ollama; when omitted, tokens are estimated with len(text)//4. This feeds usage analytics and per-model cost views.

Knowledge & Retrieval (RAG)

Ingestion pipeline

Upload (multipart PDF/TXT/MD/CSV, capped at 2,000,000 chars) → parse → chunk (size 800 / overlap 160) → embed (nomic-embed-text, 384-dim) → store in PostgreSQL. Async reprocess supported.

Retrieval & answering

Query embedding → top-k cosine retrieval (workspace-scoped) → grounded prompt with source citations. Answers link back to source documents.

Vector storage evolution

Now: JSON-array brute-force cosine (LIVE). Near: native vector(384) column + pgvector ANN index (PLANNED). Later: hybrid BM25 + re-ranks (FUTURE).

Agents & LangGraph

Agents in the MVP are persistent, tool-capable runtimes: create an agent, attach a system prompt and model, then run it with input. Runs produce a stream of steps (tool calls and text) recorded for audit and replay.

Run lifecycle

pendingrunningcompleted | failed. The executor generates a response, invokes enabled MCP tools when requested, and feeds results back until the loop terminates.

Loop bound

Agent tool loops are bounded by a maximum iteration count enforced in the executor to prevent infinite tool-call cycles and runaway cost.

MCP Integration

ToolDescriptionSafety posture
memory_storePersist a key/value memory entry.Workspace-scoped writes, audit logged.
memory_recallRead back stored memories.Workspace-scoped reads only.
get_current_timeReturn the current date/time.Read-only, no side effects.
calculatorEvaluate arithmetic expressions.AST whitelist (arithmetic/numeric ops only). No shell, no OS, no dynamic import.

MCP stdio transport is rejected by design — it would allow the platform to spawn arbitrary OS processes. Remote calls are enable-gated and audit-logged.

Data & Multi-Tenancy

Live schema

users · workspaces · user_workspace_roles · audit_logs · knowledge_bases · documents · document_chunks · agents · agent_runs · conversations · messages · mcp_servers · mcp_tools · models

Planned: roles, permissions, projects, agent_versions, agent_tools, agent_execution_steps, memories, token_blacklist, subscriptions, usage_limits.

Tenant model

A workspace is the tenant boundary. Every business table carries workspace_id; the API validates X-Workspace-Id against membership and falls back to the user's first workspace. IDOR tests assert cross-workspace leakage is impossible. PostgreSQL RLS is planned as defense-in-depth.

API Design & Security

Conventions
  • Base URL /api/v1; OpenAPI 3.1 at /docs
  • Bearer access JWT + rotating HttpOnly refresh cookie
  • Uniform error envelope via AppError
  • SSE streaming: meta → delta* → done then data: [DONE]
  • Routers: auth, chat, agents, knowledge, mcp, models, usage, executions, dashboard
Security measures
  • Argon2id password hashing with strict policy
  • Dual JWT: 15-min access + 7-day rotating refresh; separate secrets
  • slowapi rate limits: auth 10/min, default 200/min (Redis + in-memory fallback)
  • Production guard refuses default/weak secrets in prod
  • No raw SQL; Pydantic v2 validation; MCP stdio rejected; calculator AST whitelist
  • Structured audit log for auth, workspace, MCP and document events

Observability, Performance & Safety

Observability

structlog JSON logging with request_id join keys · usage analytics (?days=7..90, per-model) · executions dashboard · health endpoint (PG/Redis/Ollama) · immutable audit log.

Performance

Async I/O (asyncpg, async Redis), connection pooling (10/20, pool_pre_ping), 30s provider availability cache, SSE token streaming (TTFB = first token), bounded ingestion caps.

AI safety

No arbitrary execution · grounded answers with citations · tenant isolation (IDOR-tested) · loop bounds · audit trail. Local-first is itself a data-governance win: knowledge and prompts never leave the deployment boundary.

Roadmap

MilestoneContentStatus
MVP-1Auth (JWT + argon2id), workspaces, RAG pipeline (upload→embed→chat), dashboard, streaming chat.LIVE
MVP-2Agents + runs + executions, MCP server/tool management, usage analytics, multi-model registry.LIVE
MVP-3RBAC enforcement, settings system, refresh-token blacklist, demo mode polish, E2E expansion.PLANNED
MVP-4Native pgvector search, document reprocess UX, webhook delivery, OAuth2 2-legged tokens.PLANNED
Phase 4LangGraph agent graphs (state machine, checkpoints, memory), LlamaIndex orchestration.PLANNED
Phase 5MCP SDK: expose platform tools to external agents; mcp-sdk-python companion.PLANNED
Phase 7Managed providers (OpenAI/Gemini/Anthropic) behind LLMClient, ai-gateway service, hosted offering.FUTURE

Compounding Documents, Knowledge & AI Workflows

Local-first · Open source · One docker compose up · RAG + Agents + MCP + Observability

Local-first AI stack — fully self-hosted with Ollama open-weight models by default; no mandatory third-party API keys
Provider-agnostic LLMClient gateway — swap between Ollama and managed providers (OpenAI, Gemini, Anthropic) via configuration only
RAG knowledge bases — upload PDF / DOCX / TXT / MD / CSV, parse, chunk (800 chars / 160 overlap) and embed with nomic-embed-text
Grounded answers with citations and source links — the model answers only from the retrieved knowledge base
Knowledge search endpoint — ranked top-k chunk retrieval scoped to the tenant workspace
Persistent AI agents with system prompts, model selection, temperature and bounded tool loops
Agent run lifecycle — pending → running → completed/failed, with full step trace, status and token accounting
MCP (Model Context Protocol) — connect SSE servers, discover tools, enable/disable and invoke through a standardized audited path
Built-in MCP tools — memory_store, memory_recall, get_current_time, calculator (AST whitelist, no shell/OS access)
Multi-tenant workspaces — column-level tenancy on every business entity with X-Workspace-Id scoping and RBAC-ready roles
Streaming chat with Server-Sent Events — meta → delta → done → [DONE] event sequence
Conversation management — CRUD conversations and messages with context continuation
Model registry — list models, sync from Ollama /api/tags, and pull new models into your local Ollama
Token accounting and usage analytics — per message, per run and per model with cost attribution
Executions dashboard — latest 200 agent runs with status, duration, tokens and step-trace detail
Structured JSON logging with request_id tracing plus immutable audit log for privileged actions
Argon2id password hashing with strict policy and production guards that refuse default/weak secrets
Dual JWT sessions — 15-minute access token + 7-day rotating refresh in an HttpOnly cookie
Rate limiting with slowapi — auth 10/min, default 200/min, Redis-backed with in-memory fallback
Health endpoint that independently reports PostgreSQL, Redis and Ollama status
OpenAPI 3.1 documented API at /docs with a typed contract-first frontend (Zod mirrors)
Async-first backend — asyncpg, async Redis, httpx, StreamingResponse for non-blocking LLM I/O
One-command self-hosted deployment — docker compose up brings up the full stack
Self-hosted licensing separated from infrastructure — bring your own GPU/CPU, Postgres, Redis and Ollama
Open source (local-first) distribution with Community, Developer, Team, Business and Enterprise plans
Planned: LangGraph stateful agent graphs, LlamaIndex orchestration, native pgvector ANN indexing
Planned: webhooks, OAuth2 2-legged service tokens, MCP SDK server for external agents
Future: managed cloud providers (OpenAI/Gemini/Anthropic), ai-gateway service, Kubernetes multi-node scale
Product Type Local-First AI Application & Agent Platform
Version 1.0.0
Status SCALED MVP
License Open Source (Local-First)
Backend FastAPI 0.141 · Python 3.12 · Uvicorn 0.53
Frontend Next.js 16.3.5 (App Router) · React 19.2.8 · TypeScript 5.9
Styling Tailwind CSS 4.3.3 + shadcn/ui pattern
Server State TanStack Query 5.103.2 · react-hook-form + Zod 4.6.5
ORM SQLAlchemy 2.0.54 + asyncpg 0.31
Database PostgreSQL 16 (pgvector-ready) · Alembic 1.20 migrations
Vector Search JSON-array cosine (LIVE) → native pgvector ANN (PLANNED)
Cache / Queue Redis 7-alpine · Celery 5.6.3 (opt-in worker)
LLM Serving Ollama — qwen2.5:7b (generation) + nomic-embed-text (384-dim embeddings)
Managed Providers OpenAI / Gemini / Anthropic / Azure OpenAI (FUTURE)
Agent Orchestration MVP linear runtime (LIVE) → LangGraph state graphs (PLANNED)
Indexing MVP pypdf/parser pipeline (LIVE) → LlamaIndex orchestration (PLANNED)
Auth Argon2id + dual JWT (HS256, 15-min access / 7-day rotating refresh cookie)
Rate Limiting slowapi — auth 10/min · default 200/min (Redis + in-memory fallback)
API REST /api/v1 · OpenAPI 3.1 at /docs · SSE streaming
Tenancy Column-level workspace_id + X-Workspace-Id · RLS (FUTURE)
Observability structlog JSON logs · audit_logs · usage analytics · health endpoints
Chunking CHUNK_SIZE 800 · CHUNK_OVERLAP 160 · MAX_DOCUMENT_CHARS 2,000,000
MCP Transport SSE JSON-RPC (enabled) · stdio rejected for safety
Deployment docker compose up — nginx, frontend (3000), backend (8000), worker, postgres (:5433), redis (:6380), ollama (:11434)
Security No arbitrary execution · calculator AST whitelist · SSRF posture on MCP · production guards
Streaming Protocol SSE events: meta → delta* → done → data: [DONE]
Plans Community (Free) · Developer ₹2,499/mo · Team ₹8,499/mo · Business ₹20,999/mo · Enterprise (Custom)
Company MageTech Solutions
AI Forge — Demo Document

View the complete product documentation below.

Loading PDF...
PDF viewing only — downloading is restricted
Related Products

You May Also Like

MTS AI WhatsApp CRM
Free 3 Months
₹4,999.00 /mo after trial
MTS Laravel RBAC Package
₹4,999.00 ₹2,999.00

Need Help Choosing?

Our team is ready to help you find the perfect solution for your business.

Get a Free Quote
Chat with us