-
Notifications
You must be signed in to change notification settings - Fork 184
docs: add Fireworks AI integration page #846
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
Open
sam-notte
wants to merge
10
commits into
main
Choose a base branch
from
docs/fireworks-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
985cbb0
docs: add Fireworks AI integration page
sam-notte 40ae2bb
docs: address review feedback on Fireworks integration page
sam-notte f1b2363
docs: add fireworks.mdx to inline-snippet exception list
sam-notte 1919eb7
docs: swap GitHub link for Notte Console, add Browser Arena
sam-notte e173eca
docs: address CTO review on Fireworks integration page
sam-notte 331ee9d
docs: humanise prose on Fireworks integration page
sam-notte aa2ec8c
use local notte
giordano-lucas 9d607b4
add llm
giordano-lucas e03d82f
update
giordano-lucas 6c63609
fix
giordano-lucas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| --- | ||
| title: 'Fireworks AI' | ||
| description: 'Run Notte browser agents on Fireworks-served open-weight models' | ||
| --- | ||
| import FireworksBasic from '/snippets/integrations/fireworks_basic.mdx'; | ||
| import AgentMdNotice from '/partials/agent-md-notice.mdx'; | ||
|
|
||
| <AgentMdNotice /> | ||
|
|
||
| [Fireworks AI](https://fireworks.ai) hosts open-weight LLMs including Kimi K2.5, GLM-5, and MiniMax M2.5. To run a Notte agent on any of them, pass the model string to `reasoning_model`. Notte talks to Fireworks through LiteLLM, so there's no extra provider setup. | ||
|
|
||
| For numbers on how these models hold up across browser-agent workloads, see the joint benchmark, [Agents Don't Fail on Intelligence. They Fail on Execution](https://fireworks.ai/blog/agent-execution-tax). | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - A Fireworks AI API key ([fireworks.ai](https://fireworks.ai)) | ||
| - Python 3.11 or later | ||
|
|
||
| ## Setup | ||
|
|
||
| ### 1. Install the SDK | ||
|
|
||
| ```bash | ||
| pip install --upgrade notte | ||
| ``` | ||
|
|
||
| ### 2. Set your API key | ||
|
|
||
| ```bash | ||
| export FIREWORKS_API_KEY=<your-fireworks-api-key> | ||
| ``` | ||
|
|
||
| ### 3. Run an agent on a Fireworks model | ||
|
|
||
| Pass the model string (formatted as `fireworks_ai/accounts/fireworks/models/<id>`) to `reasoning_model`: | ||
|
|
||
| <FireworksBasic /> | ||
|
|
||
| ## Supported models | ||
|
|
||
| Any Fireworks model with JSON-mode structured output works with Notte. Three were covered in the joint benchmark with Fireworks: | ||
|
|
||
| - Kimi K2.5: `fireworks_ai/accounts/fireworks/models/kimi-k2p5` | ||
| - GLM-5: `fireworks_ai/accounts/fireworks/models/glm-5` | ||
| - MiniMax M2.5: `fireworks_ai/accounts/fireworks/models/minimax-m2p5` | ||
|
|
||
| See the [Fireworks model catalogue](https://fireworks.ai/models) for everything else. | ||
|
|
||
| ## Resources | ||
|
|
||
| - [Joint benchmark: Agents Don't Fail on Intelligence. They Fail on Execution](https://fireworks.ai/blog/agent-execution-tax) | ||
| - [Agent Execution Tax explainer](https://notte.cc/blog/agent-execution-tax) | ||
| - [Fireworks AI](https://fireworks.ai) and the [Fireworks model catalogue](https://fireworks.ai/models) | ||
| - [Browser Arena](https://browserarena.ai): Notte's open benchmark of cloud browser providers | ||
| - [Notte Console](https://console.notte.cc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| {/* Auto-generated mdx file. Do not edit! */} | ||
| {/* @sniptest testers/integrations/fireworks_basic.py */} | ||
|
|
||
| ```python fireworks_basic.py | ||
| import notte | ||
|
|
||
| with notte.Session() as session: | ||
| agent = notte.Agent( | ||
| session=session, | ||
| reasoning_model="fireworks_ai/accounts/fireworks/models/kimi-k2p5", | ||
| ) | ||
| response = agent.run(task="Go to news.ycombinator.com and return the top three stories.") | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # @sniptest filename=fireworks_basic.py | ||
| import notte | ||
|
|
||
| with notte.Session() as session: | ||
| agent = notte.Agent( | ||
| session=session, | ||
| reasoning_model="fireworks_ai/accounts/fireworks/models/kimi-k2p5", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should be
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. auctually I just reverted to use local notte instead of notte-sdk |
||
| ) | ||
| response = agent.run(task="Go to news.ycombinator.com and return the top three stories.") | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.