Local LLM Ollama RAG pgvector MCP LangGraph LlamaIndex AI Gateway Agentic AI

MageTech AI Forge

Engineer AI. Build Intelligence.

Build production-ready AI systems with local LLMs, RAG, MCP, intelligent agents and AI engineering infrastructure — a local-first, knowledge-true alternative to generic chatbots.

0embedding dims
0chunk / 160 overlap
0min access token
0req/min rate limit

Scroll to explore · Use the sidebar to jump to any section · Works offline

Overview

What is MageTech AI Forge?

MageTech AI Forge is an AI engineering and agentic systems platform. It gives developers, technical teams and businesses the infrastructure to turn their own documents and systems into grounded, secure, working AI — not just another chat window.

An engineering foundation, not a toy

AI Forge is built as AI engineering and infrastructure: knowledge bases, retrieval, agents, tool orchestration and a provider gateway are first-class platform services — designed to be embedded in your products and operations, with APIs you own.

It is the foundation for future MageTech intelligent products and for your own AI applications.

Local-first, by design

Your AI infrastructure can run on your own hardware via Ollama. Models, embeddings and document processing can stay inside your perimeter — reducing dependency on external AI APIs and keeping more control over your data.

Security still depends on how you deploy and operate the platform. We never claim something is “100% secure”.

Not a generic chatbot

A chatbot answers from a model's general knowledge. AI Forge answers from your knowledge, grounded in your documents, cites its sources, and can act — calling tools in your systems through guarded, permissioned MCP tool bridges.

Not just a no-code builder

Beyond click-to-build assistants, AI Forge exposes real engineering surface area: REST APIs, OpenAPI docs, model registry, executions and observability — so AI becomes part of your architecture, run and governed like software.

Why local-first AI matters

Local models mean your queries and documents need not leave your environment. Lower per-call cost, better data control, offline-capable development.

Why RAG matters

Retrieval-Augmented Generation connects the model to your documents — reducing hallucination and giving every answer traceable sources.

Why MCP matters

The Model Context Protocol standardizes how AI tools talk to external systems — one protocol instead of one-off integrations.

Why agentic workflows matter

Agents can retrieve, reason and act across tools — turning AI from an answering engine into an executor of multi-step tasks.

Why an AI Gateway matters

One provider layer (now Ollama; later OpenAI, Gemini, Anthropic) means model choice is a configuration decision, not an architectural rewrite.

Who it is for

Business owners, CTOs, developers, AI engineers, knowledge managers, IT teams and enterprises who need AI built on their knowledge and their rules.

Technical definition (expand)

Category: AI Engineering & Agentic Systems Platform. Core components: document ingestion → chunking → embeddings → semantic search → context assembly → LLM completion; an agent runtime with runs & executions; MCP server/tool management over SSE; and an LLMClient gateway resolving auto | ollama | mock providers with a 30-second availability cache and graceful degradation. Everything is multi-tenant per workspace and exposed through versioned REST APIs with OpenAPI documentation.

How it differs from conventional AI applications (expand)
  • Grounded — answers cite real sources from your knowledge bases instead of free-form generation.
  • Procedural control — tool calls are permissioned; no unrestricted shell, OS or arbitrary code execution is permitted through AI tools.
  • Ownership — your knowledge, your models (via Ollama), your deployment (Docker Compose), your telemetry.
  • Future-proofed — managed providers (OpenAI/Gemini/Anthropic) slot in behind the same AI Gateway when you choose to add them.

The Why

The Problem: knowledge is scattered, AI is generic

Most organizations face the same twelve obstacles. Generic AI fails at the answer, and hard-coded point solutions fail at the architecture.

Knowledge lives in documents

PDFs, wikis, SOPs, manuals and chats are spread across folders, drives and tools.

People can’t find what exists

Employees waste hours re-finding information the company already owns.

Generic AI doesn't know you

General-purpose chatbots have no access to your products, processes or history.

Data privacy concerns

Uploading sensitive material to external AI services is risky or disallowed.

Vendor / API dependency

Locking core workflows to one AI vendor exposes you to price and policy swings.

Repetitive manual work

Summaries, follow-ups, lookups and triage still consume team-hours daily.

Disconnected systems

CRM, ERP, helpdesk and documents don’t talk to each other — or to AI.

Hard to integrate AI

Teams spend months wiring models, vector stores and tooling together.

No AI governance

Poorly understood tools, un-audited answers and no revocation path.

No central AI foundation

Every team reinvents prompting, retrieval, rate limits and security.

No tool-control surface

Granting an AI access to systems without permissions, scoping or approval.

No execution visibility

When an AI-induced action goes wrong, there’s no trail of what it did.

How AI Forge answers this. One platform that ingests your knowledge (RAG), runs your agents with full execution records (AgentOps), connects guarded tools (MCP), keeps models local (Ollama via the AI Gateway), isolates tenants (workspaces) and is engineered — not stitched together.

Platform

Platform Overview

Three pillars feed one engine. Knowledge, the AI runtime and MCP tools converge on an AI Gateway that speaks to your models and your database.

