skip to content

theparanoidassistant.

one rust binary, 22 providers, 7 channels, encrypted everything. 3.4 MB. 481 tests. zero clippy warnings.

0tests
0.0MB
0+providers
0channels
0warnings
100%rust

we actually read the CVEs.

key generation
let key: [u8; 32] = rand::thread_rng().gen();

not UUID v4. not Math.random(). real entropy from the OS CSPRNG.

constant-time comparison
let max_len = a.len().max(b.len());
let mut diff = 0u8;
for i in 0..max_len {
    diff |= a.get(i).unwrap_or(&0)
          ^ b.get(i).unwrap_or(&0);
}

timing is flat. no early return. no length leak. prevents side-channel attacks on pairing codes.

atomic writes
fs::write(&tmp_path, data)?;
tmp_file.sync_all()?;
fs::rename(&tmp_path, &final_path)?;

crash at any point and the old file is intact. the pattern databases have used for decades.

everything is a trait.

swap any subsystem with a config change. zero code changes.

baihu

runs everywhere.

all channels simultaneously. same agent, same memory, same tools.

telegram
explain SSRF
SSRF is when an attacker tricks your server into making requests to internal services...
discord
what's new in v0.2?
parking_lot mutexes, mimalloc allocator, hybrid memory search with BM25 + vector cosine.
slack
summarize today's PRs
3 PRs merged: gateway pairing rework, SSRF blocklist, atomic config writes.
matrix
deploy status?
all systems nominal. daemon uptime 14d 6h. 0 restarts.
whatsapp
remind me at 5pm
scheduled. i'll ping you at 17:00.
cli
$ baihu agent
> ready. 22 providers loaded, memory at 481 entries.
webhook
POST /api/chat
{"status":"ok","response":"..."}
$ git clone https://github.com/visualstudioblyat/baihu.git
$ cd baihu && cargo build --release
$ ./target/release/baihu onboard --interactive