Skip to content

chore: extract Python network SDK to its own repo - #594

Open
zomux wants to merge 2 commits into
developfrom
chore/remove-network-sdk
Open

chore: extract Python network SDK to its own repo#594
zomux wants to merge 2 commits into
developfrom
chore/remove-network-sdk

Conversation

@zomux

@zomux zomux commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

What

Extracts the Python network SDK (the `openagents` package) out of this monorepo into its own repo: openagents-org/openagents-sdk (public, full git history preserved back to the March 2025 initial commit).

This repo now contains only the launcher (`packages/`) and the workspace (`workspace/`), and consumes the SDK as a dependency.

Moved to the SDK repo

  • `sdk/` — the `openagents` package, studio, demos, examples
  • root `tests/` SDK suite (a2a, agents, grpc, http, mods, network, platform, …) — kept `tests/e2e/` (the launcher JS smoke test)
  • `docs/`, `mkdocs.yml`, `.readthedocs.yaml`, `llms.txt`
  • `Dockerfile`, `docker-compose.yml`, `docker-entrypoint.sh`, `.dockerignore` (build the SDK network+studio image)
  • `setup.py`, `MANIFEST.in`, and the SDK build config from `pyproject.toml`
  • SDK CI: `pypi-publish`, `studio-build`, `test-cli`, `platform-tests`, `docker-publish`
  • `scripts/{generate_grpc,debug_install,bump_version}.py`

Rewired here

  • `workspace/backend/requirements.txt` installs `openagents` from the SDK repo (`git+https://…@main`). The backend only uses the lightweight ONM primitives.
  • `pytest.yml` now runs only the workspace backend suite.
  • `pyproject.toml` slimmed to repo-wide tool config (ruff / pytest / coverage).

Verification

  • SDK repo: builds sdist+wheel, installs (core + `[sdk]`), CLI works, 11/11 core modules import, its HEAD is byte-for-byte identical to the old `sdk/` tree.
  • This repo: `openagents` installs from the public repo via the exact requirements line and ONM imports succeed.

Follow-ups (not in this PR)

  • Cut a PyPI release from the SDK repo, then switch the dependency from the git URL to a version pin.
  • Pre-existing latent bug found (identical in old monorepo): `openagents.sdk.connectors.websocket_connector` uses `from .system_commands` instead of `..system_commands`.

🤖 Generated with Claude Code

The Python SDK (the 'openagents' package) plus its tests, docs, Dockerfile,
and SDK-only CI now live in openagents-org/openagents-network-sdk (full git
history preserved). This repo keeps the launcher (packages/) and workspace
(workspace/) and consumes the SDK as a dependency.

Removed:
- sdk/ (the openagents package, studio, demos, examples)
- root tests/ SDK suite (kept tests/e2e — the launcher JS smoke test)
- docs/, mkdocs.yml, .readthedocs.yaml, llms.txt
- Dockerfile, docker-compose.yml, docker-entrypoint.sh, .dockerignore
  (these build the SDK network+studio image)
- setup.py, MANIFEST.in; SDK build config from pyproject.toml
- SDK CI: pypi-publish, studio-build, test-cli, platform-tests, docker-publish
- scripts/{generate_grpc,debug_install,bump_version}.py

Rewired:
- workspace/backend/requirements.txt installs openagents from the SDK repo
- pytest.yml now runs only the workspace backend suite
- pyproject.toml slimmed to repo-wide tool config (ruff/pytest/coverage)
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openagents-workspace Ready Ready Preview Aug 6, 2026 6:17am

Request Review

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