Skip to content

jacob-git/aeg-intent-gate-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aeg-intent-gate-starter

Starter app for gating AI tool calls before they reach real executors.

Live demo: https://aeg-intent-gate-starter.pages.dev

It shows:

  • OpenAI-style function calls
  • browser approval queue
  • email.send requires approval
  • refund.create requires approval
  • user.delete is blocked
  • approved commands route to a fake executor

Run

npm install
npm start

Open:

http://localhost:3344

Deploy To Cloudflare Pages

This starter includes a Cloudflare Pages Functions entrypoint in functions/[[path]].js.

Use these settings when connecting the GitHub repo to Cloudflare Pages:

  • Framework preset: None
  • Build command: npm ci
  • Build output directory: public
  • Root directory: /

Preview locally with Wrangler:

npm run pages:dev

Deploy manually:

npm run pages:deploy

Why This Exists

Do not send raw model tool calls directly to application code. Gate them first, then let executors accept only approved command objects.

Releases

No releases published

Packages

 
 
 

Contributors