GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - starlinghq/corvid: Local-first .NET agent built on Starling models, with a calibrated decision fabric (Kev, GLiNER2, embeddings) and Corvid Vault for secrets the model never sees.

BranchesTags
Open more actions menu

Latest commit

 

History

94 Commits
94 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude/workflows
.claude/workflows
 
 
.github/workflows
.github/workflows
 
 
docs
docs
 
 
evals
evals
 
 
sandbox/Corvid.Sandbox.Launcher
sandbox/Corvid.Sandbox.Launcher
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
vault
vault
 
 
.gitignore
.gitignore
 
 
Corvid.slnx
Corvid.slnx
 
 
Directory.Build.props
Directory.Build.props
 
 
Directory.Build.targets
Directory.Build.targets
 
 
Directory.Packages.props
Directory.Packages.props
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
global.json
global.json
 
 
install.sh
install.sh
 
 

Repository files navigation

Corvid

A local-first .NET 10 agent that thinks small on your machine and writes big wherever you choose.

Corvid is an agent in the spirit of Hermes Agent, built on Starling's in-process models. It splits the work in two:

  • System One: the decision fabric. Kev, GLiNER2 and the embedding models run in-process and make the many small calls an agent makes every turn: what the user wants, which tool fits, whether a step is risky, whether to escalate. These calls are local, fast and calibrated.
  • System Two: the generator. A swappable model, local (Qwen3.5-0.8B by default, or any OpenAI-compatible server) or cloud (Anthropic, OpenAI, OpenRouter, Gemini), does the writing.

Secrets never enter the agent. They live in Corvid Vault, a separate process that runs no model and swaps placeholders for real values only on the way out to the host each secret is bound to.

The Corvid desktop app: a steer is sent mid-turn and the turn finishes, the next turn asks approval for 'rm -rf build/ && dotnet test' with each target and Kev's reasons, it is allowed once and the tests pass, a patch to the production launcher is denied, then the command palette opens the Board and Rewind
The windowed app, corvid-app --demo: a steer taken mid-turn, an approval card with every target and the reasons Kev asks, a patch to the launcher denied, then the palette, the Board and Rewind. The demo is a scripted scenario and needs no models (try it).

Website: corvid.starling.rocks

Contents

  • Quick start
  • What Corvid does
  • The windowed app
  • Ways to talk to it
  • Configuration
  • Status
  • Build and test
  • Repository layout

Quick start

Release status. The latest release, v0.1.0 (2026-10-23), has the command line only. The windowed app and most of what this README describes since (switching models mid-turn, subagents with a model mix, code mode, workspaces, images, attached mode) are on main and come with the next release. Until then, install.sh --app stops because the release has no corvid-app-linux-x64.tar.gz, and those features need a source build.

Install the latest release (Linux x86_64; no .NET SDK needed):

curl -fsSL https://raw.githubusercontent.com/starlinghq/corvid/main/install.sh | sh

It puts corvid and corvid-vault in ~/.local/bin, with corvid-sandbox beside them in ~/.local/lib/corvid/<version>/, after checking the download against the release's SHA256SUMS. Add sh -s -- --cuda for the CUDA variant (Kev on an NVIDIA GPU, about 300 MB more), --version v0.1.0 for a given release, or --prefix <dir> to install elsewhere. Running it again upgrades. Shell tools also need bubblewrap (pacman -S bubblewrap, apt install bubblewrap). Then:

corvid doctor                # what is missing, and how to fix it
corvid model download qwen3.5-0.8b gliner2-base-v1 embeddinggemma-2 kev-0.8b
                             # the default models (about 10 GB); nothing downloads implicitly
corvid chat

Optional: corvid model download kev-4b, a second decision tier for gates (about 17 GB, 18 GB of RAM). Without Kev downloaded, decisions run on the degraded tier and corvid chat says so.

The windowed app, corvid-app, installs with --app:

curl -fsSL https://raw.githubusercontent.com/starlinghq/corvid/main/install.sh | sh -s -- --app

