About Bytepack Js
Bytepack Js is an MCP server in the Developer Tools category: fixed-size binary encoding for AI agents (JavaScript). 20x more compact than JSON.
Install
git clone https://github.com/Sutr-dev999/bytepack-jsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Bytepack Js
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
bytepack-encode
Fixed-size binary encoding for AI agent communication. 20x more compact than JSON.
Install
npm install bytepack-encode
Usage
const { encode, decode, health } = require('bytepack-encode');
// Encode any structured data → fixed 2,556 bytes
const result = await encode({
action: 'observe',
domain: 'market',
asset: 'BTC',
confidence: 'high',
});
console.log(`${result.s} bytes`); // 2556
// Decode back
const data = await decode(result.b64);
API
encode(data, options?)
Encode structured data into fixed-size binary.
decode(binaryB64, options?)
Decode base64 binary back to structured data.
health(options?)
Check service status.
Options
url— Override service URL (default:BYTEPACK_URLenv orhttps://sutr.lol)timeout— Request timeout in ms (default: 10000)
Benchmarks
| Metric | JSON | bytepack |
|---|---|---|
| Size | 5,000-50,000 bytes | 2,556 bytes |
| Fixed size? | No | Yes |
| Transport | Text | Any |
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.