feat: OpenAGI Lux Kernel App #64
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
openagiPython template for the OpenAGI Lux computer-use model.index.tsfor CLI visibility, including a newOAGI_API_KEYenvironment variable for deployment.kernel_handler.pyfor action mapping,kernel_provider.pyfor screenshot capture/resizing, andkernel_session.pyfor browser session management.main.pyorchestrates the OpenAGI agent using Kernel's computer controls.Description
This PR introduces a new Python template for integrating the OpenAGI Lux computer-use model into the
create-kernel-appCLI. It provides a starter project that leverages Kernel's computer controls for browser automation with OpenAGI's Lux vision-language model. The changes include adding the template files, updating the CLI'sindex.tsto register the new template, and providing necessary helper modules for session management, screenshot capture, and action handling.Implementation Checklist
Testing
Docs
Visual Proof
Related Issue
Fixes KERNEL-648
Additional Notes
This template provides a robust foundation for developers to quickly get started with OpenAGI Lux for computer automation within the Kernel ecosystem. It includes detailed
README.mdinstructions for quick setup and deployment.Note
Adds a Python
openagitemplate for OpenAGI Lux computer-use and wires it into the CLI with deploy/invoke samples andOAGI_API_KEYsupport.openagitemplate attemplates/python/openagiimplementing OpenAGI Lux integration with Kernel Computer Controls:main.pyorchestratesAsyncDefaultAgentwith screenshot/action providers.kernel_session.pymanages browser lifecycle;kernel_provider.pycaptures/resizes screenshots;kernel_handler.pymaps Lux actions to Kernel controls.README.md,_gitignore, andpyproject.toml(addskernel,oagi,Pillow).index.ts):openagitemplate (name/description), sample invoke, app namepython-openagi, and deploy command requiringOAGI_API_KEY.Written by Cursor Bugbot for commit aa54ab8. This will update automatically on new commits. Configure here.