Skip to content

michael-desmond/bee-canvas

Repository files navigation

💁 📜 🐝 Bee Canvas

A co-editing agent built using Bee workflows, Granite 3.2 and ollama.

Inspired by open-canvas.

✨ Key Features

  • Generate & update co-editable artifacts (Markdown & Code)
  • Implemented using Bee Workflows 💪

✨ Agent Architecture

flowchart TD
    A[START] --> routeUserMessage
    routeUserMessage --> generateArtifact
    routeUserMessage --> rewriteArtifact
    routeUserMessage --> updateSelectedText
    routeUserMessage --> replyToGeneralInput
    generateArtifact --> followUpArtifact
    rewriteArtifact --> followUpArtifact
    updateSelectedText --> followUpArtifact
    followUpArtifact --> END
    replyToGeneralInput --> END
Loading

✨ Demo

bee_canvas.mp4

📦 Requirements

The agent uses granite3.2:8b. If you don't have granite3.2:8b pulled, run the following ollama command.

ollama pull granite3.2:8b

🛠️ Getting started

  1. Clone this repository.
  2. Install dependencies npm ci.
  3. Configure your project by filling in missing values in the .env file (default LLM provider is locally hosted Ollama).
  4. Run the agent npm run start src/cli.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published