Layer-by-layer explanation (expand)
  • Knowledge + RAG — you upload documents (PDF, TXT, Markdown, CSV). They are parsed, chunked (~800 chars, 160 overlap), embedded and made searchable. Chat answers are grounded in retrieved chunks and cite sources.
  • AI Runtime — agents hold instructions, tools and memory; each run is recorded as an execution with steps, model, tool calls, latency and token usage (AgentOps).
  • MCP — servers expose tools over SSE; each tool can be enabled/disabled and invoked through a JSON-RPC call with permission boundaries. stdio servers are not supported; there is no unrestricted shell or arbitrary code execution.
  • AI Gateway — a single LLMClient interface. Today it resolves Ollama (auto), Ollama or a deterministic mock. Future managed providers plug in here.
  • Data & search — PostgreSQL stores application state; Redis backs rate limits and background queues. Semantic retrieval today uses cosine similarity over vector embeddings; native pgvector column store is planned.

Product

Core Features

Eight capability areas, built as platform services. Filter by pillar — Knowledge, Runtime, Tools or Platform — and expand any card for implementation detail.

AI Chat

Conversational, context-aware answers streamed token-by-token, grounded in your knowledge with visible source references and full conversation history.

Available
Inside
SSE streaming (meta → delta → done), knowledge-based answers, per-message citations, conversation persistence per user and workspace.
Knowledge Bases

Create knowledge bases, upload and organize documents, process them, search across them, and attach metadata and versions for reuse.

Available
Inside
Per-workspace KBs; PDF/TXT/MD/CSV parsing; document list/detail/chunk preview; reprocess; delete. Metadata fields and version history mature with document intelligence milestones.
RAG Engine

Document ingestion → text extraction → cleaning → chunking → embeddings in PostgreSQL-adjacent vector store → semantic search → context builder → cited answer.

Available
Inside
Chunking 800 chars / 160 overlap; embeddings via Ollama nomic-embed-text (384-d); similarity ranking (cosine); source attribution in every answer. Native pgvector column store is planned (see RAG pipeline).
AI Agents

Create and configure agents with instructions, knowledge bases, memory and tools; run them as recorded executions with versioning and monitoring.

Available
Inside
Agent CRUD, per-agent runs, execution records, grounding context from KCs, tool activation. LangGraph graph workflows are planned (see roadmap).
AgentOps & Executions

Every agent run yields an execution: status, steps, model used, tool calls, latency, errors, token usage and audit information — built-in observability, no separate stack.

Available
Inside
Execution list & detail endpoints (/executions), usage analytics (/usage), model attribution. Deeper memory & full trace dashboard planned.
MCP Servers & Tools

Register MCP servers, discover their tools, enable/disable them per workspace and invoke them through a standardized, guarded JSON-RPC interface.

AvailableMore tools planned
Inside
Server & tool management over SSE; built-in tools (memory, calculator, current time); no stdio servers; external business connectors planned/future (CRM, ERP, helpdesk, ServiceFlow).
Secure Tool Access

Tools are permissioned, scoped and audit-logged; unrestricted shell, OS or arbitrary code execution through AI tools is not permitted.

Available
Inside
Per-tool enable/disable; workspace scoping; invocation records; secrets never exposed to the model prompt; prompt-injection protections.
Local AI

Ollama runs LLM + embedding models locally — private inference, local document processing, reduced external API dependency, lower marginal cost.

Available
Inside
Models: qwen2.5:7b, nomic-embed-text. Model registry with sync & pull endpoints; app model CRUD for your chosen alternatives.
AI Gateway

Provider abstraction so model strategy is a config toggle, not a rewrite: Ollama today, OpenAI / Gemini / Anthropic tomorrow, same application architecture.

Ollama + mockOpenAI/Gemini/Anthropic future
Inside
LLMClient with provider resolution LLM_PROVIDER=auto|ollama|mock, availability probe (/api/tags, 30s cache), deterministic mock for dev/CI, token accounting per stream.
Identity & Tenancy

Signed-in, role-aware, tenant-isolated: JWT access + rotating refresh tokens, Argon2id password hashing, and workspace isolation via X-Workspace-Id.

AvailableRBAC enforce →
Inside
Access token 15 min HS256, refresh 7 days in HttpOnly cookie scoped to /api/v1/auth/refresh. Role model + refresh blacklist + settings system are in the planned milestone.
Usage & Models

Track token usage, model inventory and sync state; multi-model registry so teams can standardize on the models that work.

Available
Inside
Usage analytics endpoint, model registry CRUD + sync + pull, per-workspace accounting, OpenAPI schema at /docs.
Background Processing

Async task infrastructure via Celery + Redis for heavy jobs such as document chunking and embedding — ready to scale ingestion off the request path.

BuiltOpt-in
Inside
Celery worker service with a real documents.process task; DISABLED by default (use_celery=false) so single-node setups run inline with zero extra moving parts.

Product

How the customer uses AI Forge

From account to acting agent — the twelve-step journey, in customer-friendly language.

Create Account

Sign up with email and password. Passwords are hashed with Argon2id — a memory-hard standard — and logins are rate-limited.

Technical: POST /api/v1/auth/register → JWT access (15 min) + refresh (7 days) issued.

Create Workspace

Your own tenant boundary. Knowledge, agents, conversations, tools and models stay isolated per workspace.

Technical: X-Workspace-Id header selects the active workspace.

Create Knowledge Base

Name it, describe it, assign it to the workspace — a home for your documents.

Upload Documents

Product docs, SOPs, handbooks, manuals, support material. PDF, TXT, Markdown, CSV accepted.

Documents Processed

The platform extracts text and cleans it. Status is tracked per document so you always know where things stand.

Embeddings Generated

Content is chunked (~800 chars) and each chunk is embedded into vectors — meaning, made machine-searchable.

