Jasper John Cinatad
← All work

Agent platform

Run, watch and approve AI agents from a browser.

Role
Senior Full-Stack & AI Engineer
Where
Promota.ai
When
2025 to now
Built with
Go, Next.js, AWS Amplify, React Flow, Fastify, SQLite, QuickJS (WASM)
Access
Proprietary work for Promota.ai. Source and internal tools are private.
Sketch of an agent folder next to an operator console with a workflow list and an approval prompt.
Illustration Illustration I drew of the idea. Grey bars stand in for private content.

Problem

Promota wanted operators, not engineers, to run AI agents. But the agents lived in terminals, YAML files and API keys, so every run needed an engineer nearby.

What I built

Three pieces that fit together. An operator intranet where staff pick a workflow and watch the agent work. Yui, a Go agent framework where each agent is a folder on disk. And Threadline, a visual editor for multi-step workflows.

How it works

  • Opening a workflow from the 21-workflow catalog starts only that agent, with streamed chat, traces, citations and a confirmation gate before risky steps.
  • Staff sign in with Google Workspace. Runner credentials and gateway tokens stay on the server and never reach the browser.
  • In Yui an agent is a directory: a manifest, instructions, and folders for skills, subagents, schedules, tools and evals. Tools carry a risk level, and unknown tools default to high.
  • Untrusted code runs in a fail-closed sandbox: sandbox-exec on macOS, Bubblewrap on Linux.
  • Threadline has 21 node types on a React Flow canvas. Drafts save even when incomplete; graph rules (one input, one output, no cycles) are checked at run time. Code nodes run in a QuickJS WASM worker with no network or filesystem and a 32 MiB memory cap.
Shape of a Yui agent
my-agent/
  agent.yaml
  instructions.md
  skills/
  subagents/
  schedules/
  tools/
  evals/

$ yui run

Outcome

  • 21 workflows in the operator catalog.
  • Yui: 101 commits and 12 merged pull requests.
  • Threadline: 21 node types, parallelism configurable from 1 to 8 (default 4).