It goes beside corvid in ~/.local/lib/corvid/<version>/app/ with its own copy of corvid-sandbox, is linked as ~/.local/bin/corvid-app, and gets a desktop entry (~/.local/share/applications/corvid-app.desktop) and the Corvid mark as its icon, so it shows as Corvid in the applications menu. It runs on the same Corvid home as corvid chat, and opens on First run while models are missing. corvid doctor says whether it is installed.

Try the app without models

corvid-app --demo runs the app on a scripted scenario with demo services and a frozen clock: no models, no Corvid home, nothing written. Send a message to start it moving, as in the recording above. From a source checkout:

dotnet restore Corvid.slnx                                   # once: the app builds corvid-sandbox, which only the solution restores
dotnet run --project src/Corvid.App -c Release -- --demo     # add --theme dark, --page board, or --scene approval

From source

Requires the .NET 10 SDK (build and test). Use dotnet run --project src/Corvid.Cli -- <command> in place of corvid and dotnet run --project src/Corvid.App -c Release in place of corvid-app (after dotnet restore Corvid.slnx once), or build the binaries yourself:

dotnet publish src/Corvid.Cli -c Release -r linux-x64        # a single-file `corvid`
dotnet publish src/Corvid.Cli -c Release -r linux-x64 -p:UseCuda=true -o out-cli-cuda
                                                             # the CUDA variant, for Kev on an NVIDIA GPU

Releases are cut by pushing a v* tag; release.yml builds the CLI tarballs and the app's (corvid-app-linux-x64.tar.gz, from the CorvidAppTarball target in src/Corvid.App), installs each with install.sh as a smoke test, and publishes them.

What Corvid does

Decides locally, writes wherever you choose

Each turn starts with Kev answering a catalogue of small questions: intent, difficulty, whether to clarify, whether recall is needed, which tool. Kev's answers are calibrated against versioned floors. A confident answer acts. An unsure one asks or escalates. Gate questions can go to a second tier, Kev-4B. A hard step can go to a bigger generator slot, local or cloud. An embedding shortlist keeps the tool list the model sees short.

Kev answers a checkpoint in about a quarter of a second on an RTX 3090 and in a few seconds on a CPU (spike S1). On CPU-only hosts Corvid asks fewer questions: at most two per step, and no per-call risk question where the outcome would be "ask" anyway. → Decision fabric · Kev decider · Kev on CUDA

Switches models at any time

/model and the app's Models page switch a model mid-conversation, for any slot, the decider included; Alt+P in the app switches the generator. A running turn takes the switch at its next step, after the tool calls it has issued. The choice lasts for the session: escalation and fallback can still move off it, and the session comes back to it. --default changes the default for new sessions instead. Every switch is logged and shown in the transcript, and a cloud model is only ever reached through the privacy gate, with the session's taint.

With Corvid:Turn:ArchitectEditor on, a coding turn that escalates is planned by the stronger model, with no tools, and its edits are made by the session's own model. /architect asks for that on the next turn, coding or not, and needs an escalation ladder. The transcript says "planned by X · edited by Y". → Model slots and switching · Architect/editor turns

Delegates to subagents with their own model mix

delegate_task starts child sessions, up to 10 at once and one level deep, each with a goal, an explicit toolset no wider than the parent's, a budget of steps, tokens and time, and an optional JSON schema its answer is checked against. The agent can give each child a model mix: any slot but the decider, from the catalogue, or a named mix from Corvid:Agents:Mixes. A child inherits its parent's taint and approval mode, its approvals come to you, and a cloud model in its mix passes the parent's privacy gate. The agent cannot choose the decider that judges a child's calls; only you or a configured mix can. A child cannot ask you questions, write memory, send messages, schedule jobs or delegate again. Children show as a tree on the Board, /agents lists them, and /delegate starts one yourself.

Writes scripts that call its tools

