Skip to content
Lovelace

Getting started

Lovelace is a platform for building with agents.

  1. Sign in

    One account covers every product.

  2. Get an API key

    Sandbox keys belong to a sandbox environment for development and testing. Live keys belong to your live environment; keep them on the server and out of client-side code. Create a sandbox key from the code sample in the next step, or manage all of your keys on the API keys page.

  3. Make your first request

    Lattice Cloud accepts the OpenAI request shape, so the OpenAI SDKs work unchanged. Once you create a sandbox key, it replaces the placeholder in every sample.

    bash
    curl https://lattice.uselovelace.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_LOVELACE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "lovelace:llama-3.2-3b-instruct",
        "messages": [{ "role": "user", "content": "Summarize the release notes in one sentence." }]
      }'
    Example response200 OK
    {
      "model": "lovelace:llama-3.2-3b-instruct",
      "choices": [{ "message": {
        "role": "assistant",
        "content": "Version 2.4 adds offline sync, fixes the login timeout, and drops support for Node 18."
      }}]
    }
  4. Choose your level

    Each product is a different level of abstraction. Start with the one closest to what you are building.

    Prefer to work from a terminal, an editor, or an MCP client? See the developer tools.