All projects
Live demoAI & ML

ChatGPT Agent Platform

Custom AI agent with an Instruction Manager and one-line website embed

Own product · built end to end

Website embed
1 line
Models
OpenAI / Gemini
Instructions
Versioned

Overview

A production-pattern AI agent that follows a structured library of business instructions compiled into a layered, prioritised system prompt. Non-technical staff add, test, publish and roll back instructions from an admin console, and the agent drops into any website with a single script tag.

The challenge

Businesses want an AI assistant on their site that follows their own rules, but most chatbots need a developer for every wording change and can make things up when unsure.

How it works

Staff manage a library of business instructions in an admin console, with draft, test, publish and one-click rollback; each instruction has automated tests graded by an AI reviewer. The agent combines them into a layered, prioritised prompt, uses function calling for live prices, lead capture and human handoff, and follows "never guess" rules. It embeds on any website with one script tag and runs on OpenAI or Gemini.

What I built

  • Draft, test, publish workflow with version history and one-click rollback
  • Per-instruction automated test suite graded by an AI reviewer
  • Function calling for live prices, lead capture and human handoff, with "never guess" fallback rules
  • Model-agnostic: OpenAI or Google Gemini, switched with one setting

Architecture

Server-side API proxy keeps keys off the browserShadow DOM widget for style isolationSSE streamingVersioned instruction store

Tech stack

Node.jsExpressOpenAI APIGeminiFunction callingSSEVercel
Related serviceAI Chatbot Developer for WebsitesNeed something like ChatGPT Agent Platform? See how I work on ai chatbot developer.