With code mode on (Corvid:Tools:Code:Enabled, and a cloud or local-server generator), execute_code runs a Python, JavaScript or C# script in the shell's sandbox, with no network. The script gets a generated client for Corvid's tools and reaches them only through a socket made for that run. Each call it makes goes through the same path as the model's own: its own approval, checkpoint, taint and credential scrub. The script itself always asks, with "once" as the only answer, and only the exact source you saw runs. Time, call count and output are limited on Corvid's side, and scripts can never reach a tool that delegates, asks, sends, schedules or writes memory. → Code mode

Asks before it acts, and explains why

The Corvid app's approval card for 'rm -rf build/ && dotnet test Corvid.slnx': each part's verb, targets, undo and network, the reasons it asks (risk 3 from Kev-0.8B, a tainted session, reversible), five answers, and the Decisions panel listing Kev's answers with their confidences

The app's approval card, with the Decisions panel listing each of Kev's answers and its confidence (corvid-app --scene approval). In corvid chat the same prompt is answered inline: once, this session, always, or deny.

Every side effect goes through a structural approval pipeline. It parses the shell command (a bash subset, with wrappers such as sudo, env and xargs unwrapped), extracts every target, and checks the result against a hardline deny list before any model is asked. In Smart mode a call runs unasked only when Kev rates it low risk and it stays in the workspace, with no network, elevation or destructive tool. Manual mode asks for everything.

  • Taint. Once outside content (a web page, an MCP result, a guest's message) enters the session, even network reads go through approval, and any network egress or send to a new recipient always asks, offering only "once".
  • Sandbox. Shell commands run under corvid-sandbox: the workspace is writable, the rest of the system is read-only, credential stores are hidden, and there is no network unless allowed. Stdio MCP servers get a private workspace of their own. Allowed HTTPS goes through Vault's per-sandbox proxy, so a script can use a token it never sees.
  • Detection rules. A built-in pack of twelve rules watches the session event log before every approval. Examples: a credential read followed by network egress, the environment or a credential file sent out, base64 in a request URL, a command you just denied proposed again. A match on an enforce rule always asks, whatever the mode or remembered approvals say.

→ Approvals · Sandbox · Detection rules

Undoes its own work, not yours

The Corvid app's Rewind page: the checkpoint ledger with each call, its paths and changes, and a restore to before c-38 that lists the files put back, warns that SeccompTests.cs was edited since and will merge three ways, and offers files and conversation, conversation only, or files only

The app's Rewind page (demo). In corvid chat the same restore is /undo and /rollback N.

Before any tool call that changes files, Corvid checkpoints the workspace into a shadow git store, which is never your own repository. /undo reverts the last turn. /rollback N goes back to before the Nth latest checkpoint and takes those turns out of the conversation too. If you edited a file since, the revert becomes a three-way merge, and a conflict stops the restore so your edit is never overwritten. Checkpoints need git on PATH.

/fork starts a new session from this one, even while a turn runs: it copies the log through the last completed step and the turn goes on untouched. Each session records its own workspace, so one window can hold several, and resuming a session from another directory still works where it began. /workspace new makes a git worktree on a corvid/<name> branch, always asking first and never touching your checkout, and delegate_task can give a child a worktree of its own. → Checkpoints

Sees images, and can be steered mid-turn

Paste or drop an image in the app, use /image <path> or @shot.png in corvid chat, or send one over ACP. Images go to a model that reads them, or are described by the vision slot; metadata is stripped first, and a cloud model gets one only if its egress policy allows it. Ctrl+Enter in the app steers a running turn: the message is taken at the next step, and goes to the queue if the turn ends first. The agent can ask you a clarifying question with ask_user, and in the app or corvid chat the turn waits for your answer.

Remembers, and learns skills it has proven

  • Memory. Core blocks, episodic full-text search, a vector index and a bi-temporal fact graph, searched together. Writes are gated: a new fact is staged for you to approve in /memory pending, unless a calibrated decider allows it.
  • Lessons. Per-project lessons sit between facts and skills, with a quality bar and review.
  • Skills. Skills are agentskills.io SKILL.md files in a git-versioned store, with authorship marked user, agent or hub:<source>. Corvid drafts a new skill from a successful task, replays it as a test, and saves it only if the replay passes. ~/.hermes/skills and Hermes' MEMORY.md/USER.md import for review.
  • Consolidation. When you are idle, a background job proposes shorter rewrites of core blocks near their budget. Nothing applies without your review, and a local-only block never reaches a cloud model. /memory consolidate asks now.
  • Compaction. Long sessions compact into a structured record with map-reduce summaries. The standing /goal is re-injected, and /compact <focus> keeps what you name in full.
  • Sessions. Conversations get generated titles (/rename changes one), recaps on request or after an absence, and pins. /search searches what was said across them, leaving out gateway chats and job runs.

→ Memory store · Sleep-time jobs · Lessons · Skills · Compaction

Keeps secrets out of the agent

  • Vault-only keys. Cloud model keys, MCP tokens and bot tokens are Vault secrets, each bound to its host. Corvid never reads keys from the environment, and without Vault cloud models are unavailable.
  • Privacy egress gate. Requests to cloud models are redacted by default (PII and any credential value). The egress ledger keeps each request as it was sent: corvid egress, or the app's Audit page, shows what left the machine.
  • Credential scrub. A token or password a tool returns, or one you paste into a message, is scrubbed before it reaches the event log, memory or any model (so the model sees a marker, not the secret: keep secrets in Vault). Memory and skills refuse one outright.
  • Poisoned MCP tools. MCP tool definitions are pinned on first listing. A tool that changes later, or whose description reads like injected instructions, is held until you review it.

→ Vault · Cloud slots and privacy egress · Credential scrub · MCP pinning

Runs jobs on a schedule

cron_create and its siblings put durable jobs on a schedule. The scheduler wakes on a change or when a session opens, and each job's run reports back where it was created, including a chat on the gateway, and works in that session's workspace. /cron lists jobs, /cron runs shows their history, and you can pause, resume or remove one. → Built-in tools and scheduler

Leaves an audit trail

Everything a session does is an append-only SQLite event log, and the session state is a projection of it. corvid scan runs the detection rules over the whole log afterwards. Add --fail-on high and it exits 4 on a serious finding, which suits CI. corvid traces export writes sessions in the JSONL telemetry schema of Beacon, so Beacon's detections and SIEM forwarding read Corvid like any other agent. OpenTelemetry spans cover the rest. → Session event log · Trace export

Built-in tools and slash commands

Tools the model can call
Files, confined to the workspace read_file, write_file, patch_file, list_files, search_files
Shell and web shell (sandboxed, approved), web_fetch
Code mode, when enabled execute_code
Subagents and questions delegate_task, ask_user
Memory memory_search, memory_add, memory_pending, memory_approve, memory_reject
Schedule cron_create, cron_list, cron_pause, cron_resume, cron_remove
Skills skill_list and the skill tools
From MCP servers server__tool, asking before each call unless the server is trusted
In chat
/help /status /tools /todos the commands, slots with device and latency, the tools with their risk, the session's todo list
/model /model <slot> the generator's (or a slot's) models, numbered, with the current one and what each needs; type a number on the next line to switch
/model [slot] <number | name> [--pin | --default] switch a slot for this session, also while a turn runs; --pin holds it at a turn's end (escalation can still move it), --default sets the default for new sessions
/model unpin <slot> /model reset <slot> drop a pin; forget this session's choice
/architect [on | off | status] plan the next turn (or every turn) with the stronger model, then edit with this one
/goal [text | clear] the standing goal, re-injected across compaction
/agents [show | stop <child>] /delegate this session's child sessions; start one with --mix, --model <slot>=<model>, --tools, --toolset and a budget
/sessions /search /rename /recap /pin recent conversations, search across them, this session's title, a recap, and keeping it at the top
/fork [<position>] /workspace fork this session, also during a turn; list, open, create or remove workspaces and worktrees
/approvals pending approvals and remembered approval rules
/memory /skills review staged memory, lessons and skill drafts; /memory consolidate; import from Hermes
/mcp (diff, accept, allow) servers, their tools, and held tool definitions
/undo /rollback [N] revert the last turn, or go back to a checkpoint
/compact [focus] /cron compact now; scheduled jobs and their runs
/image <path> attach an image to the next message (corvid chat)
/cancel /exit cancel the running turn; leave

