Skip to content

Rewrite SDK around agent environments#138

Merged
zizhengtai merged 6 commits into
mainfrom
ztai/redesign
Jun 4, 2026
Merged

Rewrite SDK around agent environments#138
zizhengtai merged 6 commits into
mainfrom
ztai/redesign

Conversation

@zizhengtai
Copy link
Copy Markdown
Contributor

Summary

  • replace the public Narada/window-centered SDK with Agent + Environment APIs
  • add BrowserEnvironment, CloudBrowserEnvironment, RemoteBrowserEnvironment, and LambdaEnvironment for both narada and narada-pyodide
  • rename the old core Agent enum to AgentKind and update examples/docs/tests to the new API

Verification

  • uv run ruff format packages/narada-core packages/narada packages/narada-pyodide
  • uv run ruff check --fix packages/narada-core packages/narada packages/narada-pyodide
  • uv run --package narada pytest packages/narada/tests
  • uv run --package narada-pyodide pytest packages/narada-pyodide/tests
  • uv run python -m py_compile examples/*.py

@zizhengtai zizhengtai marked this pull request as ready for review June 1, 2026 16:52
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.

delete

Comment thread packages/narada/src/narada/window.py Outdated
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.

delete

Comment thread packages/narada/src/narada/environment.py
Comment thread packages/narada/src/narada/environment.py Outdated
Comment thread packages/narada/src/narada/agent.py
Comment thread examples/get_url.py
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

rename all example files to be more reasonable to convey what they actually are doing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

will do this in another PR

@zizhengtai zizhengtai merged commit 1cb4c88 into main Jun 4, 2026
5 checks passed
@zizhengtai zizhengtai deleted the ztai/redesign branch June 4, 2026 01:51
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