Repository navigation
Add RuntimeConfig three-toggle switch layer - #214
Closed
H-maximedelpit wants to merge 1 commit into
Closed
H-maximedelpit wants to merge 1 commit into
H-maximedelpit wants to merge 1 commit into
Conversation
adeprezh
approved these changes
Sep 24, 2026
adeprezh
left a comment
Contributor
There was a problem hiding this comment.
lgtm, will need a bump of agent-interface and agp-types before merging:
uv lock -P agent-interface
uv lock -P agp-types
uv sync
Collaborator
|
Superseded by #222 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fork of PR #185 (local mode / Client.local) — opened as a Draft so it does not touch that PR's own branch or implementation.
Adds
hai_agents_runtime: a small, hand-written sibling package to pick where each of the three parts of an agent task runs — agent, environment, model — and get an ordinaryClientback. InstantiateRuntimeConfig; presetscloud()/local()are shorthand; override any toggle with.with_().Inference.cloud()) or a model you host by URL (Inference.self_hosted(url)).Client()(unchanged). User-device agent ->Client.local()(from [claude] Local mode: Client.local() + LocalRuntime (generated from sdk-codegen) #185), with a self-hosted model endpoint handed to the runtime at spawn and the cloud key withheld.local-agent(compiled binary, public) /local-agent-src(source, internal via private CodeArtifact). A user_device config fails at construction with a clear message if neither is installed.Builds on #185 (Client.local); the runtime spawn_env hook is hcompai/agent_platform#1452. Regen-proof hand-written sibling, not inside
hai_agents. Draft — experimental, interface may change.Depends on / builds on
Client.local()+ LocalRuntime → [claude] Local mode: Client.local() + LocalRuntime (generated from sdk-codegen) #185spawn_env→ hcompai/agent_platform#1452