Skip to main content

kernel create

Create a new Kernel application from a template. The CLI provides an interactive prompt to guide you through selecting a language and template, or you can specify all options via flags.
If any option is omitted, the CLI will prompt you interactively.

Available templates

TypeScript templates

  • sample-app — Basic template with Playwright integration for page title extraction
  • captcha-solver — Demo of Kernel’s auto-CAPTCHA solving capability
  • anthropic-computer-use — Anthropic Computer Use API sample implementation
  • openai-computer-use — OpenAI Computer Using Agent (CUA) sample implementation
  • gemini-computer-use — Google Gemini CUA sample implementation
  • stagehand — Returns the first result of a specified Google search
  • magnitudeMagnitude framework integration

Python templates

  • sample-app — Basic template with Playwright integration for page title extraction
  • captcha-solver — Demo of Kernel’s auto-CAPTCHA solving capability
  • openagi-computer-use — OpenAGI’s Lux Computer Use API sample implementation
  • anthropic-computer-use — Anthropic Computer Use API sample implementation
  • openai-computer-use — OpenAI Computer Using Agent (CUA) sample implementation
  • browser-use — Integrates the Browser Use for AI-powered web automation

Examples

Next steps

After creating your app:
  1. Navigate to the project directory:
  2. Install dependencies:
    • TypeScript: npm install
    • Python: uv venv && source .venv/bin/activate && uv sync
  3. Authenticate with Kernel:
  4. Deploy your app:
  5. Invoke your app:
Some templates require environment variables (e.g., OPENAI_API_KEY, ANTHROPIC_API_KEY). Set them using --env or --env-file flags when deploying. See kernel deploy for details.