Technical: nomic-embed-text → 384-dim vectors.

Ask AI Questions

Chat streams answers and shows the sources behind them.

RAG Retrieves Knowledge

Your question is embedded and matched against your chunks by semantic similarity — not keyword guessing.

AI Generates Answer

The model composes an answer grounded in retrieved context, with citations you can verify.

Create Agent

Give an agent a mission: instructions, which knowledge to use, which tools to hold, what memory to keep.

Connect MCP Tools

Register an MCP server, discover its tools and enable the ones this agent may use.

Agent Performs Actions

The agent retrieves, reasons and acts — every execution captured for review and audit.

Developer path. Every step above is also accessible through REST APIs with OpenAPI docs at /docs — embed any of these capabilities in your own product.

Interactive

Real Customer Demo Workflow

A guided, simulated walkthrough — the exact interaction a customer experiences. Demonstration/example

Setup — “Company Knowledge” base (simulated upload)

Product docs

Service catalog, modules, features

SOP documents

Standard operating procedures

Employee handbook

Policies & guidelines

Service manuals

Equipment & maintenance

Technical docs

API & integration reference

Support material

Troubleshooting & FAQs

User: “What is MageTech ServiceFlow?”
MageTech ServiceFlow is the field-service management solution that lets service businesses manage customers, equipment, jobs and technicians from one place. src: product-brochure.pdf §1 · service-modules.md §2
User: “What are the available service modules?”
Available modules include Work Order Management, Scheduling, Technician Dispatch, Parts & Inventory, Invoicing and Customer Portal. Documentation marks Dispatch as the newest module. src: service-modules.md §3 · roadmap-2026.md
User: “Which services require follow-up?”
Follow-up is required for repair jobs that completed with open status (parts on back-order) — 12 jobs in the current cycle. The platform runs the same query against your structured jobs data via a tool, not just static documents. src: sop-service-followup.pdf §4 · tool: get_due_services

Then an agent takes an action — tool loop

Usercommand
Agentplans
LangGraphgraph (planned)
MCP Toolget_due_services
Business SystemServiceFlow
Result12 records
Agentsummarizes
Useranswer + citation

Demo disclosure. This workflow is a demonstration/example. LangGraph orchestration and the ServiceFlow business connector are planned; today’s agent runtime executes recorded runs with MCP tool calls over SSE.

Use Cases

Industries & customer use cases

AI Forge is industry-agnostic by design: knowledge + retrieval + agents + tools fit any sector that runs on documents and processes. Filter by industry.

SaaS & Software Companies
  • · Product knowledge assistant
  • · Developer documentation assistant
  • · Support automation
  • · Internal knowledge assistant
IT Services
  • · Technical knowledge base
  • · Ticket analysis
  • · Troubleshooting assistant
  • · Internal support
Manufacturing
  • · SOP assistant
  • · Equipment documentation
  • · Maintenance knowledge
  • · Quality documentation
Healthcare
  • · Internal knowledge management
  • · Document intelligence
  • · Administrative workflows
Compliance Deployments require appropriate security, privacy and regulatory controls (e.g., HIPAA-type obligations where applicable).
Finance
  • · Internal knowledge
  • · Policy search
  • · Document analysis
  • · Workflow automation
Compliance Sensitive financial use cases require appropriate security and compliance controls.
Education
  • · Course knowledge assistant
  • · Research assistant
  • · Institutional knowledge
Retail
  • · Product knowledge
  • · Customer support
  • · Internal operations
Service Businesses
  • · Customer knowledge
  • · Equipment / service history
  • · Technician assistance
  • · Service follow-ups
  • · Business insights
Legal
  • · Document search
  • · Internal knowledge
  • · Case-document assistance
Advisory AI output should not replace professional legal judgment or review.
Enterprise
  • · Internal AI platform
  • · Knowledge intelligence
  • · AI automation
  • · Enterprise integrations
  • · Private / local AI

Use Cases

Who benefits — and how

Eight audiences, eight different wins. Every persona gets a concrete outcome, not a feature list.

Business Owner

Automates repetitive work, surfaces business knowledge instantly and keeps AI cost under control with local models.

CTO

Gets an architecture they can defend: tenant isolation, provider abstraction, API surface, audit trail, scaling path and private/live options.

Developer

Consumes REST APIs + OpenAPI docs, builds on MCP, configures agents and rides on a gateway that hides provider SDK churn.

AI Engineer

Controls models, embeddings, retrieval quality and agent workflows; evaluates and inspects executions via AgentOps telemetry.

Knowledge Manager

Owns the knowledge bases: uploads, organizes, version-rolls documents and watches retrieval quality improve.

Operations Manager

Automates follow-ups, lookups and reporting through agents — cutting manual ticking and chasing.

IT Team

Runs it in Docker Compose, controls access, isolates tenants and owns governance (RBAC enforcement arriving in MVP-3).

Enterprise Architect

Plans an internal AI platform: private/local AI, business integrations (planned), OAuth2 connectors (planned), audit + compliance posture.

Technology

Technical Architecture

A pragmatic, modern stack — battle-tested building blocks chosen for control, privacy and developer velocity. Browse each tier, then open the technical view.

Next.js 16 + React 19

App Router, SSR/streaming, module pages for chat, agents, knowledge, MCP, models, usage and executions.

Tailwind CSS v4 + shadcn-style UI

Design-system components (button, card, badge, avatar) built on class-variance-authority and tailwind-merge. TypeScript, TanStack Query, Zod 4.

