← Nazad na početnu
Open source · Apache-2.0 · Na vašoj infrastrukturi · Bilo koji model

Vaša AI. Na vašim serverima. Po vašim pravilima.

MATE je open-source platforma za AI agente koju pokrećete sami: na svom serveru, sa modelima koje birate, uključujući lokalne. Podaci, ključevi i trag svake odluke ostaju kod vas, a svaka spoljna zavisnost je opciona i vidljiva.

Instalirajte sami
Apache-2.0
Ceo kod, bez licence po korisniku
GitHub
zvezdica na GitHub-u
2.500+
automatskih testova
Račun2IPS · Rig Master
u produkciji na MATE-u
Mate Work Room
01 — Šta je vaše

Šest stvari koje ostaju u vašim rukama

Za svaku: kako MATE to radi i gde to piše u dokumentaciji.

Podaci

Razgovori, agenti, memorija i logovi su u vašoj bazi (SQLite, PostgreSQL ili MySQL) i u vašim backup-ima.

Dokumentacija →

Modeli

Bilo koji provajder ili lokalni model preko Ollame, po agentu. Grupa modela označena „samo sopstveni serveri“ nikad ne zove spoljni servis.

Dokumentacija →

Ključevi

Svaki workspace unosi svoje ključeve za modele. Čuvaju se šifrovano i više se ne prikazuju, ni u izvozu.

Dokumentacija →

Kod

Cela platforma je open source pod Apache-2.0. Nema licence po korisniku ni naplate po tokenu, a kod možete da menjate.

Dokumentacija →

Kočnica

Budžeti u tokenima ili dolarima po korisniku, agentu i projektu, koji upozoravaju ili zaustavljaju. Osetljiv alat čeka da ga čovek odobri.

Dokumentacija →

Trag

Dnevnik revizije za izmene, prijave i odbijen pristup, log guardrail-a i svaka odluka o odobrenju, čuvani onoliko koliko vi odredite.

Dokumentacija →
02 — Zavisnost

Kad AI radi na tuđoj platformi, pravila piše neko drugi

💸

Računi koje ne kontrolišete

Naplata po korisniku ili po tokenu raste sa upotrebom, a cenu određuje dobavljač.

🗄️

Podaci kod dobavljača

Razgovori i dokumenti prolaze kroz tuđe servere, pod tuđim ugovorom i tuđom jurisdikcijom.

🔗

Vezanost za jednu platformu

Agenti, promptovi i istorija ostaju u formatu jednog dobavljača, a promena modela ili platforme znači seobu.

⚖️

Propisi koji traže dokaz

EU AI Act i zakoni o zaštiti podataka pitaju gde su podaci i ko je šta odobrio, a odgovor morate moći da pokažete.

03 — Kako radi

Od laptopa do potpuno lokalnog rada

Isti MATE, tri načina rada. Počnite malo, a kad pređete na veću instalaciju, agente prenesete izvozom i uvozom.

Laptop ili jedan server Jedan Docker image i SQLite. Radi za nekoliko minuta.
Firma PostgreSQL ili MySQL, prijava preko Google-a ili GitHub-a i workspace za svaki tim ili klijenta, sa svojim članovima, ključevima i budžetima.
Potpuno lokalno Modeli preko Ollame ili vašeg OpenAI-kompatibilnog servera, u grupi „samo sopstveni serveri“. Pozivi modela ne napuštaju vašu mrežu. Profil sa Ollama-om, jednom docker compose komandom →

Šta i dalje izlazi napolje, i kako to isključiti

  • Pozivi modela, kad izaberete cloud provajdera. Sa lokalnim modelima ostaju u mreži.
  • Semantička pretraga memorije pravi embedding-e podrazumevano na Gemini-ju. EMBEDDING_MODEL bira drugi model.
  • File Search čuva dokumente u Google-ovom Gemini File Search-u. Ne uključujte ga za podatke koji ne smeju napolje. Sopstveno skladište vektora u bazi je u planu.
  • Pretraga weba i browser: samo za agente kojima ih date.
  • Prijava preko Google-a ili GitHub-a, Slack, Discord, email i webhook-ovi: samo ako ih podesite.
  • Dashboard u browseru učitava neke biblioteke i fontove sa javnih CDN-ova (jsDelivr, cdnjs, Google Fonts). Razgovori tamo ne idu. Izuzetak je Dart kod sa Work Room canvas-a, koji se pokreće na dartpad.dev.
  • Pri pokretanju LiteLLM skida cenovnik modela sa GitHub-a. Ništa vaše se ne šalje, a LITELLM_LOCAL_MODEL_COST_MAP=True to isključuje.
  • Nama ne ide ništa. MATE nema sopstvenu telemetriju.
