01

Install the CLI

The CLI runs on Node.js 20 or newer.

npm install -g @answerlayer/cli

Prefer not to install it globally? Run npx -y @answerlayer/cli --help.

02

Install the agent skill

The CLI includes a Codex skill that knows how to prepare, start, and verify the local stack.

answerlayer skills install

Then ask your agent: “Start AnswerLayer locally and help me connect a read-only database safely.”

03

Start locally

Your agent will confirm each state-changing step, prepare the local environment, start Docker Compose, and create a local-only organization and scoped CLI key.

git clone https://github.com/AnswerLayer/answerlayer-core.git
cd answerlayer-core
cp .env.example .env
docker compose up --build -d
make local-bootstrap
04

Test real data safely

Run the printed answerlayer init command, then connect a dedicated database account restricted to approved schemas and SELECT only.

answerlayer connections list
answerlayer inquiry ask --connection <connection-id> "What changed in revenue this month?"

Need to deploy AnswerLayer into your own cloud? Explore deployment options.