Python 3.12 + FastAPI

Async API with REST under /api/v1 and OpenAPI docs at /docs. Pydantic 2, SQLAlchemy 2 async + asyncpg.

Services & routers

Auth, chat, knowledge, agents, MCP, models, usage, execution, dashboard. Versioned, typed, rate-limited.

Ollama + Hugging Face ecosystem

Local inference for generation (qwen2.5:7b) and embeddings (nomic-embed-text). Model registry with sync & pull.

AI Gateway (LLMClient)

Provider abstraction auto|ollama|mock, availability cache, deterministic mock for dev/CI, token accounting.

LangGraph — planned

Stateful agent graphs (state machine, checkpoints) for Phase 4 orchestration.

LlamaIndex — planned

Indexing/retrieval orchestration for advanced document intelligence (Phase 4).

PostgreSQL 16

Async SQLAlchemy + Alembic migrations; pgvector extension provisioned; pg_dump-ready backups.

Redis 7

Rate-limit storage, Celery broker + result backend, application cache (DB 0 app / DB 1 celery).

Celery + Redis workers

Async jobs (e.g., document chunking/embedding) ready off the request path. Deliberately opt-in (use_celery=false) so single-node setups run inline with no extra machinery.

Identity & crypto

JWT access (15 min) + refresh (7 days, HttpOnly cookie), Argon2id password hashing, PyJWT.

Protection

slowapi rate limits (auth 10/min, default 200/min), CORS allowlist, secure headers, input + file validation.

Tenancy

Workspace isolation via X-Workspace-Id; role model defined; RBAC enforcement is the planned MVP-3 milestone.

Observability

Execution records, usage analytics, /api/v1/health (incl. vector-search & MCP component status), request IDs, audit entries.

Full technical descriptions (expand)
FrontendNext.js 16.3.5 · React 19.2.8 · TypeScript · Tailwind CSS v4 · shadcn-style UI · TanStack Query · Zod — progressive, typed, streaming-ready.
BackendPython ≥3.12 · FastAPI · Pydantic 2 · SQLAlchemy 2 (async) · Alembic · httpx — async-first REST + SSE under /api/v1.
AIOllama (qwen2.5:7b, nomic-embed-text) · LLMClient AI Gateway · LangGraph & LlamaIndex planned · MCP over SSE.
DatabasePostgreSQL 16 with pgvector extension provisioned · Redis 7 · pg_dump/WAL-ready backups.
ProcessingCelery (opt-in) + Redis broker for document processing tasks.
InfrastructureDocker + Docker Compose (postgres, redis, ollama, backend, worker, frontend) — single-command environment.
SecurityJWT + refresh tokens · Argon2id · RBAC (roles defined; enforcement planned) · rate limiting · CORS · secure headers · audit logging · input/file validation · prompt-injection protections.

Deployment. The whole platform runs with docker compose up from infrastructure/docker — Postgres, Redis, Ollama, API, worker and frontend — the same footprint from laptop to VPS to private cloud.

Technology

RAG Pipeline

How a raw document becomes a grounded, cited answer — every stage animated below.

DocumentPDF · TXT · MD · CSV
Text Extractionparser
Cleaningnormalize
Chunking800 / 160 overlap
Metadatasource, section
Embeddingnomic-embed-text · 384d
pgvectorvector store
Semantic Searchcosine similarity
Context Buildertop chunks
LLMqwen2.5:7b
Answer + Sourcescitations

Ingestion

Documents are parsed, cleaned and chunked (~800 chars, 160 overlap) so each chunk is self-contained and searchable.

Embedding

Every chunk becomes a 384-dim vector capturing meaning — enabling semantic (not keyword) matching.

Retrieval → Answer

Your question is embedded, ranked against stored vectors, and the best context is assembled for the model — with sources.

Honest status note (expand)
RAG is Available today: embeddings are stored and searched by cosine similarity in the application layer. Native pgvector column storage + ANN indexing is the planned MVP-4 milestone (extension already provisioned); health reporting distinguishes “vector search unavailable vs live” accordingly.

Technology

Agent Engine

An agent turns a request into a traced sequence: state, retrieval, tool use, result — then a final response. Execution metadata only; no hidden chain-of-thought is exposed.

User Request“Which services need follow-up?”
Agent Runtimerecorded run
LangGraphorchestration (planned)
Reasoning / Statemessage + tool state
Knowledge RetrievalRAG context
MCP Toolget_due_services
External Systembusiness data
Tool Result12 records
Agent composesgrounded answer
Final Responseanswer + citations

State & memory

Each run carries its own state: instructions, retrieved context, tool state and memory of prior turns.

Tools & errors

Tool calls are permissioned and recorded; failures surface as safe error metadata, not raw stack traces.

Approval & security

Tools are enable/disable per workspace; high-risk actions and audits are tracked; no free-form code execution.

Safety & transparency. We deliberately do not expose hidden chain-of-thought. Observability shows what the agent did — state, tool calls, results, latency, model, tokens, errors — which is what you can audit.

Technology

MCP & Tools

The Model Context Protocol gives AI systems a standard, secure way to interact with tools and external systems — one protocol instead of one-off integrations.

Example tools

A sample tool registry your MCP servers could expose:

search_knowledgeget_documentget_product_informationget_system_statuscalculatorcurrent_datetimeget_customerget_service_historyget_service_jobsget_due_servicescreate_followup

