man/technology

A node on your machine.

Raven separates identity, encrypted envelopes, and transport. The terminal controls the node; a supported carrier connects it to a peer.

RVN1: identity, envelope, carrier.

RVN1 specifies a signed envelope and identity model that supported Raven hosts can use across multiple carriers.

Cryptographic host identity

Public identity material identifies a peer; verified fingerprints and pinned keys establish local trust.

One envelope across supported paths

The host seals the payload before transmission. Optional relays can forward the envelope without receiving the decryption keys of the endpoint.

Protocol and implementation

A public specification is not a promise that every carrier or profile is implemented in every build. Use the current conformance and implementation notes.

system/components

One protocol. Clear responsibilities.

The terminal build lives in the Rust workspace. These components keep the host, the command interface, and the wire format distinct.

Raven core library

Local identity, addresses, envelope processing, ATSAM primitives, routing policy, and queue components.

Raven node service

The receiving service and authenticated peer path, local control interfaces, and explicit bridge pull support. A node runs on a host that its peers can reach.

raven terminal

The CLI for identity, contacts, messaging, inbox, and status. The Rust package is ash; raven and ash are executables built from the same CLI code.

RDAP companion

Agent task delegation through A2A, with separate identity and carrier configuration. Integration with the protected identity and encrypted session path of the production node is incomplete.

transport/architecture

Multiple carriers. One envelope.

Raven hosts can use multiple transports. A transport hierarchy describes the architecture; availability follows the build and the host.

Raven node · carrier hierarchy
[ your machine ]
       │
   RAVEN NODE
       │  RVN1 signed envelope
       │
       ├── Internet P2P
       │   libp2p · experimental
       │
       ├── Local network
       │   LAN / direct peer
       │
       └── Optional local transport
           Bluetooth · adapter required

Internet P2P · libp2p

The architecture includes peer discovery and encrypted peer to peer streams over libp2p. Full DHT, relay coordination, and hole punching across real NATs remain experimental in the terminal path.

Local network · direct peer

The current CLI dials the secure LAN endpoint of a verified contact. Reachable hosts communicate directly without a central messaging service operated by Raven.

Optional local transport · Bluetooth

Bluetooth can carry RVN1 envelopes where a compatible adapter is available. Real headless GATT support is not complete in the Raven node; the CI BLE adapter is a mock. Servers can run Raven without Bluetooth. Bluetooth nearby is a lab feature, off in every build for now; its parts for macOS, Windows and Linux are on GitHub.

transport/forwarding

A Raven node can act as a blind relay when enabled.

RVN1 forwarding is designed to move the same sealed payload between carriers. A relay is a host participating in the configured path.

Store and forward

Queues, bounded replication, hop limits, expiration, and duplicate handling support delayed forwarding. These controls do not guarantee that a reachable route exists.

Explicit bridge support

Authenticated bridge pull clients are available. Automatic production A→B→C discovery is not connected to the CLI send path; a bridge harness is evidence for that harness.

Optional Bluetooth

Bluetooth requires suitable hardware and a compatible carrier. The mock adapter of the headless node is useful for software tests but is not evidence of physical GATT operation.

security/session

Authenticate before sending.

The normal terminal node refuses to originate a message without the supported authenticated session setup. Unsafe lab profiles are not a production substitute.

Verify the public identity

Compare the fingerprint of the peer through a trusted channel and pin the public key. An @tag is a local convenience, not an independent trust authority.

Seal locally on the host

Payload protection happens at the endpoints before the envelope enters a carrier. Relay code is not entrusted with endpoint decryption keys.

Match the supported profile

ATSAM specifications cover more than the current terminal implementation. Full ML KEM pairing and post quantum ratchet interoperability have separate conformance and release gates.

interface/commands

Run Raven from your shell.

These commands use the existing raven executable. Install prerequisites and follow the node setup guide for your operating system.

source build
git clone https://github.com/Raven-ASHCO/raven-core.git
cd raven-core/node
cargo build --release --locked -p ash -p raven-node
  1. Get the Raven source from GitHub.
  2. Go into its node folder, the Rust workspace.
  3. Build the raven command and the Raven node for release, with the dependency versions locked.

The programs are created in target/release in the node folder. The install script for your system copies them to a folder on your PATH and sets up the Raven node as a login service. Windows uses raven.exe.

Identity and contacts

Create your identity, print your card, add a friend from their card, then check their ten security words.

identity and contacts
raven init
raven whoami --card
raven contact add --card '<card line>' --petname Alice
raven contact verify Alice

Listen, chat, inspect

Listen on your networks, open a chat, read your inbox and see what this computer can send and receive.

listen, chat, inspect
raven listen
raven send --contact Alice --chat
raven inbox
raven status

Before a conversation

Both hosts need an identity, the pinned public details of each other and a reachable listener. While finding friends on a new network by itself is off in release builds, each side saves the local network address of the other once. The Commands page lists every step.

communication/agents

Signed tasks are a separate security boundary.

RDAP verifies trusted requests and signed task envelopes. Its current keys, state, and carriers remain separate from Raven Node.

HTTP, HTTPS, and Git

Direct A2A requests are signed. HTTP needs HTTPS or another protected layer for confidentiality. A Git carrier depends on a configured shared repository and its access controls.

Experimental mailbox

The optional Raven swarm mailbox adapter carries signed plaintext and is disabled by default. It does not provide the end to end confidentiality of the production node.

Configured model providers

The operator selects a local or hosted model. Task text and permitted project context may be sent to that provider; a peer signature does not change how the provider handles data.

linux / windows / macos

Terminal native. By design.

Raven is terminal native and targets Linux, Windows, and macOS. The CLI is the intended product interface. Backend initialization and service readiness differ by platform; see the installation FAQ.

Linux

Build the CLI from source for a shell or plain TTY. Raven keeps your keys in the desktop keyring when one is unlocked, and otherwise in a file encrypted with a passphrase you choose. Bluetooth is optional.

Windows

Clone the repository, build the Rust workspace, and run Raven directly from PowerShell or Windows Terminal.

macOS

Run the same Raven CLI from Terminal.app, iTerm2, or any compatible shell. The protocol and identity model remain the same across macOS, Linux, and Windows.

Communication between operating system hosts.

Raven is designed to let humans, machines, and software agents establish authenticated, encrypted communication without a mandatory central messaging service.

Host identity and explicit peers

Generate identity locally and verify the peer that will receive a message or task.

Multiple transports and optional relays

Support direct peers, encrypted forwarding, and operation on degraded networks through implemented carriers.

Human and machine communication

Make the CLI a stable interface for people and hosts. RDAP agent exchange is part of the direction; its shared identity and encrypted node integration are not yet complete.

An open protocol and reviewable implementation

Publish specifications, source, and test evidence. Name the implementation and validation limits of every supported path.

engineering/evidence

Read the implementation boundary.

Software checks establish only the behavior they exercise. Real network traversal, physical Bluetooth, cryptographic interoperability, and independent security review need their own evidence.