Skip to content

[SDK] Explore lazy imports and MLflow Skinny dependencies - #910

Draft
jamesbxwu wants to merge 2 commits into
mainfrom
codex/agentbricks-import-startup-review
Draft

jamesbxwu wants to merge 2 commits into
mainfrom
codex/agentbricks-import-startup-review

Conversation

@jamesbxwu

@jamesbxwu jamesbxwu commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Preserves the optional startup experiments: lazy public exports in OpenAI/LangChain/MCP, on-demand numerical/model-resource imports, and replacing direct full-MLflow requirements with MLflow Skinny. Public import paths remain available.

Cold sandbox follow-up found no standalone improvement from lazy imports (13.95 s versus 13.30 s baseline). A separate tracing-only experiment omitting unused Connect/Arrow packages reached 9.19 s and preserved real streaming, tools, managed history, and persisted traces, but intentionally bypassed some declared requirements. It is not the package contract in this draft. Follow-on #917 now validates a clean, resolver-valid tracing-only worker set: 14.88 → 10.38 s median handler preparation in three matched App sessions per variant, preserving real tools/history/traces. Findings and limits.

Independent of the sandbox runtime and warm-pool demo. Validation: 15 import/utility checks passed in the follow-up; the original 77 vector utility/store checks and Ruff passed. Broader OpenAI/MCP checks were interrupted in SDK retries and remain incomplete. Clean Skinny-only compatibility and the minimum dependency matrix are not established.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant