Repository navigation
Conversation
Fodesu
force-pushed
the
feat/agent-runtime-storage
branch
from
October 3, 2026 14:43
d8dc29d to
555de6c
Compare
Fodesu
force-pushed
the
feat/agent-runtime-app
branch
from
October 3, 2026 14:43
9e02f30 to
295c20c
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage
branch
from
October 3, 2026 14:55
555de6c to
2e9c81e
Compare
Fodesu
force-pushed
the
feat/agent-runtime-app
branch
from
October 3, 2026 14:55
295c20c to
3ed0256
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage
branch
from
October 3, 2026 15:35
2e9c81e to
a547492
Compare
Fodesu
force-pushed
the
feat/agent-runtime-app
branch
from
October 3, 2026 15:35
3ed0256 to
3b38372
Compare
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.
Summary
Adds the application topology that composes the runtime, owner, stores, model/tool backends, workers, session APIs, and HTTP surfaces into a usable agent service. The
agent/apppackage is the orchestration boundary; components remain replaceable behind explicit interfaces.Design
Application activation resolves a session, obtains or creates its owner, drains durable inbox commands, and connects the owner to the runtime and Loop. Component constructors wire stores, model backends, tool backends, executor workers, and local/cloud implementations without moving their state machines into the app package. Session helpers expose submission, Turn lifecycle, compaction, fork, restart, and workspace operations while preserving command idempotency and projection-backed reads.
The executor topology includes local and HTTP backends, a sandbox, backend client/server bindings, and the model/tool/worker component wrappers. Tool definitions and model catalogs are resolved through application configuration; the executor still receives frozen Assignments and returns effect outcomes.
spawnand responder code adapt model responses into the Loop’s decision boundary rather than writing Run facts directly.The HTTP server/client wire carries application commands, session state, progress, and terminal results. Progress is forwarded as observation, while committed events and durable state remain authoritative. Activation and restart paths use the same persisted session and Run stores, so a process restart does not require reconstructing in-memory conversation or execution state.
Testing
The branch contains extensive app, HTTP, component, executor-local/HTTP/sandbox, model catalog, spawn, tool, lifecycle, compaction, fork, restart, target, Turn, workspace, and cloud-test coverage. These tests exercise the composition and public application boundaries rather than introducing a second state machine.