Permissions & security

  • Tools are discovered from servers and enabled individually per workspace.
  • Invocation happens over SSE via JSON-RPC tools/call — auditable and scoped.
  • Built-in tools today: memory · calculator · current date/time.
  • stdio servers are not supported; remote SSE servers are the model.
  • AI Forge does not permit unrestricted shell, OS or arbitrary code execution through AI tools.
Requestneeds a tool
Agentchooses
Permissionworkspace check
MCP ServerSSE JSON-RPC
Business APIexecuted action
Audited Resultlogged
Worked example — invoke a tool (expand)
POST /api/v1/mcp/tools/call   HTTP/1.1
X-Workspace-Id: ws_demo

{ "name": "get_due_services",
  "arguments": { "window_days": 7 } }

Technology

Security & Privacy

Security is designed in, not bolted on. Each control below protects real outcomes for your business.

Authentication

Email + password with JWT access tokens (15 min) and rotating refresh tokens (7 days) in an HttpOnly, SameSite=Lax cookie scoped to the refresh path.

Available
Password storage

Argon2id — a memory-hard hashing standard that resists GPU brute-forcing.

Available
Tenant isolation

Workspaces partition knowledge, agents, conversations, tools and models. Every entity is workspace-scoped; the X-Workspace-Id header selects the tenant.

Available
Authorization (RBAC)

Role model with rank ordering is defined. Route-level RBAC enforcement is the next milestone — today, protection is workspace ownership + per-object guards.

Enforcement planned
Rate limiting

Token-bucket limiting per client key: auth 10/min, default 200/min — powered by Redis with in-memory fallback.

Available
Headers & validation

Secure headers, CORS allowlist, input & file validation on uploads — sizing limits bound ingestion cost and abuse surface.

Available
Prompt-injection protection

Documents are treated as untrusted data; build-time and run-time controls reduce prompt-injection risk, with documented residual risk.

Available
Tool permissions

MCP tools are enable/disable per workspace; high-risk & external actions are audited; no shell/OS/arbitrary code execution is permitted.

Available
Audit logs

Executions, tool calls, usage and system events are recorded — a trail of what the AI did, when, and why.

Available
Encryption & secrets

TLS at the proxy; secrets via env/config validation (validate_production() enforces rotated secrets); secrets never placed in model prompts.

Available
Backup & recovery

Postgres-native backups (pg_dump/WAL) with restore drills in the production checklist; Alembic migrations for versioned schema.

Available
Access control roadmap

Planned: refresh-token blacklist, settings system, SSO/OAuth2 connectors and expanded RBAC surface.

Planned

Customer benefit. You get identity, isolation and audit built in — so AI features meet the same standard you already hold your other systems to, without a separate security project.

Technology

Data privacy / Local-first AI

The entire AI stack can run on your hardware. That changes what “sending data to the cloud” means — for the better.

Ollama, locally

Generation and embedding models run in-process with your infrastructure — no third-party inference service required.

Local embeddings

Documents are embedded on-site (nomic-embed-text, 384-d), so raw content never needs to leave your perimeter to be searched.

Local processing

Parsing, chunking and quality control happen in your environment, with your policies.

Reduced API dependency

Fewer external AI calls means lower per-token exposure, steadier cost and tolerance to vendor outages.

You choose the model

The AI Gateway keeps the door open to managed providers (OpenAI, Gemini, Anthropic) — planned — while local models remain the default.

Data control advantage

Keep knowledge, analytics and audit records inside your estate, aligned with internal and regulatory expectations.

Honest framing. Local-first reduces external dependency and improves data control, but it is not a guarantee of absolute privacy or security. Actual protection depends on how you deploy, configure and operate the platform.

Technology

Integrations

Integrations are tiered by reality. Green is running today, blue is under build, purple is future direction — nothing is implied production-ready before it exists.

Available running today · Planned in the build pipeline · Future direction

Current architecture

PostgreSQL

Primary relational store.

Available

pgvector

Vector extension provisioned; native columns planned.

Native search planned

Redis

Rate limits, queues, caching.

Available

Ollama

Local models + embeddings.

Available

MCP

Tool protocol over SSE.

Available

Future AI providers

OpenAI

Plugs into the AI Gateway behind LLMClient.

Future

Google Gemini

Plugs into the AI Gateway behind LLMClient.

Future

Anthropic

Plugs into the AI Gateway behind LLMClient.

Future

Business integrations

Webhooks

Outbound event delivery into your systems.

Planned

OAuth2 connectors

Two-legged connector credentials for business APIs.

Planned

MageTech ServiceFlow

Customers / equipment / jobs / technicians bridge.

Future direction

CRM · ERP

Customer & order context for agents.

Future direction

Helpdesk

Ticketing context + auto-triage.

Future direction

Business APIs

Any reachable HTTP API, exposed as guarded MCP tools.

Future direction

Business

MageTech ServiceFlow — powered by AI Forge

How AI Forge can eventually power intelligent features inside MageTech ServiceFlow. Demonstration scenario

MageTech AI Forgeplatform
AI Gatewayprovider layer
Agent Runtimerecorded executions
MCPguarded tools
MageTech ServiceFlowfuture connector
Customers · Equipment · Jobs · Techniciansbusiness objects

Tap a question to preview a simulated answer

User: Which customers have service due this week?
Simulated preview — the agent would retrieve customer/job records via MCP tools, then summarize with citations. tools: get_customer · get_due_services · simulated

