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

# Develop a job

> Initialize, develop, and locally test batch processing jobs using the Blaxel CLI and SDK in TypeScript or Python.

Jobs allow you to run many AI tasks in parallel using batch processing. Read the [introduction for a lexicon on jobs, tasks, and executions](Overview).

## Quickstart

<Warning>It is required to have *npm* (TypeScript) *or uv* (Python) installed to use the following command.</Warning>

You can quickly **initialize a new job from scratch** by using the CLI command `bl new job`.

```bash theme={null}
bl new job
```

This will create a pre-scaffolded local directory where your entire code can be added. In the generated folder, you'll find a boilerplate job with multiple steps in the entrypoint file `src/index.ts` / `src/main.py`. You can update this boilerplate job to your specific requirements, and manage and control job execution using the Blaxel [TypeScript](/Jobs/Manage-job-execution-ts) or [Python](/Jobs/Manage-job-execution-py) SDKs.

The template used to generate the boilerplate job is available in Blaxel's public GitHub repository ([TypeScript](https://github.com/blaxel-templates/template-jobs-ts) / [Python](https://github.com/blaxel-templates/template-jobs-py)).

Start the job locally:

```bash theme={null}
# Run the job with a sample batch file
bl run job <<JOB-NAME>> --local --file batches/sample-batch.json

# Or directly with --data argument
bl run job <<JOB-NAME>> --local --data '{"tasks": [{"name": "John"}]}'

# Or without blaxel CLI
pnpm start --name John
```

<CardGroup cols={2}>
  <Card title="TypeScript" icon="js" href="https://github.com/blaxel-templates/template-jobs-ts">
    See a sample implementation of a job using Blaxel's TypeScript SDK
  </Card>

  <Card title="Python" icon="python" href="https://github.com/blaxel-templates/template-jobs-py">
    See a sample implementation of a job using Blaxel's Python SDK
  </Card>
</CardGroup>

<Card title="Deploy a job" icon="server" href="/Jobs/Deploy-a-job">
  Learn how to deploy your AI batch jobs on Blaxel as a serverless auto-scalable endpoint.
</Card>
