Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Added agent #30761

Draft
wants to merge 10 commits into
base: dev
Choose a base branch
from
Draft

Editor: Added agent #30761

wants to merge 10 commits into from

Conversation

mrdoob
Copy link
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
Contributor

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

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>
async init() {

// Initialize Google AI
const session = new GoogleGenAI( { apiKey: 'GENAI_API_KEY' } );

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable session.
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.

2 participants