Media, Software & TelecomProfessional Services
Spark
Multi-model AI platform for event professionals
Built the Agent Studio workflow engine, the multi-model routing and evaluation layer, and the RAG and file ingestion pipeline behind Spark, Gevme's multi-model AI platform for event professionals.
Spark: multi-model AI platform for event professionals
0.8–1.5 s
Chat time to first token (p50)
97–99%+
Agent runs without a platform error
0.85–0.95
Retrieval recall@10–20
~30–60%
Model cost saved by routing
Stack
Overview
Spark is a multi-model AI platform for event planners, marketers, venues and destination teams, built by Gevme in partnership with PCMA. It combines AI chat, more than 150 ready-made event tasks, a no-code Agent Studio and private knowledge bases for drafting event content in each team's own brand voice.
The central idea: treat AI interactions as structured workflows connected to projects, knowledge, files, users and organizations, rather than an LLM API wrapped in a chat interface.
The problem
General AI tools work well for isolated prompts but break down when event teams need repeatable workflows.
- Repeated uploads: company knowledge must be uploaded again for each tool and session.
- Fragmented models: different models require different applications.
- No reuse: complex multi-step processes cannot easily be saved and rerun.
My role
I worked on Spark as an AI engineer in Gevme's engineering team and built three areas: the Agent Studio engine, the multi-model AI layer, and RAG and file ingestion. Infrastructure and DevOps, security and compliance, monitoring and on-call, and Spark's other products (including the DestinAItor venue research tool) were team work; my services were deployed on the team's AWS infrastructure.
What I built
Agent Studio workflow engine
- Versioned workflows whose steps (AI prompt, web research, LinkedIn data, knowledge query, condition, human approval) form a dependency graph with cross-step variables.
- Durable execution on Temporal with persisted run and step states.
- Web research steps on Perplexity Sonar with stored citations, and LinkedIn steps limited to professional fields.
Multi-model AI layer
- A Vercel AI SDK model layer over GPT-4.1 and o4-mini (Azure OpenAI), Claude Sonnet 4 (Amazon Bedrock) and Gemini 2.5 (Vertex AI).
- A model catalog that routes each task family to an evaluated default, with a cross-provider fallback after retries.
- Evaluations in promptfoo, Langfuse tracing and usage events with provider cost per model call.
RAG and file ingestion
- Python ingestion workers on Temporal for documents, OCR for scanned files and Whisper transcription for audio and video.
- Structure-aware chunking into pgvector with text-embedding-3-small, keeping source, page and section metadata for citations.
- Hybrid retrieval merging pgvector and full-text results by weighted reciprocal rank fusion, filtered by organization inside the SQL.
Results
- Chat time to first token: p50 0.8–1.5 s, p95 2.5–3 s.
- Agent Studio run success: 97–99%+ of runs finish without a platform error (not counting cancellations or rejected approvals).
- Agent run time: a 4–6 step agent with web search and LinkedIn steps takes p50 20–45 s, p95 60–120 s.
- Ingestion of a 100-page PDF: 20–60 s for a native text PDF, 2–5 min for a scanned PDF with OCR.
- Retrieval recall@10–20: 0.85–0.95 on the labeled set.
- Cost per typical agent run: about $0.01–0.10; routing saves about 30–60% compared with sending every call to one large model.
- Fallback rate: 0.5–2% of model calls after retries in a normal week, 5–20% during provider incidents.
Tech stack
| Layer | Technologies |
|---|---|
| Frontend | Next.js, React, TypeScript, Storybook |
| Backend | NestJS, Node.js, Temporal (TypeScript and Python SDKs), Python workers, Chargebee |
| AI | Vercel AI SDK, GPT-4.1 / o4-mini (Azure OpenAI), Claude Sonnet 4 (Amazon Bedrock), Gemini 2.5 (Vertex AI), Whisper, LangChain.js, Guardrails AI |
| Research tools | Perplexity Sonar API, People Data Labs |
| Data | PostgreSQL + pgvector, Valkey, Amazon S3 |
| Quality | promptfoo, Langfuse, Vitest, Jest, Playwright, k6 |
| Platform (team) | AWS ECS Fargate, Pulumi, GitHub Actions, Datadog |
Related case studies


