|
1 | | -# dotPilot |
| 1 | +# dotPilot |
| 2 | + |
| 3 | +`dotPilot` is a desktop-first, local-first control plane for AI agents built with `.NET 10` and `Uno Platform`. |
| 4 | + |
| 5 | +The product is being shaped as a single operator workbench where you can: |
| 6 | + |
| 7 | +- manage agent profiles and fleets |
| 8 | +- connect external agent runtimes such as `Codex`, `Claude Code`, and `GitHub Copilot` |
| 9 | +- run local models through `LLamaSharp` and `ONNX Runtime` |
| 10 | +- browse repositories, inspect files, review diffs, and work with Git |
| 11 | +- orchestrate sessions, approvals, telemetry, replay, and evaluation from one UI |
| 12 | + |
| 13 | +Coding workflows are first-class, but `dotPilot` is not a coding-only shell. The target product also supports research, analysis, orchestration, reviewer, and operator-style agent flows. |
| 14 | + |
| 15 | +## Current Status |
| 16 | + |
| 17 | +The repository is currently in the **planned architecture and backlog** stage for the control-plane direction. |
| 18 | + |
| 19 | +What already exists: |
| 20 | + |
| 21 | +- a desktop-first `Uno Platform` shell with the future workbench information architecture |
| 22 | +- a dedicated agent-builder screen |
| 23 | +- `NUnit` unit tests and `Uno.UITest` browser UI coverage |
| 24 | +- planning artifacts for the approved direction |
| 25 | +- a detailed GitHub issue backlog for implementation |
| 26 | + |
| 27 | +What is planned next: |
| 28 | + |
| 29 | +- embedded `Orleans` host inside the desktop app |
| 30 | +- `Microsoft Agent Framework` orchestration and session workflows |
| 31 | +- SDK-first provider adapters |
| 32 | +- MCP and repo-intelligence tooling |
| 33 | +- local runtime support |
| 34 | +- OpenTelemetry-first observability and official `.NET` AI evaluation |
| 35 | + |
| 36 | +## Product Direction |
| 37 | + |
| 38 | +The approved architectural defaults are: |
| 39 | + |
| 40 | +- `dotPilot` stays desktop-first and reuses the current shell direction instead of replacing it |
| 41 | +- the first runtime cut is **local-first** with an embedded `Orleans` silo |
| 42 | +- `Session = grain`, with related workspace, fleet, artifact, and policy state |
| 43 | +- `Microsoft Agent Framework` is the preferred orchestration layer |
| 44 | +- provider integrations are SDK-first: |
| 45 | + - `ManagedCode.CodexSharpSDK` |
| 46 | + - `ManagedCode.ClaudeCodeSharpSDK` |
| 47 | + - `GitHub.Copilot.SDK` |
| 48 | +- tool federation is centered on `ManagedCode.MCPGateway` |
| 49 | +- repository intelligence is centered on `ManagedCode.RagSharp` |
| 50 | +- agent quality and safety evaluation use `Microsoft.Extensions.AI.Evaluation*` |
| 51 | +- observability is OpenTelemetry-first, with local-first visibility and optional cloud export later |
| 52 | +- `MLXSharp` is explicitly **not** part of the first roadmap wave |
| 53 | + |
| 54 | +## Documentation Map |
| 55 | + |
| 56 | +Start here if you want the current source of truth: |
| 57 | + |
| 58 | +- [Architecture Overview](docs/Architecture.md) |
| 59 | +- [ADR-0001: Agent Control Plane Architecture](docs/ADR/ADR-0001-agent-control-plane-architecture.md) |
| 60 | +- [Feature Spec: Agent Control Plane Experience](docs/Features/agent-control-plane-experience.md) |
| 61 | +- [Task Plan: Agent Control Plane Backlog](agent-control-plane-backlog.plan.md) |
| 62 | +- [Root Governance](AGENTS.md) |
| 63 | + |
| 64 | +GitHub tracking: |
| 65 | + |
| 66 | +- [Issue Backlog](https://github.com/managedcode/dotPilot/issues) |
| 67 | + |
| 68 | +## Repository Layout |
| 69 | + |
| 70 | +```text |
| 71 | +. |
| 72 | +├── DotPilot/ # Uno desktop app and current shell |
| 73 | +├── DotPilot.Tests/ # NUnit in-process tests |
| 74 | +├── DotPilot.UITests/ # Uno.UITest browser coverage |
| 75 | +├── docs/ |
| 76 | +│ ├── ADR/ # architectural decisions |
| 77 | +│ ├── Features/ # executable feature specs |
| 78 | +│ └── Architecture.md # repo architecture map |
| 79 | +├── AGENTS.md # root governance for humans and agents |
| 80 | +└── DotPilot.slnx # solution entry point |
| 81 | +``` |
| 82 | + |
| 83 | +## Getting Started |
| 84 | + |
| 85 | +### Prerequisites |
| 86 | + |
| 87 | +- `.NET SDK 10.0.103` |
| 88 | +- `Uno.Sdk 6.5.31` |
| 89 | +- a supported desktop environment for `net10.0-desktop` |
| 90 | + |
| 91 | +### Core Commands |
| 92 | + |
| 93 | +```bash |
| 94 | +dotnet build DotPilot.slnx |
| 95 | +dotnet test DotPilot.slnx |
| 96 | +dotnet format DotPilot.slnx --verify-no-changes |
| 97 | +dotnet build DotPilot.slnx -warnaserror |
| 98 | +dotnet publish DotPilot/DotPilot.csproj -c Release -f net10.0-desktop |
| 99 | +``` |
| 100 | + |
| 101 | +### Run the App |
| 102 | + |
| 103 | +```bash |
| 104 | +dotnet run --project DotPilot/DotPilot.csproj -f net10.0-desktop |
| 105 | +``` |
| 106 | + |
| 107 | +### Run the Browser UI Suite |
| 108 | + |
| 109 | +```bash |
| 110 | +dotnet test DotPilot.UITests/DotPilot.UITests.csproj |
| 111 | +``` |
| 112 | + |
| 113 | +## Quality Gates |
| 114 | + |
| 115 | +This repository treats the following as mandatory: |
| 116 | + |
| 117 | +- real `NUnit` unit tests |
| 118 | +- real `Uno.UITest` browser UI coverage |
| 119 | +- repo-root `.editorconfig` as the formatting and analyzer source of truth |
| 120 | +- central package management through `Directory.Packages.props` |
| 121 | +- descriptive GitHub Actions validation and desktop artifact publishing |
| 122 | + |
| 123 | +## Notes |
| 124 | + |
| 125 | +- The current repository still contains prototype data in the shell; the new backlog tracks the transition to runtime-backed features. |
| 126 | +- If you are working on non-trivial changes, start with [AGENTS.md](AGENTS.md) and [docs/Architecture.md](docs/Architecture.md). |
| 127 | +- The current machine-local baseline may still hit a `Uno.Resizetizer` file-lock during `dotnet build`; that risk is documented in [agent-control-plane-backlog.plan.md](agent-control-plane-backlog.plan.md). |
0 commit comments