DocsGetting StartedBasic Configuration

Basic Configuration

Configure your agents and workspace settings.

Lattice agents can be configured through the dashboard, CLI, or programmatically via the SDK.

Configuration File

Create a lattice.config.js file in your project root:

javascript
// lattice.config.js
module.exports = {
  workspace: 'my-workspace',
  defaultModel: 'gpt-4-turbo',
  logging: {
    level: 'info',
    destination: 'cloud'
  },
  limits: {
    maxTokensPerDay: 1000000,
    maxConcurrentAgents: 10
  }
};

Environment Variables

bash
LATTICE_API_KEY=your_api_key
LATTICE_WORKSPACE=my-workspace
LATTICE_LOG_LEVEL=debug

Never commit your API keys to version control. Use environment variables or a secrets manager.

Lattice.inc | AI Infrastructure for Autonomous Business Operations