AI Personal Learning
and practical guidance

Open Canvas: code editing collaborative canvas, open source version of OpenAI Canvas/Claude Artifacts

General Introduction

LangChain presents Open Canvas, an open-source web application designed to enhance the document editing and collaboration experience with built-in dual-agent memory functionality and integrated smith to observe full execution details. The platform is inspired by OpenAI's "Canvas" but improved in several ways. Users can start with an existing document and utilize the multiple editing tools and memories provided by the platform to easily create and iterate on content.

Open Canvas: collaborative canvas for document editing, similar to OpenAI Canvas/Claude Artifacts-1


 

Function List

  • open source: All code for the front-end, content generation agent, and reflection agent is open source and under the MIT license.
  • Built-in memory function: The platform comes with a reflection agent that can save users' style rules and insights in a shared memory store.
  • Multi-language support: Users can choose the programming language they are familiar with for editing.
  • Existing Documentation to Get Started: Allows users to start from an existing text or code editor rather than from scratch.
  • free of charge: Users can use the deployed version for free, or clone the repository to deploy it themselves.

 

Using Help

Installation process

  1. clone warehouse: First, clone the Open Canvas repository and go to the catalog.
    git clone https://github.com/langchain-ai/open-canvas.git
    cd open-canvas
    
  2. Installation of dependencies: Install all dependencies using Yarn.
    yarn install
    
  3. Configuring Environment Variables: Reproduction .env.example The contents of the file go to the .env file and set the desired values.
    LANGCHAIN_TRACING_V2=true
    LANGCHAIN_API_KEY=your_api_key
    ANTHROPIC_API_KEY=your_api_key
    OPENAI_API_KEY=your_api_key
    KV_REST_API_URL=your_api_url
    KV_REST_API_TOKEN=your_api_token
    LANGGRAPH_API_URL=your_api_url
    
  4. Starting the Development Server: Run the following command to start the development server.
    yarn dev
    

    Then open it in your browser localhost:3000 Interact.

Guidelines for use

  1. Creating a new document: Click on the "New Document" button on the home page and select the text or code editor.
  2. edit a document: Use the toolbars in the editor for text formatting, inserting code blocks, etc.
  3. Preservation and Memory: During the editing process, the platform automatically saves the user's style rules and insights, making it easier to continue editing next time.
  4. collaboration function: Invite other users to co-edit documents and view changes and comments in real time.
  5. Exporting Documents: After you finish editing, you can export the document to a variety of formats, such as PDF, Markdown, and so on.
AI Easy Learning

The layman's guide to getting started with AI

Help you learn how to utilize AI tools at a low cost and from a zero base.AI, like office software, is an essential skill for everyone. Mastering AI will give you an edge in your job search and half the effort in your future work and studies.

View Details>
May not be reproduced without permission:Chief AI Sharing Circle " Open Canvas: code editing collaborative canvas, open source version of OpenAI Canvas/Claude Artifacts

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish