Docs/Use the WEEMS Agent

Agent

Use the WEEMS Agent

Start an agent chat, write a clear request, control project changes, and review the result.

The WEEMS Agent can explain project work, create or update notebooks and files, run calculations, and review results.

Before the first request

Select Ask before edits below the message box. The agent can inspect and explain the project, but it pauses before changing files or running work.

What can I ask the WEEMS Agent to do?

Ask it to explain, create, change, run, or review work in the project you have open.

Common requests include:

  • explain a notebook, file, chart, error, or result;
  • create or organize a notebook;
  • write, correct, or explain code;
  • analyze data and show the important findings;
  • prepare calculations, simulation steps, or a report;
  • make a small, named change to an existing file; or
  • review work and list possible mistakes without changing anything.

If a task needs a running machine, WEEMS also needs either a cloud machine or Local Compute. Running work can use compute separately from the agent conversation.

Review agent output

Agent output can be incorrect or incomplete. A qualified person should review safety-critical, regulated, financial, or other high-consequence work.

How do I start my first conversation?

1

Open the chat

Open the project you want to work on. Click Chats in the left icon bar, then click New chat. Starting inside the project helps keep the request pointed at the correct work.

2

Set the control mode

Click the control label below the message box and select Ask before edits. A new composer starts on Proceed automatically, so check this label before sending.

3

Select a model

The selected model appears below the message box. If the request does not require a specific model, leave the current selection unchanged.

4

Write and send your request

Name the result you want, the notebook or file involved, and anything that must not change. Press Enter or click the arrow button to send.

5

Review pending decisions

WEEMS shows the agent's current activity. If Plan ready or Approval Required appears, review the details before choosing Approve. Choose Reject or Deny when the proposed work does not match the request.

Example:

text
Review the notebook named Cooling Loop. Do not change anything yet. Explain why the pressure result jumps after row 20, use SI units, list your assumptions, and recommend one next step.

You will see an answer in the chat and, when relevant, a short record of files read, work run, or changes proposed.

What makes a good request?

A useful request says what you want, where to work, what rules to follow, and how you will know it is finished.

Use this quick pattern:

  1. Outcome: “Create a one-page summary of the test results.”
  2. Location: “Use the notebook named Pump Test and the file results.csv.”
  3. Rules: “Use SI units. Keep the raw data unchanged. State every assumption.”
  4. Boundary: “Change only the Summary section.”
  5. Finish line: “Include a table of the three largest differences and a short conclusion.”

Put it together like this:

text
Using @Pump Test and @results.csv, update only the Summary section. Keep the raw data unchanged, use SI units, and state every assumption. Add a table of the three largest differences and finish with a short conclusion. Check the numbers before you stop.

Type @ in the message box and choose a notebook or project file from the list when the name could be unclear. You can also open the + menu and choose Attach files or Attach images for material that is not already in the project.

If you only want advice, say “Do not change or run anything.” If the task is large, first ask for a plan, then approve one small stage at a time.

How do I use the WEEMS Agent from a cell?

The cell-level Agent action—also called Cell AI—adds one cell to an Agent conversation. In the current interface, the sparkle button is labeled Edit with AI.

1

Choose the cell content

Open the notebook and point to the cell. If text or code is highlighted, WEEMS adds that selection; otherwise, it adds the full cell.

2

Click Edit with AI

Click the sparkle button in the cell toolbar. WEEMS adds a Cell · source item to the active Agent chat and starts a chat if one is not already open.

3

Send the request

Type what the Agent should explain or change, check the control mode below the message box, and send the request.

Clicking the cell toolbar button does not send a request or change the cell by itself. It adds the cell content to the message box so you can give the Agent an instruction.

How do I edit highlighted text or code?

Highlight to edit makes a proposed replacement inside one code or text cell. The original selection remains unchanged until you accept the proposal.

1

Highlight the content

Select the exact text or code you want to replace within a single cell.

2

Open Edit with AI

Right-click the highlighted content and choose Edit with AI.

3

Describe the replacement

Enter a specific instruction, select a model if needed, then click Submit. You can also press Command+Enter on macOS or Ctrl+Enter on Windows and Linux.

4

Review the proposal

WEEMS shows the selected content as removed and the proposed content as added. Click Accept to replace the selection or Reject to keep the original. After rejecting, you can enter a different instruction.

Highlight to edit applies only to the selected range. Use the cell toolbar workflow when the request needs the whole cell or a longer Agent conversation.

What do “Ask before edits” and “Proceed automatically” mean?

The control label below the message box determines whether WEEMS pauses before the agent acts.

SettingWhat happensBest for
Ask before editsThe agent can read and explain, but it asks before changing project content or running work.First-time use, important projects, and requests that are still being clarified.
Proceed automaticallyThe agent can make changes and run work without pausing each time. Actions that cannot be easily reversed still require confirmation.Familiar, low-risk, well-defined tasks that you are ready to review afterward.

When WEEMS pauses, you may see two different cards:

  • Plan ready describes the overall approach. Choose Approve to continue, or Reject to send feedback. Approving a plan does not mean every later action is automatically safe.
  • Approval Required describes a specific action and the affected items. Choose Approve only when the action, target, and reason match your request. Choose Deny to stop that action.

Changing the control label affects requests sent with that selection. Check it again when you start another chat or return later.

What should I check after the agent finishes?

