client work

past projects and collaborations with clients

Artifact Engineering Inc. logo

AI agent for real-time diagram editing

Artifact Engineering Inc.

Delivered an MVP of a diagram-editing agent that accepts natural language prompts and performs real-time changes on electrical system diagrams. Built a custom chat UI, integrated a Mastra agent via CedarOS, and executed tool calls on the frontend to mutate the canvas (devices, nets, annotations) with optimistic updates and safety checks. Implemented Supabase Auth with role-based access and a minimal PostgreSQL schema for sessions, prompts, and operation logs.

Tech Stack

Next.jsTypeScriptCedarOSMastraPostgreSQLSupabase AuthTailwindCSS

Key Outcomes

  • Shipped the first integrated version of the agent into the product as an MVP
  • End‑to‑end prompt → tool‑call → diagram change flow demonstrated in a staging environment
  • Defined tool schemas and guardrails for safe canvas mutations and undo/redo hooks
  • Established structure for audit logs and observability of agent actions