sailry/sailry-harness
À propos
Environnement d’exécution et SDK open source pour agents IA dans les applications natives.
IA et apprentissage automatiqueProgression mesurée des étoiles
- in 24h
- Historique en cours
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
Sailry Harness
An open-source AI agent runtime and SDK for native apps.
Quick start · Architecture · Plugin SDK · Sailry Code · 简体中文
Sailry Harness (github.com/sailry/sailry-harness) provides the shared agent runtime, desktop and mobile foundations, and public Go, Flutter, and plugin SDKs. It can also run as a standalone base app.
[!TIP] Looking for the coding app? See Sailry Code and its end-user releases.
Architecture
Node runs agents and tools, enforces approvals, and stores credentials and session history. It runs inside Desktop or as a headless Host.
Link v2 connects clients and Nodes over end-to-end encrypted libp2p links, with six-digit pairing and automatic relay fallback.
Client keeps session and workspace state in sync and recovers after disconnects. Desktop uses MyGo; mobile uses Flutter.
See the architecture guide for ownership boundaries, storage, and module dependencies.
SDKs and extension points
Downstream products use the public sdk/ and apps/mobile/ packages. Packages under internal/ are not public APIs.
- Go Desktop: assemble native desktop apps, pages, panels, and settings.
- Go Node and Host: register agent tools and assemble a headless Host.
- Flutter mobile: build Android and iOS controllers with product-specific views.
- Plugin SDK: add JavaScript views and Node tools with agent-plugins, skills, or MCP.
Built-in general capabilities
The base app assembles reusable modules for agent work modes, Bots that work in parallel, sandboxed commands, and workspace file search. A new profile starts with an empty Bot and squad catalog. Create a Bot in Settings or install Explore or Research from Templates.
It also includes browser and desktop automation, Office/PDF and local OCR, HTML previews, media generation, web search, knowledge collections, memory, scheduled tasks, and local dictation. New profiles have no preinstalled plugins or themes.
Quick start
Use as a Go library
Install Go 1.27.3 and the platform prerequisites described in Setup. Create a module and add Harness as a dependency.
unset GOROOT
export GOTOOLCHAIN=go1.27.3 CGO_ENABLED=0
mkdir my-agent
cd my-agent
go mod init example.com/my-agent
go get github.com/sailry/sailry-harness@main
@main selects the current preview SDK. For a released SDK, use @latest or pin a published SemVer tag. Go records the resolved version in your go.mod.
Save this minimal Host entry point as main.go. It uses the public SDK and the built-in Harness module assembly.
package main
import (
"log"
"os"
"github.com/sailry/sailry-harness/sdk/host"
"github.com/sailry/sailry-harness/sdk/native/node"
"github.com/sailry/sailry-harness/sdk/product"
)
func main() {
code, err := host.Run(os.Args[1:], host.Options{
Identity: product.Desktop{
ID: "my-agent",
Version: "0.1.0",
DefaultProfile: "~/.my-agent",
},
Assembly: node.HarnessAssembly(),
})
if err != nil {
log.Fatal(err)
}
os.Exit(code)
}
go mod tidy
go run . --help
To start the Host, run just native in a Harness checkout to prepare the Turso library under .runtime/native/<goos>-<goarch>/. Set its absolute path in your own project:
export SAILRY_TURSO_LIB=/absolute/path/to/turso-library
go run . serve --data-dir "$PWD/.runtime/profiles/my-agent"
Use host.RunContext to control shutdown from an existing application.
For a native desktop app, use sdk/desktop with the optional sdk/desktop/harness preset. The SDK overview lists the public extension points.
Run from source
Clone the repository to run the base app or develop Harness itself.
git clone https://github.com/sailry/sailry-harness.git
cd sailry-harness
just native
just desktop
just desktop devuses the isolated~/.sailry-harness-devprofile instead of~/.sailry-harness.just hoststarts a headless Host;just checkruns the project checks.- To test Harness changes in Code, use a gitignored
go.workin your Code checkout that references the local Harness checkout.
Harness APIs are in early preview. New Harness releases consist of SemVer library tags and release notes, not Desktop, Host, Android or iOS binaries or app updates. Sailry Code is a separate product with its own downloads and updates.
Products and ecosystem
- Sailry Code: the AI coding workstation built on Harness, with a file workbench, Git and worktrees, terminals, databases, and SSH.
- Sailry Plugins: optional runtime plugins.
- Sailry Themes: official light and dark themes.
Documentation
- Development: Architecture · Contributing · Engineering rules · Security policy
- Runtime guides: Models · Remote hosts · Projects and sessions · Relays
Telemetry, community, and license
Privacy
Anonymous error reports and feature counts are enabled by default. They do not include conversations, files, credentials, paths, or custom names. Disable them in Settings → General → Diagnostics and privacy, or set SAILRY_TELEMETRY=off or DO_NOT_TRACK=1. Public model benchmarks come from ModelDial.
Community
License
Desktop and Mobile animal portraits come from OneWorks Avatar.
Apache-2.0 · Trademarks · Third-party notices · Third-party licenses
Explorer des projets similaires
Chargement…