Demo disclosure. These questions and answers are demonstration scenarios. The ServiceFlow connector is future direction; the underlying agent + MCP runtime for such flows is what exists today.

Business

Business Value

Value you can defend in a board meeting — no invented statistics. Where illustrative targets appear, they are clearly labeled.

Faster knowledge discovery

Seconds to find the right answer, with sources, instead of hours of digging. (Illustrative target: lookup time in minutes → seconds.)

Reduced repetitive work

Summaries, follow-ups, status checks and triage move from human keystrokes to agents with audit trails.

Better internal productivity

Teams stop re-answering the same questions and re-finding the same documents.

Improved customer support

Faster, consistent, knowledge-backed answers for customers and internal support staff.

AI-assisted operations

Operational agents (follow-ups, due checks, summaries) run in the background, on schedule.

Centralized knowledge

One governed home for institutional knowledge — searchable, versioned, attributed.

Reduced AI vendor dependency

Local models keep core value flowing even when external APIs are down or repriced.

Developer productivity

APIs, OpenAPI docs and MCP tooling mean teams build on the platform, not rewire it.

Enterprise AI foundation

An internal AI platform that grows from knowledge assistant to full agentic automation.

Metrics policy. This document does not fabricate outcomes. Quantified benefits you see anywhere are labeled example or target; real numbers come from measuring your deployment.

Pricing

Platform pricing that scales with AI engineering

We price AI Forge as an AI engineering & agentic platform — not a chatbot. Local LLM inference is included when you run with your own infrastructure; third-party model costs are billed separately by the respective provider. Prices are indicative USD list prices.

Monthly billing · convert to annual for 2 months free on paid plans.

Community

For developers, students, experimentation and POCs.

$0per month · free forever
  • 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
Start free
Developer

For individual developers and AI builders.

$29per month
  • Everything in Community
  • 5 projects · 1–3 users
  • Unlimited knowledge bases
  • 25 agents · 25 MCP tools
  • Advanced RAG · agent memory
  • LangGraph workflows · agent execution history
  • Agent testing · API access · AI Gateway
  • Document source citations · Basic AgentOps
  • Custom prompts · Email support
Choose Developer
Business

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

$249per month
  • 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
Choose Business
Enterprise

For larger organizations requiring private AI infrastructure and full control.

CustomContact sales
  • 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
Contact sales

AI model usage. Local LLM inference is included when you run MageTech AI Forge with your own infrastructure (Ollama). Third-party model/API costs are billed separately by the respective provider — we do not bundle or inflate cloud inference into platform pricing.

FeatureCommunityDeveloperTeamBusinessEnterprise
Monthly$0$29$99$249Custom
Users131025Unlimited
Projects1520UnlimitedUnlimited
Knowledge bases1UnlimitedUnlimitedUnlimitedUnlimited
Agents325UnlimitedUnlimitedUnlimited
MCP tools325UnlimitedUnlimitedUnlimited
RAGBasicAdvancedAdvancedAdvancedCustom
AgentOpsBasicBasicAdvancedAdvancedEnterprise
MemoryBasicYesYesYesYes
API accessYesYesYesYes
RBACBasicYesAdvancedEnterprise
SSOYesYes
Audit logsYesYesYes
Private deploymentYesYesYesYesYes
On-premiseYes
SupportCommunityEmailPriorityPriorityDedicated

A clean progression: Free → Developer → Team → Business → Enterprise. Free for POCs, Team is the sweet spot for most teams, Business adds SSO and scale, Enterprise is fully private and on-premise. We keep the public tier structure simple and add self-hosted licensing separately.

Self-hosting

Self-hosted software licensing

Because self-hosting is core to AI Forge, we separate the software license from your infrastructure. You bring the hardware (GPU/CPU, PostgreSQL, Redis, Ollama or local models, storage, networking); we provide the software and support.

EditionPriceWhat you get
CommunityFreeSelf-hosted Docker, Community support
Developer License$299 / yearEmail support, commercial use
Team License$999 / yearPriority support, MCP allowlists, audit logs
Business License$2,499 / yearSSO, advanced RBAC, deployment assistance
EnterpriseCustomOn-prem, SLA, dedicated support, security reviews

MageTech provides the AI Forge software and support under the license; you own and operate your infrastructure.

India

India pricing (INR)

Localized pricing for the Indian market. USD remains the primary international price; INR is an approximate regional equivalent.

PlanUSDApprox. INR
Community$0₹0
Developer$29 / mo₹2,499 / mo
Team$99 / mo₹8,499 / mo
Business$249 / mo₹20,999 / mo
EnterpriseCustomCustom

India pricing shown is indicative and subject to confirmation. Annual billing applies where noted.

Why separate pricing? It keeps economics safe: local inference is included on your own infrastructure, cloud inference is metered by the provider, and the software license is priced like the AI infrastructure market — open core at the base, enterprise capabilities and support sold separately.

Business

Feature comparison

AI Forge against the alternatives — generic chatbots and one-off AI features. Scroll horizontally on small screens.

CapabilityChatbotNo-code BuilderAI Forge
AI Chat
Knowledge Bases⚠️ limited
RAG with citations⚠️
Local LLM (Ollama)
Agents + executions
MCP tool protocol⚠️
AI Gateway (proxy)
Memory⚠️⚠️
AgentOps (observability)⚠️
API access + OpenAPI⚠️
Integrations (SSE/HTTP)⚠️✅ MCP
RBAC🔵 planned
Audit logs⚠️
Advanced security⚠️✅**
Enterprise support⚠️🧩 planned

