Clients

Clients

Epochal maintains open-source clients at github.com/epochal-org/epochal: a CLI, an MCP server, and SDKs for Rust and Python. All clients read your API key from EPOCHAL_API_KEY.

ClientPackagePurpose
CLIepochal-cli (crates.io)Run Claude Code, Codex, or Grok Build inside a time-gated sandbox, or call Search and Fetch from the shell
MCP Serverepochal-mcp (crates.io)Expose time-gated web_search and web_fetch MCP tools to any agent
SDKsepochal-api (crates.io, PyPI), epochal-sandbox (crates.io, PyPI)Typed API clients plus sandbox command execution, output streaming, and file transfer

Setup

Export EPOCHAL_API_KEY before using any client. Set EPOCHAL_BASE_URL if you need to override the default API base URL (https://api.epochal.com).

Get API Key

Shell

bash

export EPOCHAL_API_KEY="ek_…"

A date-only cutoff such as 2024-10-06 resolves to 2024-10-06T23:59:59Z. See How the Instant Works.

Next steps

CLI

Run an agent inside the Time Portal with one command.

MCP Server

Expose time-gated web search and fetch tools to MCP-compatible agents.

SDKs

The epochal-api and epochal-sandbox packages for Rust and Python.