Skip to content

Conversation

@arthursita-plank
Copy link

@arthursita-plank arthursita-plank commented Feb 3, 2026

EHR System Automation Template

This template demonstrates how to run an agentic browser workflow on Kernel to automate an Electronic Health Records (EHR) portal. It uses an Anthropic Computer Use loop with Kernel's Computer Controls API.

Logic

The automation performs the following steps:

  1. Navigate to the EHR login page (https://ehr-system-six.vercel.app/login).
  2. Authenticate using valid credentials (any email/password works for this demo).
  3. Navigate to the Medical Reports section in the dashboard.
  4. Click the Download Summary of Care button to download the report.

Quickstart

Deploy:

kernel deploy index.ts -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY

Invoke:

kernel invoke ehr-system export-report

View logs:

kernel logs ehr-system --follow

Notes

  • The login page must be publicly reachable from the Kernel browser session.
  • Update the URL in pkg/templates/typescript/ehr-system/index.ts if you host the portal elsewhere.

Requirements

  • ANTHROPIC_API_KEY environment variable set.
  • Kernel CLI installed and authenticated.

Note

Low Risk
Changes are additive and confined to new template assets plus README updates, with no modifications to existing CLI/runtime code paths.

Overview
Adds two new app templates under pkg/templates: python/lead-scraper (Google Maps lead scraper built on browser-use, with Pydantic input/output models and robust LLM-output-to-JSON parsing) and typescript/ehr-system (Anthropic computer-use style loop with a Kernel browser session manager and tool abstractions for mouse/keyboard/screenshot/scroll actions).

Updates the top-level README.md to list the new templates and show example kernel create commands for both.

Written by Cursor Bugbot for commit d9e7624. This will update automatically on new commits. Configure here.

@arthursita-plank arthursita-plank changed the title feat (template): add ehr typescript template Feat(templates): add ehr typescript template Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant