# ASL (AgentScript Language) — The Agent Way // Agentic Programming (AgP) > The universal language substrate and ecosystem glue for human-agent symbiosis and autonomous agent societies. ## Overview - Spec Version: 1.0 (Closed, 107 Safe Pure Builtins, 0 Semantic Drift) - Paradigm: Agentic Programming (AgP) // The Agent Way - Architecture: Single-pass deterministic S-expressions, typed contracts, zero indentation ambiguity - Performance: WASI isolate execution <0.04ms, 78% prompt token reduction via interface compression - Wire Protocol: AgP A2A (Agent-to-Agent) S-expression streaming over MCP, SSE, and Unix Domain Sockets ## Core Ecosystem Packages (@genseam/*) - @genseam/asl: Language compiler, grammar, and differential verification gates across Rust, TS, Go, Python, and Wasm. - @genseam/harness: Meta-Agent Harness engine for lifecycle supervision and speculative task pool execution. - @genseam/skills: Universal agent skills marketplace for Claude Code, Cursor, Antigravity, and Windsurf. - @genseam/agent-bus: In-memory Unix socket & SSE bus for warm subagent orchestration in <0.04ms. - @genseam/browser-plugin: Headless DOM tree compression (-78% tokens) and WASI action runner. - @genseam/search: SearXNG decentralized multi-engine search with proxy pool rotation. - @genseam/mem: In-memory vector database and cosine similarity search in 64KB Wasm. ## Installation ```bash curl -fsSL https://aslang.dev/install.sh | bash ``` ## Quick Start (AgP Contract) ```lisp (module math/vector (:export dot-product cosine-sim) (defun dot-product ((a (List F64)) (b (List F64))) (Result F64 Str) (if (!= (len a) (len b)) (Err "dimension mismatch") (Ok (fold + 0.0 (zip-with * a b)))))) ``` ## Full Reference - Full Documentation: https://aslang.dev/llms-full.txt - GitHub Repository: https://github.com/GenSEAM/asl