In the composer, # text sends a fact through memory's gated write path, staged for review unless Kev allows it, ! command runs a command yourself through the same sandbox and approvals, and !! command does so and keeps it out of what the model sees. \# and \! send the line as a message.

The windowed app

The Corvid app's Board: five sessions and a job run as cards, local, cloud, tainted or read-only, and an attention tray with a question, a held MCP tool, a pairing request, staged memory and a finished job

The Board (demo): every session and job run, and the attention tray of what waits on you. The Sessions page is in the recording at the top.

corvid-app is a desktop app on Uno Platform over the same engine as corvid chat, on the same Corvid home. A session can be driven by one process at a time; open elsewhere, it shows read-only and follows along.

  • Sessions. The conversation with tool cards, approval cards, diffs, the queue, steering and questions, and a dock of changes.
  • Board. Every session and child at a glance, with an attention tray for what waits on you.
  • Review and Rewind. Changes since a point, with comments back to the agent; a timeline of checkpoints to restore.
  • Memory, Skills, Models, Safety, Audit. Review staged memory and consolidations, skill drafts, models and slots with downloads, approval rules and detections, and the event log with the egress ledger.
  • Jobs, MCP, Gateway, Secrets, Settings. Scheduled jobs, held MCP tools, pairing, secret names (never a value), and corvid.json. The app hosts the gateway and scheduler only if you turn that on (Settings › Hosting, or Start on those pages), and the status bar says so while it does.
  • Keys and reach. Ctrl+K opens the palette, and every area works at phone width. corvid-app --demo opens a scripted demo that needs no models.

