Skip to content

RFC: Rename "Think" to "Assistant" and export from agents.#1726

Open
cpojer wants to merge 1 commit into
cloudflare:mainfrom
cpojer:assistant
Open

RFC: Rename "Think" to "Assistant" and export from agents.#1726
cpojer wants to merge 1 commit into
cloudflare:mainfrom
cpojer:assistant

Conversation

@cpojer

@cpojer cpojer commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

This is an RFC to consider positioning and naming for the agents package and "Think" class. This PR is a non-breaking change to re-export "Think" as "Assistant" directly from agents.

In recent days I've tried to talk about or write about Think, and it generally fits poorly into sentences and breaks my brain. I was wondering, what is "Think" really, and could it be part of the agents package itself? This led me to add it to the agents package as an Assistant, which is a layer on top of Agent which is already there. It provides a more natural migration from an agent to an assistant, even though I realize that the mapping of what Think is does not 100% map to Assistant.

No hard feelings if you don't like it, or if it was already considered and decided against, but thought I'll open an RFC to discuss.

@changeset-bot

changeset-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 709fca4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
agents Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@1726

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@1726

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@1726

create-think

npm i https://pkg.pr.new/create-think@1726

hono-agents

npm i https://pkg.pr.new/hono-agents@1726

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@1726

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@1726

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@1726

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@1726

commit: 709fca4

@threepointone

Copy link
Copy Markdown
Contributor

I could be convinced of this, but I'd hold off until Think is a bit more stable (we have a bunch of api changes incoming).

@threepointone threepointone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

blocking so we can revisit later

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