# Repository Briefing: thesongzhu/Friday
> Source: https://repoforai.com/repo/thesongzhu/Friday (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/thesongzhu/Friday
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: B (62/100 · Maintenance 12/35 · Adoption 16/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v1.0.2 (2026-05-26) — https://github.com/thesongzhu/Friday/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted
- **Momentum**: 836 ★ total (+0 24h / +0 7d) · 84 forks
- **Topics**: `agent-orchestration`, `agents`, `ai-agents`, `ai-assistant`, `approval-first`, `automation`, `byok`, `codex`, `control-plane`, `friday`, `local-first`, `loop-engineering`
- **When to Use**: Best for: Engineers or small teams piloting cross-provider workflows from source who need signed human approvals and verifiable completion before work advances. Skip if: You need offline inference, a publicly released native installer, or an unattended service already proven on real end-user workloads.

## Overview
```text
### Architecture & Core Mechanics
Friday is a local-first TypeScript control plane, not an inference engine. It turns a user goal into tracked work, selects an external model for each step, gates execution by policy, verifies the result, and advances the workflow while proposing any new memory for review. The persisted mission and work-item boundary rejects completion without a proof-receipt reference. This check lives in the application rather than in the executing model's instructions.

The Node.js runtime lists `better-sqlite3` for embedded persistence, `ajv` and `zod` for validation, `ws` and `protobufjs` for messaging primitives, and Playwright for browser automation. These dependencies identify available building blocks, not a public wire protocol or plugin contract. The extension model is governed skills: a reviewed skill requires signed activation and approval for the specific invocation, with execution scoped to a sandbox.

### Key Capabilities & Differentiators
Friday routes work across BYOK backends including Codex, Claude, and DeepSeek. It selects a backend before spending model tokens, exposes that choice to the operator, and attributes a fallback to the model that actually answered. It can ask for clarification before spending tokens on an ambiguous goal, or hold a second model's synthesis step until the first model's work has passed verification. A model's assertion or a successful process exit does not suffice on its own.

The policy kernel can let read-only actions proceed, but risky side effects can only require approval or be denied. The controller can verify an approval signature but cannot produce it. Memory candidates require user confirmation, and recall filters known secret patterns before sending context to a model. Each routed turn is recorded atomically in a hash-chained audit log. That chain makes edits detectable; it does not make the local log immutable.

### Trade-offs & Limitations
Compared with using Codex or Claude directly, Friday adds one place to enforce policy and inspect work across providers. That is useful when a workflow needs explicit handoffs, user approval for side effects, or auditable completion. For straightforward single-provider work, another controller and its approval and verification steps can add more upkeep than value. A receipt makes the evidence for completion inspectable; it does not guarantee that the evidence is sufficient for the task.

Local-first describes where the controller and persistent state live, not where inference happens. Provider charges, network dependency, and review of outbound context remain. Filtering known secret patterns is not a substitute for a data-handling policy. Current validation is limited to internal and self-test traffic, not actual end-user workloads. More autonomous paths are disabled by default, and capability acquisition and self-upgrade remain review-gated work in progress.

### Hardware & Deployment Guide
Run the self-hosted candidate from source with Node.js 22 or newer. On macOS, the documented path is to install Node.js 22+, clone the repository, and open `Friday Setup.command`. Bring credentials for the cloud providers you intend to use. The controller runs locally, but inference still needs provider connectivity; there is no local GPU requirement for that inference path. Size the machine for concurrent controller work, browser sessions if used, and retained state rather than for model weights.

The `friday` executable is declared by the npm package, but that package is a development, build, and CI surface, not the full consumer installation. The source tree is at 1.0.3, while npm remains at 1.0.2; the native Friday.app is not publicly released. v1.0.1 was a source/npm-only local candidate, followed by the v1.0.2 hardening patch. The v1.0.2 release records 94 of 94 Real Green Gate scenarios passing on the release commit, including real-runtime evidence. That is a release-gate result, not a benchmark or production validation.
```

## Key Capabilities
```text
- Completion gate: The persisted mission and work-item boundary rejects completion without a proof-receipt reference.
- Approval separation: The controller can verify approval signatures but does not hold the key needed to create them.
- Routing and metering: Provider selection consumes no model tokens; fallback accounting identifies the model that actually responded.
- Memory admission: Users confirm candidates before they become durable memory, and recall filters known secret patterns.
- Audit integrity: Each routed turn is written atomically to a hash-chained log, making edits detectable through chain verification.
- Release scope: The source tree is at 1.0.3; the 1.0.2 npm artifact is for tooling, not a full product installer.
```

## Quick Start / Clone
```bash
brew install node@22
git clone https://github.com/thesongzhu/Friday.git
cd Friday
open "Friday Setup.command"
```