corvid serve --attach lets a window, or the browser client, attach to an engine running elsewhere. Attached mode covers Sessions and the Board's sessions; the Board's engine status and the other areas stay on the engine's machine. → The app's README · UI design

Ways to talk to it

Command What it is
corvid chat the terminal chat: streaming, a live tool panel, inline approvals
corvid-app the windowed app
corvid acp an Agent Client Protocol agent on stdio for Zed, JetBrains and VS Code, with approvals as the editor's permission prompts (diff included)
corvid serve an OpenAI-compatible endpoint (/v1/chat/completions, /v1/models) for Open WebUI and other front ends, loopback-only by default; --attach also serves windows and the browser client
corvid gateway Telegram, Discord and Slack bots with pairing codes, an owner who answers approvals, and at-least-once delivery
corvid mcp serve Corvid's memory search, skills and, optionally, project lessons offered read-only to another agent over MCP
corvid mcp list · corvid doctor · corvid model · corvid scan · corvid egress · corvid traces export · corvid evals inspection and maintenance

Editors. In Zed, add an agent_servers entry with "command": "corvid", "args": ["acp"]. Start it in the workspace, because a session for another directory is refused.

HTTP. corvid serve listens on http://127.0.0.1:8411. To listen elsewhere, name a Vault secret as the bearer token (corvid-vault set serve.token, with a random value of at least 24 bytes). Nobody can approve a tool call over HTTP, so a call that needs approval fails the request with approval_required. With Approvals: Deny, the model answers without the tool instead.

Attached. corvid serve --attach listens on a Unix socket, with --listen ws://127.0.0.1:8737 adding a loopback port. Every connection needs a token. corvid-app --attach <address> connects, using the owner token over a socket of yours. Any other client pairs as a device: corvid serve pair makes a one-time code for --pair <code>, and corvid serve devices and corvid serve revoke <name> manage them. Listening past loopback needs the owner token in Vault, and the connection has no TLS, so put it behind one.

