Skip to content

Marimo's AI Chat is unaware of its own documentation #5379

@ericmjl

Description

@ericmjl

Describe the bug

In using the AI chat feature of Marimo, I've noticed a few times in a row that it is unaware of its own features. The screenshot below is an example where the AI assistance returns an answer that, while looking plausibly correct, won't work first-try.

Image

In this particular example, what I would have expected the AI assistance to return is the ability to use the mo.download() functionality.

Specifics aside, I think it would be awesome for Marimo if Marimo's own docs were part of a simple RAG system within Marimo. Alternatively, the more general way to handle this feature would be to implement the @source functionality that Cursor has. In either case, the effect on Marimo usability would be of chefs-kiss level!

(With all that said, I am aware that every team's bandwidth is going to be limited, so please feel free to prioritize accordingly!)

Will you submit a PR?

  • Yes

Environment

scipyconf on  main is 📦 v0.0.1 via 🐍 v3.9.6 via 🧚 v0.47.0 
❯ uvx marimo env
{
  "marimo": "0.14.0",
  "OS": "Darwin",
  "OS Version": "24.5.0",
  "Processor": "arm",
  "Python Version": "3.13.3",
  "Binaries": {
    "Browser": "--",
    "Node": "v24.2.0"
  },
  "Dependencies": {
    "click": "8.2.1",
    "docutils": "0.21.2",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.8.2",
    "narwhals": "1.43.1",
    "packaging": "25.0",
    "psutil": "7.0.0",
    "pygments": "2.19.1",
    "pymdown-extensions": "10.15",
    "pyyaml": "6.0.2",
    "starlette": "0.47.0",
    "tomlkit": "0.13.3",
    "typing-extensions": "missing",
    "uvicorn": "0.34.3",
    "websockets": "15.0.1"
  },
  "Optional Dependencies": {
    "loro": "1.5.1"
  },
  "Experimental Flags": {}
}

Code to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions