Add installable OpenShell agent runner - #40
Merged
Conversation
johnnygreco
force-pushed
the
johnny/repository-agent-profiles
branch
from
August 13, 2026 21:21
aaa48fb to
c148567
Compare
johnnygreco
marked this pull request as ready for review
August 13, 2026 21:22
johnnygreco
force-pushed
the
johnny/repository-agent-profiles
branch
from
August 13, 2026 21:32
c148567 to
faa7536
Compare
johnnygreco
marked this pull request as draft
August 13, 2026 21:35
johnnygreco
force-pushed
the
johnny/repository-agent-profiles
branch
from
August 17, 2026 03:10
faa7536 to
50bc933
Compare
Documentation previewThe preview has been removed. |
johnnygreco
force-pushed
the
johnny/repository-agent-profiles
branch
from
August 21, 2026 21:37
8c5661a to
f1f3e6f
Compare
johnnygreco
marked this pull request as ready for review
August 21, 2026 21:38
johnnygreco
force-pushed
the
johnny/repository-agent-profiles
branch
from
August 23, 2026 15:36
95e38d9 to
ea20aca
Compare
johnnygreco
force-pushed
the
johnny/repository-agent-profiles
branch
from
August 23, 2026 16:06
1249f43 to
18417c2
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
openshell-agent-runner, an installable Python package with theoarCLIoar init, plus profile validation, dry-run previews, task execution, and read-only OpenShell diagnostics.github/openshell-agentsApproach
OAR is deliberately a small orchestrator, not another agent framework. A profile directory owns stable task behavior: its OpenShell policy, Pi model settings, prompts, tools, skills, extensions, uploads, and optional JSON Schema. CLI options provide values that vary by run, such as the task, input, output, gateway, and workspace.
The runner preserves OpenShell's native lifecycle and configuration. It creates a persistent sandbox, uploads task and runtime files, executes the Pi harness, downloads and validates one declared result, verifies sandbox ownership, and deletes the sandbox.
oar run --dry-runprints those exact commands without making changes.OAR does not create or modify gateways, providers, credentials, workspaces, inference routes, or source-control state. Those remain owned by OpenShell and the sandboxed agent.
Quick start
Validation
make check: Ruff format and lint, ty, 104 pytest tests, Python compilation, and shell syntaxmake build: source distribution and wheeluvxinitialization, validation, and lifecycle previewgit diff --checkGitHub-hosted CI performs credential-free validation, packaging, command preview, image build, and extension checks. It does not run live inference.