Gateway. Someone the configuration does not list gets a pairing code and nothing else until you approve it on this machine: corvid gateway pair lists codes, corvid gateway pair approve ABCD-EFGH --owner pairs you, and --guest pairs someone else, whose messages are treated as outside content. Only the owner runs commands and answers approvals. Answers are recorded in a delivery ledger in the event log, so anything unsent goes out after a restart. corvid gateway status shows adapters, pairings and waiting deliveries, and corvid gateway pair tools gives a guest their own tool allowlist. Only one process hosts the gateway at a time. → ACP and HTTP · Gateway · Project memory over MCP

Configuration

Configuration is read from $XDG_CONFIG_HOME/corvid/corvid.json (section Corvid), from CORVID__ environment variables, or from --set key=value, and it is validated at start. → Host and CLI

Models: local, local-server and cloud slots

Remote models go under Corvid:Models:Remote and are named in slots like any other. A cloud key is a Vault secret (corvid-vault set anthropic.key, bound to the provider's host).

{
  "Corvid": {
    "Models": {
      "Remote": {
        "claude": { "Provider": "anthropic", "Model": "claude-opus-5-5", "Secret": "anthropic.key", "ContextWindow": 1000000, "AcceptedContext": 200000 },
        "qwen-27b": { "Provider": "openai-compatible", "Endpoint": "http://127.0.0.1:8080/v1", "Model": "qwen3.5-27b", "ContextWindow": 32768 }
      },
      "Slots": { "generator": { "Model": "qwen3.5-0.8b", "Escalation": ["qwen-27b", "claude"] } }
    },
    "Privacy": { "Cloud": "Redact" }
  }
}

Kev-4B is used only when configured: --set Models:Slots:decider:Escalation:0=kev-4b.

Subagents and model mixes
{
  "Corvid": {
    "Agents": {
      "Models": ["qwen3.5-0.8b", "qwen-27b", "claude"],
      "Mixes": { "reviewers": { "generator": { "Model": "qwen-27b" } } },
      "Toolsets": { "reading": ["read_file", "search_files"] }
    }
  }
}

Models is an optional allowlist of what a child may run: every model a mix names, and any generator, summarizer or vision model it would inherit. A child that would inherit an unlisted model is refused, so list your local generator. Empty means any catalogue model. The names must exist, so this example needs the Models:Remote entries above. The limits are MaxConcurrent (10), MaxDepth (1), MaxSteps (8), MaxTokens (64,000) and MaxSeconds (600).

Code mode, architect/editor turns and memory jobs
{
  "Corvid": {
    "Tools": { "Code": { "Enabled": true, "TimeoutSeconds": 300, "MaxCalls": 50 } },
    "Turn": { "ArchitectEditor": true, "ImageTurns": 2 }
  }
}

Code mode needs a cloud or local-server generator, and corvid doctor lists the Python, Node and .NET runtimes it finds. ImageTurns is how many of the latest messages send their images in full. Background consolidation is on by default, under Corvid:Memory:Consolidation (details).

Kev on the GPU

Use the CUDA build variant. It needs the NVIDIA driver and the CUDA 13 runtime, and corvid doctor checks for both. Place Kev on the GPU:

corvid chat --set Models:Placement:kev-0.8b:Device=cuda --set Models:Placement:kev-0.8b:Fallback=Cpu

or "Models": { "Placement": { "kev-0.8b": { "Device": "cuda", "Fallback": "Cpu" } } } in the file. With Fallback: Cpu, Kev runs on the CPU, with a notice, when the GPU cannot be used. The default Fail leaves decisions on the degraded tier instead. Build the two variants into separate output directories (details).

MCP servers
{
  "Corvid": {
    "Mcp": {
      "Servers": {
        "notes": { "Command": "notes-mcp", "Arguments": ["--stdio"], "ReadOnlyPaths": ["~/notes"] },
        "tracker": { "Url": "https://mcp.tracker.example/mcp", "Secret": "tracker.token", "Trust": "Trusted" }
      }
    }
  }
}

Servers are untrusted by default: every tool asks before it runs, and its description and every result taint the session. "Trust": "Trusted" honours a server's read-only hints. Review held tools with /mcp diff, then take them with /mcp accept, or with /mcp allow for a flagged one, which then always asks. "Corvid:Mcp:Serve:ProjectMemory": true adds get_memory and get_memory_context to corvid mcp serve, serving approved lessons only, never local-only ones. (details)

HTTP endpoint
{ "Corvid": { "Serve": { "Url": "http://0.0.0.0:8411", "TokenSecret": "serve.token", "Approvals": "Fail", "Tools": true } } }
Hosting and the egress ledger
{
  "Corvid": {
    "App": { "HostGateway": false, "HostScheduler": false },
    "Serve": { "Attach": { "TokenSecret": "attach.owner" } },
    "Privacy": { "Ledger": { "RetainDays": 90, "MaxMegabytes": 256 } }
  }
}

The app starts neither the gateway nor the scheduler unless these are on or you press Start on their pages. Without TokenSecret, attached mode's owner token is a 0600 file in the state directory; with it, give the app the token in CORVID_ATTACH_TOKEN to attach as owner. corvid egress prune applies the ledger's limits now.

Messaging gateway
{
  "Corvid": {
    "Gateway": {
      "Adapters": {
        "telegram": { "Enabled": true, "Secret": "telegram.bot", "Owners": ["123456789"] },
        "discord": { "Enabled": true, "Secret": "discord.bot", "Channels": ["1180000000000000000"] },
        "slack": { "Enabled": true, "Secret": "slack.bot", "AppSecret": "slack.app", "HomeChat": "C0123456789",
                   "Chats": { "C0123456789": { "Persona": "Answer briefly.", "Slots": { "generator": "claude" } } } }
      }
    }
  }
}

In vault.json, bind each token to its API host (api.telegram.org, discord.com, slack.com) and toolset gateway. Allow POST as auto, because sends carry no approval. Telegram's token goes in the URL path, so it needs "allowInUrl": true. Under the default "tainted": "ask", answers from a tainted session, such as a chat with a guest, are refused. Set "tainted": "auto" on a token only if guests should get answers.

Detection rules, scans and trace export
corvid scan --fail-on high                     # whole log; --session <id> for one, --json for one document
corvid chat --set Detections:Enforce=false     # record every match without asking
corvid traces export --session <id> --out trace.jsonl

Corvid:Detections:Enforce=false records matches without asking, so scheduled jobs never stop on a rule. Corvid:Detections:Enabled=false turns the inline check off. Trace export redacts secrets and cuts long strings at 4 KiB. --retention metadata keeps names, paths, commands and decisions but no content. Memory tool content is withheld unless --include-local-memory is given. --out writes an owner-only file and never overwrites one. /memory import hermes [<hermes home>] [--dry-run] stages Hermes memories for review, and nothing is written until you approve it.

Status

Pre-release and Linux-first.

Built: everything above, plus calibration tooling with decision export, the golden-trajectory replay harness, the S2 tool-calling golden set and harness, spike S4's harness comparing Kev's tool and done answers with the 600-token state against a transcript-sized one (S4), and a prompt-injection exfiltration canary suite. The full list is in docs/architecture.md, one section per work item. How the windowed app was built, phase by phase, and what each phase left is in docs/plan/ui-handoff.md.

Next: the rest of the agent plan's Phase 3 in docs/plan/corvid-agent.md: media memory, voice and more gateway adapters, and calibrating the decider's floors, which are not yet fitted to measured data. The terminal UI redesign in docs/plan/tui.md is designed, with an inline renderer that never clears your scrollback; its mockups are in docs/plan/tui-mockups/. Today's corvid chat uses a simpler Spectre.Console renderer. Vault's roadmap is docs/plan/vault.md.

Build and test

Requires the .NET 10 SDK (10.0.401 or a later feature band). The Vault tests are Linux-only.

dotnet build Corvid.slnx
dotnet run --project tools/Corvid.Architecture --no-build -- .   # dependency-boundary check
dotnet test --solution Corvid.slnx

Evaluation harnesses (replay, calibration, tool-calling) are described in evals/README.md.

Repository layout

Directory Contents
docs/plan/ the agent plan (corvid-agent.md), Vault (vault.md), the TUI design (tui.md) with its mockups, the windowed UI design (ui.md) with its mockups, and how the app was built (ui-handoff.md)
docs/architecture.md how each built piece works, section by section
docs/spikes/, docs/research/ measured spikes (S1 to S5) and the TUI research notes
docs/media/ the README's recording and screenshots of the app, and how they were made
src/Corvid.Abstractions dependency-free contracts: session events, IEventLog, Envelope, IDecider, IExtractor, ITokenCounter
src/Corvid.Kernel event log and projections, session actors and the turn loop, compaction, durable jobs and the scheduler, checkpoints
src/Corvid.Fabric decision fabric: question catalogue, versioned floors, policy, the degraded decider, the tool shortlist, Kev-4B escalation
src/Corvid.Models model slots, profiles and switching; the privacy egress gate and the Vault-only HTTP pipeline
src/Corvid.Models.Starling in-process Starling adapters: Qwen3.5-0.8B, GLiNER2, EmbeddingGemma 2 and e5, Kev-0.8B and Kev-4B
src/Corvid.Models.Anthropic, .OpenAICompat cloud and local-server providers
src/Corvid.Approvals bash-subset parser, target extraction, hardline deny list, approval modes and rules
src/Corvid.Rules detection rule format, evaluator and the built-in pack
src/Corvid.Secrets credential-value detector and the credential scrub
src/Corvid.Memory memory store and per-project lessons
src/Corvid.Skills SKILL.md loader, git-backed skill store, imports, the learning loop, curator and skill tools
src/Corvid.Tools, .Tools.Builtin, .Tools.Generators tool attributes and registry, the built-in tools, the [Tool] source generator
src/Corvid.Mcp MCP client and server, tool-definition pins and the poisoned-description scan
src/Corvid.Sandbox the sandbox policy and the bubblewrap launch
src/Corvid.Host composition root: configuration, slots, runtime, slash commands, doctor, OpenTelemetry
src/Corvid.Cli the corvid command
src/Corvid.App (+ .App.Core, .App.Engine) the windowed app on Uno Platform: pages, view models and services with no Uno types, and the engine services over the runtime (README)
src/Corvid.Acp, src/Corvid.Http the editor (ACP) and OpenAI-compatible front ends
src/Corvid.Gateway (+ .Telegram, .Discord, .Slack) the messaging gateway and its adapters
src/Corvid.Vault.Contracts, .Vault.Client the wire contract with Vault, and Corvid's side of it (VaultClient, VaultHandler, SecretRef)
vault/Corvid.Vault corvid-vault, the secrets process (README)
sandbox/ corvid-sandbox, the launcher for shell commands and stdio MCP servers
evals/ golden trajectories, the replay and calibration harnesses, the tool-calling golden set, spike code and results
tools/Corvid.Architecture resolved dependency-graph checker
tools/ui-harness.sh drives the app on a headless display
.claude/workflows/ the multi-agent workflows that built the app's phases
tests/ unit, scenario and regression suites for every project above, including Vault's S6

License

Dual-licensed under MIT OR Apache-2.0, at your option. Model weights keep their own terms.

About

Local-first .NET agent built on Starling models, with a calibrated decision fabric (Kev, GLiNER2, embeddings) and Corvid Vault for secrets the model never sees.

corvid.starling.rocks

Topics

ai-agentcsharpdotnetlocal-firstlocal-llmsecrets-managementstarling

Resources

Readme

Code of conduct

Code of conduct
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.