✅ = available · ⚠️ = partial · 🔵 = roadmap · 🧩 = planned tier. ** Advanced security = tenant isolation, rate limits, validation, tool permissions, audit, prompt-injection controls (advanced RBAC is roadmap).

Interactive

Demo scenarios

Five complete customer demos — problem, setup, workflow, interaction, expected result, business value and architecture. Simulated examples

Business problem

Teams can’t find answers buried in product and policy documents.

Setup

One knowledge base, product docs uploaded.

Workflow

Upload → process → embed → ask → cited answer.

User interaction

“How do I enable SSO?” → answer with sources.

Expected result

Instant, accurate, source-backed answers.

Business value

Faster onboarding, self-service support, single source of truth.

Technical architecture

RAG pipeline: parse → chunk (800/160) → embed (384-d) → semantic search → context → LLM.

Available today

Business problem

Support tickets repeat the same troubleshooting steps.

Setup

Knowledge base + a support agent with tool access.

Workflow

Knowledge → agent → troubleshoot → response with steps.

User interaction

“VPN connects but pages time out” → diagnostic path + fix.

Expected result

First-line resolution with documented steps and citations.

Business value

Lower ticket time, consistent answers, measurable CSAT.

Technical architecture

Agent runtime + RAG retrieval + recorded execution.

Available today

Business problem

Service teams chase due jobs and follow-ups by hand.

Setup

ServiceFlow business data + MCP tool bridge (future) + agent.

Workflow

Customer data → MCP → agent → service information/action.

User interaction

“Show overdue service jobs and draft follow-up messages.”

Expected result

List + drafted follow-ups with audit trail.

Business value

Automated follow-ups, fewer missed renewals.

Technical architecture

Agent + MCP tools over SSE → business API. ServiceFlow connector is future direction.

Demonstration

Business problem

Research across scattered knowledge is slow and uncited.

Setup

Research knowledge base + tool-using agent.

Workflow

Knowledge + tools → research workflow → summarized result.

User interaction

“Compare our three pricing plans’ coverage options.”

Expected result

Structured comparison with per-fact sources.

Business value

Analyst-grade summaries in minutes, not days.

Technical architecture

RAG + multi-tool agent; LangGraph graphs and LlamaIndex orchestration are roadmap.

Core todayOrchestration planned

Business problem

Employees need private internal answers without sending data to external AI.

Setup

Company documents → private/local AI (Ollama) → employee assistant.

Workflow

SSO-style access → ask → grounded, private answers.

User interaction

“What’s our remote-work policy on equipment?”

Expected result

Policy-accurate answers staying fully in-perimeter.

Business value

Data-stays-home AI for regulated or conservative environments.

Technical architecture

Local Ollama + RAG in Docker Compose; tenant isolation; RBAC/SSO at Enterprise tier (roadmap).

Available today

Try Demo 1 live. Open the simulated chat to feel the streaming + citation experience in context.

Business

Implementation journey

A pragmatic path from knowledge to enterprise automation. Status markers separate what exists today from what is planned.

Available today · Planned · Future direction

Phase 1 · Knowledge + RAG

Ingestion, chunking, embeddings, semantic search, cited chat.

Available

Phase 2 · MCP + Tools

Server/tool management, permissioned calls over SSE.

Available

Phase 3 · Agents + Workflows

Agents, runs, executions, usage analytics, model registry.

Available

Phase 4 · Memory + AgentOps

LangGraph stateful graphs, LlamaIndex orchestration, richer trace dashboards (usage analytics live today).

Planned

Phase 5 · Enterprise Security

RBAC enforcement, refresh blacklist, settings system.

Planned

Phase 6 · Business Integrations

Webhooks, OAuth2 connectors, ServiceFlow/CRM/ERP bridges, managed AI providers.

Future direction

Current capabilities

Multi-tenant workspaces, RAG chat with citations, agents + executions, MCP tools, Ollama + AI Gateway, usage analytics, rate limits, OpenAPI APIs.

Next up (MVP-3/MVP-4)

RBAC enforcement, refresh-token blacklist, settings, native pgvector column store + ANN indexing, webhooks, OAuth2 connectors.

Future direction

LangGraph + LlamaIndex orchestration, MCP SDK companion, managed AI providers (OpenAI/Gemini/Anthropic), packaged business integrations.

Resources

Customer FAQ

Straight answers to the questions customers actually ask.

What is MageTech AI Forge?

An AI engineering and agentic systems platform — local-first infrastructure for building RAG knowledge systems, MCP tools, intelligent agents and AI-powered automation, plus the AI Gateway and AgentOps to run it in production.

Who is it for?

Developers, technical teams, business owners, CTOs, knowledge managers and enterprises — anyone who needs AI grounded in their own knowledge and connected to their systems.

Is it a chatbot?

No — it is an engineering platform. Chat is one module; the value is the knowledge, agents, tools, gateway and APIs underneath it.

What is RAG?

Retrieval-Augmented Generation: the model retrieves your relevant document chunks first, then composes an answer grounded in them, with sources you can verify.

What is MCP?

The Model Context Protocol — a standard way for AI systems to securely interact with tools and external systems through a single, permissioned interface.

Can it use local AI models?

Yes. Ollama runs generation (qwen2.5:7b) and embedding (nomic-embed-text) models locally — private inference without third-party APIs.

Does it require paid AI APIs?

