AI/MLStarted 2026

ASE

An Electron and TypeScript agentic harness unifying local and cloud models, MCP, multi-model teams, sandboxed tools, automations, traces, and an AWS gateway.

TypeScriptElectronReactModel Context ProtocolAWS BedrockOllama
ASE project preview
Role
Lead Engineer and Product Builder
Duration
Ongoing
Development Began
2026
Status
Active Development

Evidence at a Glance

4
Provider Routes

Anthropic, AWS Bedrock, OpenAI-compatible endpoints, and local Ollama models share one product surface.

7,400+
Named Automated Tests

The current repository contains 7,438 test declarations across 454 test and spec files.

3
Electron Trust Boundaries

A privileged main process, typed preload bridge, and sandboxed React renderer keep authority explicit.

Overview

ASE, the Agentic Simulation Engine, is an Electron and TypeScript desktop harness for applied AI work. It brings Anthropic, AWS Bedrock, OpenAI-compatible providers, and local Ollama models into one project-oriented environment without reducing the product to a generic chat wrapper.

The privileged Electron main process owns the agent loop, filesystem, shell, credentials, model providers, MCP connections, and durable session state. A typed preload contract exposes only intended operations to the sandboxed React renderer, where users work across sessions, files, diffs, plans, previews, permissions, traces, and artifacts.

Around that core are multi-model teams, subagents, skills, plugins, MCP over local and remote transports, scheduled routines, checkpoints, cost controls, and an AWS-backed institutional gateway. The result is a packaged desktop product whose execution can be inspected and governed rather than an opaque model call behind a polished interface.

The Challenge

Agent harnesses combine two difficult surfaces: providers disagree on streaming, reasoning, tool calls, context, caching, and accounting, while the product itself is allowed to read files, run commands, connect tools, and modify a real workspace.

That makes trust and recovery product requirements. A useful harness must stay responsive during long runs, preserve enough state to resume or rewind work, and make permissions, tool intent, token use, cost, and file mutations understandable to the person supervising it.

Key Engineering Decisions

01

Keep Privilege in the Main Process

Filesystem, shell, credentials, providers, and agent execution stay behind a typed IPC boundary; the renderer remains a sandboxed view over explicit capabilities.

02

Normalize Providers Without Erasing Them

A shared provider contract supports model switching, while provider-specific context, caching, reasoning, and subscription behavior remain visible where they materially affect a run.

03

Gate Capability Through Trust and Intent

Workspace trust, declarative rules, permission prompts, command intent, and OS-level confinement combine instead of relying on a single allow/deny switch.

04

Make Execution Inspectable

Per-turn traces record model and tool calls, file and command activity, approvals, tokens, cost, tests, and rollback information so failures can be reconstructed.

What I Owned

Built the Electron main, preload, and React renderer architecture around a typed IPC contract.
Implemented the agent loop, provider adapters, tool registry, permissions, context management, sessions, skills, plugins, memory, and MCP OAuth.
Added multi-model coordinator, thinker, worker, and verifier roles, plus subagents and worktree-isolated Best-of-N execution.
Shipped run traces, checkpoints, diffs, previews, automations, document artifacts, cost controls, and packaged desktop updates.
Connected the desktop client to an AWS gateway for institutional authentication, entitlements, usage, shared model access, search, and published artifacts.
Backed the current codebase with more than 7,400 named automated tests across unit, integration, IPC, renderer, gateway, and end-to-end surfaces.

Results

One packaged desktop environment can drive local, subscription-backed, and cloud inference while preserving project context and tool access.
New providers and MCP servers enter through defined boundaries rather than requiring product-wide rewrites.
Long-running and multi-agent work leaves behind inspectable state, artifacts, measurements, and recovery points instead of only a final transcript.

Valuable Lessons

Provider interoperability is useful only when the surrounding tools, permissions, context, and artifacts travel with the model choice.

A capable agent is also a security and observability system; every new power needs a clear authority boundary, audit trail, and recovery story.