Use this one-minute check before you rely on the result:

  1. Open every file or notebook the agent says it changed.
  2. Confirm it changed only the items you named.
  3. Check the input data, units, assumptions, signs, and decimal places.
  4. Re-run an important calculation and confirm it completes without an error.
  5. Compare safety-critical or regulated work with the approved method, standard, or a qualified reviewer.

Use this follow-up request to produce a review summary:

text
Summarize exactly what you changed, what you did not check, every assumption you made, and the three things I should verify myself.

If a change is unexpected, do not continue building on it. Tell the agent what is wrong, or use the project's undo or history controls before making more changes.

How do I stop or correct the agent while it is working?

  • Correct it: Type the new instruction in the message box and send it. The agent uses the message to redirect the work in progress.
  • Stop it: When the message box is empty, click the square Stop button where the send arrow normally appears.
  • Answer it: If the chat says Plan ready or Approval Required, the agent is waiting for your choice. Approve, reject, or deny the card to continue.
  • Narrow the task: If progress is slow or unfocused, send a smaller instruction such as, “Stop after reviewing the first notebook. Do not make changes.”

Stopping prevents more work from starting, but it does not remove changes that already finished. Review the project before sending another request.

The controls below the message box determine the model and information the agent can use:

  • Model: Click the model name to see the available choices. Models vary in speed, cost, and capability. If the request does not require a specific model, keep the selected option.
  • Project file or notebook: Type @, start typing its name, and select it from the list. This is more reliable than referring to “that file.”
  • File or image from your device: Click +, then Attach files or Attach images. Wait until the attachment is ready before sending.
  • Web search: Click + and switch Web search off when you want the answer based only on your project. Web search is on when a new composer opens.

Models currently provided by WEEMS

WEEMS currently provides these nine models. Your plan controls how much WEEMS-hosted use is included.

ProviderModel shown in WEEMSCan also use your own provider key
AnthropicClaude Sonnet 5Anthropic or OpenRouter
AnthropicClaude Opus 5Anthropic or OpenRouter
AnthropicClaude Fable 5Anthropic or OpenRouter
OpenAIGPT-5.6 TerraOpenAI or OpenRouter
OpenAIGPT-5.5OpenAI or OpenRouter
GoogleGemini 3.6 FlashGoogle or OpenRouter
GoogleGemini 3.1 ProGoogle or OpenRouter
DeepSeekDeepSeek V4 FlashOpenRouter
DeepSeekDeepSeek V4 ProNo — WEEMS-provided access only

The model picker is the final list for your account. If a model in this table does not appear there, refresh the page and check your plan or saved provider key.

The model list can differ by account and by the provider keys saved in the browser. To add your own provider key, open Security from account settings, find Provider API keys, add the matching key, and click Save. The saved key stays in that browser, so clearing browser data or using another browser removes it from WEEMS.

When you use your own provider key, that provider charges your account for the model request. WEEMS compute and storage charges can still apply if the task runs a machine or stores new material.

Usage, privacy, and limits

  • Your plan controls how much WEEMS-hosted agent use is included. Longer conversations, larger material, and some model choices can use more of that allowance.
  • The chat can show the latest usage and cost near the message box after a response. Open Billing from account settings to review your plan, compute use, storage, and prepaid balance.
  • Running a notebook or calculation can use compute in addition to agent usage. See Local Compute to run the calculation on your own computer.
  • The agent may use the message, attachments, and relevant content from the current project to complete the request. WEEMS limits it to project content that your account is allowed to open.
  • Do not paste passwords, provider keys, private access details, or personal information that the task does not need.
  • When Web search is on, the agent may use information from outside the project. Ask it to show sources and dates, then check them before relying on the answer.

Provider terms may differ, especially when you use your own provider key. Follow your organization's rules for confidential or regulated information.

Troubleshooting

The model menu says No models available

Refresh the page once. If the list is still empty, check that your plan includes agent access or open Security > Provider API keys and confirm your saved key matches the provider you want to use. A saved key is available only in the browser where it was added.

The agent cannot find a notebook or file

Open the correct project, type @ in the message box, and select the exact notebook or file. If it does not appear, confirm that you can open it yourself and that it has not been renamed or deleted.

The agent appears to be stuck or waiting

Look for a Plan ready or Approval Required card in the chat. Review and respond to it. If no card appears and the status does not change, click Stop, shorten the request, and send it again.

The agent changed the wrong item

Click Stop, then state the exact file or notebook that should change and what must remain untouched. Use @ to select the target. Review undo or project history before you continue.

A notebook or calculation fails after the agent created it

Confirm a machine is running, then copy the exact error into the chat and ask the agent to explain it without changing anything. Check inputs and units before approving a fix.

The request fails before an answer appears

Check your internet connection, model selection, plan or usage limit, and any saved provider key. Retry once with a shorter request and fewer attachments. If it still fails, keep the exact error message for support.

Best practices

  1. Start with Ask before edits.
  2. Name the project item with @ instead of saying “this” or “that.”
  3. Include units, limits, and anything that must remain unchanged.
  4. Ask for one clear result at a time.
  5. Review changed work before approving the next step.

FAQ

Can I ask for an explanation without changing anything?

Yes. Say, “Explain this without changing or running anything,” and use Ask before edits.

Can I return to an earlier conversation?

Yes. Open Chats in the project and select the earlier chat from the list. Click New chat when you want a separate conversation.

What should I send support if the problem continues?

Include the project name, chat title, selected model, approximate time, exact error message, and a screenshot of the final status. Never include a provider key, password, or other secret.