Ceo spisak, sa podešavanjem za svaku vezu →
04 — U produkciji

Ne prezentacija, nego aplikacije koje ljudi koriste

Račun2IPS

Slikate račun ili otvorite PDF i dobijete IPS QR kod za plaćanje m-bankingom. Podatke sa računa čita MATE agent, koga aplikacija zove preko OpenAI-kompatibilnog API-ja.

Saznajte više →

Rig Master

Asistent za gitarski zvuk: za pesmu i vašu opremu daje tačne položaje potenciometara. Podešavanja predlaže MATE agent, preko istog API-ja.

Saznajte više →

Ubistvo u vili

Igra u kojoj su osumnjičeni MATE agenti sa guardrail-ima, a pokušaj da ih izvučete iz uloge deo je igre. Zaštita u radu, uživo.

Mogućnosti

Šta Mate radi

Visual Agent Builder

Drag-and-drop React Flow kanvas za kreiranje hijerarhija agenata. Povezivanje alata, MCP servera, pretrage fajlova i memorijskih blokova direktno na kanvasu, uz uvoz i izvoz JSON konfiguracija.

Model po izboru

Google Gemini, OpenAI, Claude, OpenRouter, Mistral, DeepSeek, Groq, lokalni modeli preko Ollame i sve ostalo što LiteLLM podržava. Model se bira za svakog agenta posebno, a svaki workspace može da koristi sopstvene ključeve.

MCP protokol & Widget

Potpuna integracija Model Context Protocol-a i ugradivi chat widget za sajtove. Widget Admin panel omogućava netehničkim timovima da ažuriraju uputstva i fajlove bez pristupa kodu.

Workspace-ovi & enterprise sigurnost

Više klijenata ili odeljenja na jednoj instalaciji, svako u svom workspace-u. Google i GitHub prijava (OAuth 2.0 / OIDC), uloge (RBAC), ključevi šifrovani u bazi i append-only dnevnik revizije kao evidencija za EU AI Act.

Work Room & Code Canvas

Interaktivni chat interfejs kao podrazumevana radna soba. Code Canvas automatski pokreće HTML/JS/CSS/SVG kod direktno u browseru, kao i Python (putem WASM-a) i Flutter bez backend kompajlera.

Okidači, evaluacije i Playground

Autonomno pokretanje agenata putem cron-a i potpisanih webhook-ova. Ugrađen okvir za evaluaciju (tačno podudaranje, semantička sličnost, LLM-as-Judge) sa obaveštenjima o regresiji, i Playground koji poredi 2–3 varijante agenta po oceni, brzini i ceni.

Sve mogućnosti, detaljno
🏠

Work Room

Default landing page for chat with any agent. Persistent sessions, streaming responses (SSE), and markdown rendering.

🖥️

Code Canvas

Built-in editor that automatically executes HTML/JS/CSS/SVG in-browser, Python via WASM, and Flutter/Dart via DartPad.

🔐

SSO - Google & GitHub

Native OAuth 2.0 / OIDC login with PKCE. Auto-provisions users, assigns RBAC roles, and enforces domain restrictions for enterprise.

🏢

Workspaces

Many organisations (clients, departments) on one installation. Each workspace has its own members, projects, agents, budgets and logs; its owner invites people and sets their roles. A test checks that no dashboard route shows another workspace's data.

🔑

Keys per workspace

Each workspace can pay for its own model calls: its owner enters a key for Google, OpenAI, Anthropic, OpenRouter, DeepSeek, Mistral, Groq or xAI, or the address of their Ollama server. The key is stored encrypted and never shown again.

🧪

Eval Framework

Test suites per agent: exact match, semantic similarity, and LLM-as-Judge. Automatic webhook regression alerts if score drops.

⚡

Trigger Engine

