Skip to content

Editor: Added agent#30761

Draft
mrdoob wants to merge 13 commits into
devfrom
agent
Draft

Editor: Added agent#30761
mrdoob wants to merge 13 commits into
devfrom
agent

Conversation

@mrdoob
Copy link
Copy Markdown
Owner

@mrdoob mrdoob commented Mar 20, 2025

Description

I thought it would be interesting to try to add an agent to the editor.

This is how it currently looks like:

Screen.Recording.2025-03-20.at.15.30.19.mov

Currently I'm building it using @google/genai.

Ideally we would just use the AI that comes with the browser using the Prompt API:
https://developer.chrome.com/docs/extensions/ai/prompt-api

@mrdoob mrdoob added this to the r175 milestone Mar 20, 2025
@ruofeidu
Copy link
Copy Markdown
Contributor

Nice! Time to InstructPipe / Idea2Reality to three.js :) https://duruofei.com/papers/Zhou_InstructPipe-BuildingVisualProgrammingPipelinesInVisualBlocksWithHumanInstructionsUsingLLMs_CHI2025.pdf

Comment thread editor/js/Agent.js Fixed
mrdoob and others added 2 commits March 24, 2025 22:18
…rt, function or class

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Comment thread editor/js/Agent.js Fixed
Comment thread editor/js/Agent.js Outdated

// Initialize Google AI
const ai = new GoogleGenAI( { apiKey: 'GENAI_API_KEY' } );
const ai = new GoogleGenAI( { apiKey: 'AIzaSyAHEPxUn9Ow4Lk8oXM4jl3u_stzOIxkkGM' } );
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrdoob any problem on exposing this key?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was exposing it intentionally, but seems like githack doesn't like serving stuff with keys...

@mrdoob mrdoob modified the milestones: r175, r176 Mar 28, 2025
@mrdoob mrdoob modified the milestones: r176, r177 Apr 24, 2025
@mrdoob mrdoob modified the milestones: r177, r178 May 30, 2025
@mrdoob mrdoob modified the milestones: r178, r179 Jun 30, 2025
@mrdoob mrdoob modified the milestones: r179, r180 Aug 1, 2025
@mrdoob mrdoob modified the milestones: r180, r181 Sep 3, 2025
@mrdoob mrdoob modified the milestones: r181, r182 Oct 31, 2025
@mrdoob mrdoob modified the milestones: r182, r183 Dec 10, 2025
@mrdoob mrdoob modified the milestones: r183, r184 Feb 18, 2026
@mrdoob mrdoob modified the milestones: r184, r185 Apr 16, 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.

4 participants