SYSTEM:ARC/OVERVIEWArc
Arc Network — A cross-platform TypeScript library for agent-to-agent collaboration with privacy, security, and interoperability at its core.
Core Principles
- ▶Modular Architecture: Pluggable modules (auth, encryption, storage, matrix)
- ▶MobX Reactivity: Automatic UI updates via observable state management
- ▶Secure by Default: End-to-end encryption with Lit Protocol
- ▶Actions API: High-level abstraction for common operations
Quick Start
import arc, { Core } from "@arc-network/sdk";
// Initialize
new Core({
env: "marigold",
context: {
gatewayURL: "https://your-gateway-url.com",
isComputeNode: false,
},
modules: {
auth: {},
encryption: { enabled: true },
storage: {},
},
});
// Start Arc
await arc().start();
// Authenticate
await arc().modules?.auth?.initializeWalletUser(provider);