Cron and webhook triggers (with signed requests) run agents fully autonomously. Output goes to memory blocks, HTTP, or email.

🛡️

Guardrails & Safety

PII redaction, prompt injection detection, and LLM-as-judge hallucination scoring with custom threshold and fail-open controls.

📋

EU AI Act Audit Trail

Audit logs for all config changes, RBAC denials, and logins. Append-only structure and JSON/CSV export for compliance reporting.

🏗️

Visual Agent Builder

Drag-and-drop React Flow canvas. Create hierarchies, connect tools, MCP, and memory blocks, all inline with JSON import/export.

💬

Embeddable Widget

One script tag on any site. Widget Admin panel for non-technical teams: edit greetings, themes, colors, and RAG files.

📦

Template Library

Pre-built configs: Customer Support, Research Assistant, Code Reviewer, Content Writer. One-click import creates full project.

📸

Versioning & Rollback

Every agent change snapshots to history. Monaco diff editor to visually review differences and rollback to any version.

⏯️

Trace Replay

Play a conversation back on the Visual Builder canvas: agents light up in the order they ran, with the model and duration of each step. It shows which version of the agent answered and when a fallback model stepped in.

🔭

Cost in US dollars & Budgets

The cost of every model call per agent, project and user, next to four token types. Budgets in tokens or dollars per day or month that warn or block. OpenTelemetry and Prometheus for monitoring.

🔀

Multi-Engine Runtime

Seamlessly run agents on Google ADK or LangGraph engines. Switch runtimes via environment variable (AGENT_FRAMEWORK=langgraph) with identical UI, agents, and widget.

💬

Slack Channels & DMs

Native Slack bot integration for channels and direct messages, featuring interactive button callbacks and Slack Block Kit card formatting.

👤

Approvals (Human-in-the-Loop)

Tools listed under require_confirmation wait for approval before they run. When nobody is chatting (a trigger, the API, A2A, MCP, Slack), the request waits in the Approvals inbox. Per agent you choose who approves, where the notice goes (Slack, Discord, email, webhook) and when the request expires, and every decision stays in the history.

⚖️

Playground

Run one prompt or a whole eval suite on 2–3 variants of an agent (another model, other instructions, an older version) and compare score, reply time and cost in US dollars, without saving anything.

🔔

Alerts

Rules for agent errors, guardrail bursts, fallback-model use and budget thresholds, sent to a webhook, email, Slack or Discord.

🛟

Fallback Model

When a provider fails (timeout, 5xx, 429), the request is re-run once on a backup model and the user gets an answer instead of an error. Every fallback is logged and can trigger an alert.

🔌

OpenAI-compatible API

Any root agent exposed as a model at /v1, with a Personal Access Token. Works with OpenCode, Continue and Cline. MATE can also govern an agent you already run elsewhere.

❓

Docs & Help Agent

The documentation lives inside the dashboard, with search. A ? button on every page opens a chat with a built-in agent that reads the docs and knows which page you are on.

mate · approvals inbox
Mate Approvals inbox

Ko drži kontrolu

MATE pored SaaS agent platformi i framework-a za agente

Pitanje SaaS agent platforme Framework-ovi (LangGraph, CrewAI) MATE
Gde su podaci Uglavnom kod dobavljača Gde ih vi smestite U vašoj bazi
Modeli Iz ponude dobavljača Bilo koji Bilo koji, i lokalni, za svakog agenta posebno
Cena Po korisniku ili po tokenu Besplatno, plus vaš razvoj Besplatno (Apache-2.0), plaćate samo modele i server
Izvorni kod Zatvoren Otvoren Otvoren, cela platforma
Dashboard, uloge, audit, odobrenja, budžeti Gotovo Pravite sami Gotovo
Ako dobavljač stane Staje i vaša AI Kod je vaš Kod i podaci su vaši, i nastavljate
Regulativa

Pomoć za EU AI Act i zaštitu podataka

MATE vas sam po sebi ne čini usklađenim. Daje evidenciju i kontrole koje propisi traže.

📋

Evidencija (čl. 12)

Append-only dnevnik revizije sa izvozom u CSV i JSON, i rok čuvanja koji sami podešavate.

👤

Ljudski nadzor (čl. 14)