No. With local models it runs free of per-token API fees. Paid managed providers (OpenAI, Gemini, Anthropic) are future gateway options if you choose them.

Can businesses use their own documents?

Yes — that is the core model. You create knowledge bases and upload PDF, TXT, Markdown and CSV; the platform turns them into searchable, citable knowledge.

Can it connect to business systems?

Through MCP servers and tools today for tool-driven access; packaged connectors (webhooks, OAuth2, ServiceFlow, CRM/ERP) are planned/future.

Is it multi-tenant?

Yes — workspaces isolate knowledge, agents, conversations, tools and models per tenant, selected via the X-Workspace-Id header.

Can developers access APIs?

Yes. Versioned REST APIs under /api/v1 with OpenAPI docs at /docs — chat, knowledge, agents, MCP, models, usage and execution endpoints.

Can it run on private infrastructure?

Yes — Docker Compose deploys everything (Postgres, Redis, Ollama, API, worker, frontend) on your own hardware or cloud.

What security features are available?

JWT auth + rotating refresh tokens, Argon2id, tenant isolation, rate limiting, CORS + secure headers, validation, tool permissions, prompt-injection controls and audit logging. RBAC enforcement is roadmap.

Can it integrate with MageTech ServiceFlow?

The architecture is designed for it (agents + MCP → business data). The ServiceFlow connector itself is future direction and shown only as a demonstration scenario.

What models can it support?

Any Ollama-served model today (defaults qwen2.5:7b + nomic-embed-text). Managed providers become gateway options in the future.

Can it scale for enterprise?

The architecture separates services (API, worker, DB, Redis) for horizontal scaling and Celery offloads heavy processing — with an opt-in switch today and enterprise hardening on the roadmap.

How is AI usage monitored?

Usage analytics track token counts and model usage; AgentOps records every execution — status, steps, tool calls, latency, errors and model — plus workspace-level accounting.

Resources

Technical glossary

The vocabulary you’ll hear, translated.

LLM

Large Language Model — a neural network trained to generate human-like text from context.

Local LLM

An LLM served on your own hardware (e.g., via Ollama) instead of a third-party API.

RAG

Retrieval-Augmented Generation: grounding answers in retrieved knowledge with citations.

Embeddings

Dense numeric vectors that capture the meaning of text for similarity search.

Vector Database

A store optimized for similarity search over embeddings.

pgvector

PostgreSQL extension adding vector columns and ANN indexing.

MCP

Model Context Protocol — standardized AI↔tool communication over JSON-RPC/SSE.

Agent

A system that retrieves, reasons and acts across tools to complete tasks.

Agent Runtime

The layer that executes agents and records every run.

LangGraph

Library for stateful, graph-based agent orchestration (planned here).

LlamaIndex

Library for indexing/retrieval orchestration (planned here).

Ollama

Local model server running open LLMs and embeddings on your machine.

AI Gateway

Abstraction layer (LLMClient) that isolates the platform from provider SDKs.

AgentOps

Observability for agents: executions, steps, model, tools, latency, tokens, errors, audit.

Semantic Search

Meaning-based retrieval over embeddings (vs literal keyword matching).

Tool Calling

Model structured requests to invoke registered tools — permissioned and logged.

Prompt Injection

Attempts to override an AI’s instructions via untrusted input; mitigated with control layers.

Multi-Tenancy

One platform serving many isolated tenants (workspaces here).

RBAC

Role-based access control: permissions by role (enforcement is roadmap here).

Getting Started

Ready to Engineer AI?

Eight steps from “hello” to a working AI feature.

1Request Demo

Walk the platform with MageTech.

2Define Use Case

Pick the problem and success measure.

3Connect Knowledge

Upload the documents and KBs.

4Configure AI

Choose local models via the AI Gateway.

5Build Agent

Instructions, memory, grounding.

6Connect Tools

Register MCP servers, enable tools.

7Test

Run executions and review agent ops.

8Deploy

Ship on Docker Compose, yours or ours.

Talk to MageTech Explore Architecture
# Self-host the whole platform on your own hardware
git clone https://github.com/magetech-solutions/aiforge.git
cd aiforge
docker compose -f infrastructure/docker/docker-compose.yml up -d

# API + OpenAPI docs live here once up
#  API:  http://localhost:8000/api/v1/health
#  Docs: http://localhost:8000/docs
# 1) Register and get tokens
curl -X POST http://localhost:8000/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email":"demo@mage.tech","password":"ChangeMe#2026"}'

# 2) Upload a document to your knowledge base
curl -X POST http://localhost:8000/api/v1/knowledge/documents \
  -H "Authorization: Bearer $TOKEN" \
  -F "knowledge_base_id=YOUR_KB" -F "file=@service-manual.pdf"

# 3) Ask a grounded question (streaming)
curl -N -X POST http://localhost:8000/api/v1/chat/stream \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"message":"What is MageTech ServiceFlow?"}'

Company

About MageTech Solutions

MageTech Solutions builds the intelligent products behind this demo. MageTech AI Forge is the AI engineering platform in the family — the foundation that powers knowledge, agents and automation.

“Engineer AI. Build Intelligence.”

This section describes the organization and its product family at a high level. It intentionally contains no invented statistics, certifications, customers or achievements.

Product family

MageTech Solutionsorganization
MageTech AI ForgeAI engineering platform
MTS AI Agent Studioagent assembly & studio
MageTech ServiceFlowfield-service solution

The relationship above is an organization-level illustration. Product details of sibling products are outside the scope of this document.