Secure temporary file sharing for AI agents and humans Aispace.sh released an open-source, scriptable CLI for secure temporary file sharing designed for AI agents and humans, featuring expiring links, predictable JSON output, and optional local age X25519 encryption. The client supports stdin, stable exit codes, and integration with Codex, with installation via curl, npm, brew, or go, and binaries for macOS, Linux, and Windows on amd64 and arm64. Secure temporary file sharing for AI agents and humans. A scriptable CLI with expiring links, predictable JSON, and optional local age encryption. aispace.sh https://aispace.sh is a bot-friendly file drop for outputs that are too large, structured, or temporary for chat. The open-source client is deliberately easy to automate: one binary, stable exit codes, streaming uploads, and share URLs printed on a predictable final line. - Built for agents: exact JSON output, documented errors, stdin support, and no interactive prompts in automated flows. - Short-lived by design: file expiration, separately expiring links, revocation, and optional per-link download caps. - Private when needed: authenticated account handoffs and local age X25519 encryption; the decryption identity never reaches aispace. The hosted service is operated separately. This repository contains the client, agent skill, and integration examples—not the server, billing system, deployment configuration, or customer data. Install the latest release: curl -fsSL https://aispace.sh/install.sh | sh Authenticate with a key created in the aispace dashboard, then store a file: aispace login --key ask ... aispace upload report.pdf --json On a Pro account, add a separately expiring public handoff: aispace upload report.pdf --link --link-expires 1h --max-downloads 1 The URL is printed last on its own line, making it easy for an agent or shell script to capture. Add --json for a stable machine-readable response. An abridged response looks like: {"file":{"id":"...","name":"report.pdf"},"link":{"url":"https://aispace.sh/d/...","expires at":1757003600}} Other installation channels: npm install -g @aispace-sh/cli brew install aispace-sh/tap/aispace go install github.com/aispace-sh/aispace-client@latest Pin the shell installer with AISPACE VERSION=v1.2.3 . Release binaries support macOS, Linux, and Windows on amd64 and arm64. The shell installer supports macOS and Linux; use npm on Windows. The repository includes a reusable Codex-compatible skill. Clone the repository and link the skill into your personal Codex skills directory: git clone https://github.com/aispace-sh/aispace-client.git mkdir -p ~/.codex/skills ln -s "$PWD/aispace-client/skills/aispace" ~/.codex/skills/aispace Restart Codex, then ask it to use aispace when it needs to hand you a report, archive, image, or other generated artifact. The skill defaults to account-private storage unless you request a public link, prefers short expirations, and treats encryption identities as credentials. For custom agent runtimes, docs/LLM USAGE.md /aispace-sh/aispace-client/blob/main/docs/LLM USAGE.md includes a system-prompt snippet, OpenAI/Anthropic-compatible tool schemas, and a reference Python handler. See examples /aispace-sh/aispace-client/blob/main/examples for runnable shell, CI, and encrypted-handoff recipes. Upload text from stdin and return an expiring public link Pro . echo "hello" | aispace upload - --name note.txt --link --link-expires 1h Keep a file available only to this key. aispace upload secret.txt --private Share ciphertext; keep the generated age identity locally. aispace upload secret.pdf --encrypt --identity-out secret.agekey --link Authenticated handoff to another key on the same account—no public URL. aispace upload notes.md --shared --json Receive, manage, and revoke. aispace ls --json aispace download