Osetljivi alati čekaju da ih čovek odobri, iz dashboard-a ili iz Slack-a, a za svaku odluku se beleži ko i kada.

💬

Transparentnost (čl. 50)

Obaveštenje da korisnik razgovara sa AI prikazuje se podrazumevano svuda gde je agent javan.

🔒

Lični podaci (ZZPL, GDPR)

Podaci su u vašoj bazi, a guardrail-i prepoznaju lične podatke i mogu da ih maskiraju ili blokiraju.

EU AI Act u MATE-u

From zero to running in one afternoon

STEP 01

Run & Configure

Run the published Docker image (ghcr.io/antiv/mate), or clone the repo and run docker-compose up. Set an API key and a password.

STEP 02

Design Agent Tree

Use the Visual Builder to create your agent hierarchy. Drag, connect, configure — no code.

STEP 03

Embed or Integrate

Add the widget script to client's site, or call the REST API / MCP endpoint from your app.

STEP 04

Monitor & Iterate

Use traces, audit logs, and token analytics. Clients update their own agents without calling developers.

# Fastest: the published Docker image
docker run -d -p 8000:8000 -e AUTH_PASSWORD=change-me -e GOOGLE_API_KEY=your-key ghcr.io/antiv/mate:latest

# Or from source
git clone https://github.com/antiv/mate.git && cd mate
cp .env.example .env   # set an API key + AUTH_PASSWORD
docker-compose up -d  # → open http://localhost:8000

System Architecture

Three layers, clean separation of concerns

MATE System Stack
Client Layer
Work Room (dashboard chat) Chat Widget (iframe) REST API MCP Client (Claude, Cursor) A2A Agent SSO (Google / GitHub) OpenAI-compatible API /v1
↕
MATE Core — Auth Server :8000
Auth + RBAC + SSO/OIDC Dashboard API Widget Keys MCP Manager Audit Logger (EU AI Act) Rate Limits + Budgets ($ / tokens) Guardrails + Hallucination Check Trigger Engine (cron/webhook) Eval Framework Alerts (Slack · Discord · email · webhook) Workspaces & memberships Approvals inbox
↕
Agent Runtime — ADK or LangGraph :8001
Agent Manager Tool Factory Session Manager LLM providers via LiteLLM Memory Blocks + RAG A2A Protocol OTel Tracing Code Executor Fallback Model
↕
Data Layer
PostgreSQL / MySQL / SQLite Auto-migrations (versioned) agents_config · audit_logs · test_cases eval_results · triggers · widget_keys workspaces · approval_requests Docker Compose · Standalone Binary
10 — Request Flow & Tech Stack

From user message to agent response

Request execution flow — every request
User / App
HTTP + Bearer Token / SSO Cookie
Auth Server :8000
Validate auth → check rate limit → proxy to ADK
ADK Server :8001
Get initialized agent from cache or build tree
Agent Manager
Load config from DB → recursive sub-agent init
Agent Instance
Execute with tools, memory, MCP, code executor
Execution Callbacks (every run)
Verify RBAC — role access per agent
Inject user profile into agent context
Track token usage (prompt / response / tools)
OTel trace span — LLM + tool calls + sub-agents
Guardrail check — PII, injection, hallucination score
Response
Streamed back via SSE / JSON — canvas opens for code
Foundation
Google ADK LangGraph Python 3.10+ FastAPI Authlib
LLM Providers
LiteLLM Gemini OpenAI Claude OpenRouter Mistral DeepSeek Ollama
Protocols
MCP JSON-RPC 2.0 A2A SSE OAuth 2.0 / OIDC
In-Browser Execution
Pyodide (Python WASM) DartPad (Flutter) Sandboxed iframe
Observability
OpenTelemetry Prometheus APScheduler sentence-transformers
Frontend
React Flow Ace Editor Monaco Chart.js PWA
Test Coverage
2.500+ testova

Agent management, RBAC, migrations, guardrails, CSP, costs and budgets, A2A, tracing, and more.

Probajte MATE na svom sajtu

Wizard za nekoliko minuta napravi probnog agenta od vašeg sajta, da ga odmah isprobate. Želite da MATE postavimo kod vas, na vašoj infrastrukturi? Pišite nam.

office@antonijevic.rs Nazad na početnu