> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK No-Code Agent Quickstart

> Learn how to quickly get started with evaluating AI agents using no-code agents and the Maxim SDK

## What are No-code Agents?

No-code agents in Maxim allow you to create multi-step AI workflows without code. You can chain multiple prompts together, use variables, and create complex agent-like behaviors through the Maxim platform's no-code builder.

## Installation

First, install the Maxim SDK for your preferred language:

<CodeGroup>
  ```bash Python theme={null}
  pip install maxim-py
  ```

  ```bash JS/TS theme={null}
  npm install @maximai/maxim-js
  ```
</CodeGroup>

## Getting Your API Key

Before you can use the Maxim SDK, you need to obtain an API key from the Maxim platform:

1. **Log in to Maxim**: Go to [app.getmaxim.ai/login](https://app.getmaxim.ai/login) and sign in to your account
2. **Navigate to Settings**: Click on "Settings" in the left sidebar
3. **Go to API Keys**: Click on "API keys" under "Organization settings"
4. **Generate New Key**: Click the "Generate new" button
5. **Name Your Key**: Enter a descriptive name for your API key (e.g., "Development", "CI/CD", "Local Testing")
6. **Copy the Key**: Once generated, copy the API key immediately - you won't be able to see it again

<Warning>Store your API key securely! You won't be able to view the complete key value again after closing the generation dialog.</Warning>

## Configuration

Initialize the Maxim SDK with your API key and workspace information:

<CodeGroup>
  ```python Python theme={null}
  from maxim import Maxim

  # Initialize Maxim SDK

  maxim = Maxim({"api_key": "your-api-key"})

  ```

  ```typescript JS/TS theme={null}
  import { Maxim } from '@maximai/maxim-js';

  // Initialize Maxim SDK
  const maxim = new Maxim({
    apiKey: 'your-api-key',
  });
  ```
</CodeGroup>

## Basic No-code Agent Test Run

Here's how to create and run a basic no-code agent evaluation test run using a dataset:

<CodeGroup>
  ```python Python theme={null}
  # Create a test run with no-code agent

  result = (
      maxim.create_test_run(
          name="Basic No-code Agent Evaluation",
          in_workspace_id="your-workspace-id",
      )
      .with_data_structure({"input": "INPUT", "expected_output": "EXPECTED_OUTPUT"})
      .with_data("your-dataset-id")
      .with_evaluators("Bias")
      .with_prompt_chain_version_id("your-prompt-chain-version-id")
      .run()
  )

  print(f"Test run completed! View results: {result.test_run_result.link}")

  ```

  ```typescript JS/TS theme={null}
  // Create a test run with no-code agent
  const result = await maxim
    .createTestRun(
      'Basic No-code Agent Evaluation',
      'your-workspace-id'
    )
    .withDataStructure({
      Input: 'INPUT',
      'Expected Output': 'EXPECTED_OUTPUT',
    })
    .withData('your-dataset-id')
    .withEvaluators('Bias')
    .withPromptChainVersionId('your-prompt-chain-version-id')
    .run();

  console.log(`Test run completed! View results: ${result.testRunResult.link}`);
  ```
</CodeGroup>

## Next Steps

Now that you've run your first no-code agent evaluation, explore these guides:

* [Local Agent Testing](/offline-evals/via-sdk/local-agent) - Learn how to create custom agents with local logic using yields\_output
* [Agent on Maxim](/offline-evals/via-sdk/agent-no-code/agent-on-maxim) - Use no-code agents stored on the Maxim platform

<Note>
  For complex multi-agent workflows, consider using the [Maxim observability features](/online-evals/overview) to trace individual steps and
  debug no-code agent execution.
</Note>

<Note>[Schedule a demo](https://getmaxim.ai/demo) to see how Maxim AI helps teams ship reliable agents.</Note>
