# Job Search Assistant AI Agent (`harvestlabs/job-search-assistant-ai-agent`) Actor

Automates the process of finding job listings based on user-defined preferences. Analyzes job postings, scores them based on relevance, and even generates tailored cover letters for each opportunity.

- **URL**: https://apify.com/harvestlabs/job-search-assistant-ai-agent.md
- **Developed by:** [harvest-org](https://apify.com/harvestlabs) (community)
- **Categories:** AI, Agents, Jobs
- **Features:** Full permissions
- **Stats:** 104 total users, 1 monthly users, 100.0% runs succeeded, 7 bookmarks
- **User rating**: 4.57 out of 5 stars

## Pricing

from $1,000.00 / 1,000 actor intializations

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Job Search AI Agent

### Overview

Job Search AI Agent is an Apify Actor that automates the process of finding job listings based on user-defined preferences. By leveraging OpenAI's GPT capabilities, it analyzes job postings, scores them based on relevance, and even generates tailored cover letters for each opportunity.

### Features

- **Automated Job Searching:** Finds jobs on platforms like Indeed, and NoWhiteboard.
- **AI-Powered Matching:** Uses OpenAI to score job postings based on the provided preferences.
- **Resume Analysis:** Parses a provided resume to improve job recommendations.
- **Custom Cover Letter Generation:** Generates personalized cover letters for each matched job.

![Workflow Diagram](https://raw.githubusercontent.com/JEBishop/job-search-ai-agent/main/agent_flow.png)

### Input Configuration

The actor uses the following input parameters:

```json
{
    "title": "Job Search AI Agent",
    "type": "object",
    "schemaVersion": 1,
    "properties": {
        "jobPreferences": {
            "title": "Job Preferences",
            "type": "string",
            "description": "Your job preferences (i.e. remote, title, location, etc.)",
            "editor": "textfield",
            "prefill": "I'm looking for remote software engineering roles in San Francisco, CA."
        },
        "OPENAI_API_KEY": {
            "title": "OpenAI API Key",
            "type": "string",
            "description": "The API key to use for prompting ChatGPT. You will be charged for usage if you don't supply your own API key.",
            "editor": "textfield"
        },
        "resumePath": {
            "title": "Resume URL Path",
            "type": "string",
            "description": "The URL of the resume to parse.",
            "editor": "textfield"
        },
        "platform": {
            "title": "Platform",
            "type": "string",
            "enum": ["indeed", "nowhiteboard"],
            "description": "Job platform to return.",
            "editor": "select",
            "prefill": "nowhiteboard"
        }
    },
    "required": ["jobPreferences"]
}
```

### Output

#### Be sure to check the "Storage > Key-value store output tab for the HTML/MD report files.

The actor returns a list of matched job opportunities, including:

- **Title**
- **Company**
- **Location**
- **Match Score**
- **Reason for match**
- **AI-Generated Cover Letter**

Example output:
![Sample output HTML](https://raw.githubusercontent.com/JEBishop/job-search-ai-agent/main/sample_html.png)

```json
[
    {
        "title": "iOS Application Developer - Health Software",
        "company": "Apple",
        "location": "Sunnyvale, CA",
        "match_score": 85,
        "match_reason": "Relevant experience in healthcare and mobile app development aligns with the job requirements for health software development.",
        "sample_cover_letter": "Dear Hiring Manager,\n\nI am writing to express my interest in the iOS Application Developer position at Apple. With extensive experience in mobile application development and a passion for health technology, I am excited about the opportunity to contribute to Apple's Health team. My background in software engineering, coupled with my experience optimizing API responses, aligns perfectly with the requirements of this role. I look forward to the possibility of discussing how I can contribute to your innovative projects.\n\nSincerely,\nJosh Bishop"
    },
    {
        "title": "DevOps Engineer",
        "company": "Capgemini",
        "location": "San Francisco, CA",
        "match_score": 75,
        "match_reason": "Experience in backend development and involvement in continuous integration and delivery can contribute to DevOps responsibilities.",
        "sample_cover_letter": "Dear Hiring Manager,\n\nI am eager to apply for the DevOps Engineer role at Capgemini. My experience leading backend projects and improving operational workflows has equipped me with the skills necessary for this position. I thrive in environments where collaboration and problem-solving are key, and I am excited to bring my expertise to your team.\n\nBest regards,\nJosh Bishop"
    },
    {
        "title": "Software Quality Assurance Engineer - Security",
        "company": "Apple",
        "location": "Cupertino, CA",
        "match_score": 80,
        "match_reason": "Strong background in software development and testing practices matches the requirements for quality assurance roles focused on security.",
        "sample_cover_letter": "Dear Hiring Manager,\n\nI am writing to express my interest in the Software Quality Assurance Engineer position at Apple. With my background in backend development and my experience in ensuring the quality of complex software systems, I am well-prepared to contribute to your team. My focus on best practices in software engineering ensures that I can effectively help maintain the high standards associated with Apple's products.\n\nSincerely,\nJosh Bishop"
    },
    {
        "title": "Software Engineering Manager, Health",
        "company": "Apple",
        "location": "Sunnyvale, CA",
        "match_score": 78,
        "match_reason": "Leadership experience in software development aligns well with the managerial aspect of this role in the health sector.",
        "sample_cover_letter": "Dear Hiring Manager,\n\nI am interested in the Software Engineering Manager position at Apple. With my experience leading teams in high-stakes environments and my passion for health technology, I believe I would excel in this role. I look forward to the opportunity to leverage my skills to further enhance Apple's innovative health solutions.\n\nBest regards,\nJosh Bishop"
    },
    {
        "title": "Software Engineer",
        "company": "Visa",
        "location": "Foster City, CA",
        "match_score": 70,
        "match_reason": "Experience in back-end technologies and software development can contribute to Visa's payment technology projects.",
        "sample_cover_letter": "Dear Hiring Manager,\n\nI am excited to apply for the Software Engineer position at Visa. My extensive experience in software development, combined with my collaborative spirit, makes me a strong candidate for this role. I am eager to contribute to your team and help build innovative payment solutions.\n\nThank you,\nJosh Bishop"
    },
    {
        "title": "Full Stack Engineer",
        "company": "Corelight",
        "location": "San Francisco, CA",
        "match_score": 85,
        "match_reason": "My experience with modern tech stacks and full-cycle development makes me an ideal fit for this role in a cybersecurity context.",
        "sample_cover_letter": "Dear Hiring Manager,\n\nI am writing to express my enthusiasm for the Full Stack Engineer position at Corelight. With a strong foundation in both front-end and back-end development and a passion for cybersecurity, I am excited about the opportunity to contribute to your innovative team. I look forward to discussing how my skills and experiences align with your company's goals.\n\nWarm regards,\nJosh Bishop"
    }
]
```

### Pricing

This actor operates on a **pay-per-event** model:

- **Actor Initialization:** $1 per run
- **Resume Parse:** $0.25 per page
- **Job Result:** $0.05 per result returned

### Usage Instructions

1. Deploy the actor on Apify.
2. Provide the required input parameters.
3. Run the actor to fetch job listings and AI-generated cover letters.
4. Review the output and apply to jobs efficiently.

### Requirements

- Apify account
- OpenAI API key
- Resume hosted at a publicly accessible URL

### Support

For any issues or feature requests, please reach out via the Apify community or GitHub repository.

***

**Note:** This actor relies on third-party job platforms, and availability of job listings may vary based on platform restrictions.

# Actor input Schema

## `jobPreferences` (type: `string`):

Your job preferences (i.e. remote, title, location, etc.)

## `OPENAI_API_KEY` (type: `string`):

The API key to use for prompting ChatGPT. You will be charged for usage if you don't supply your own API key.

## `resumePath` (type: `string`):

The URL of the resume to parse.

## Actor input object example

```json
{
  "jobPreferences": "I'm looking for remote software engineering roles in California.",
  "resumePath": "https://raw.githubusercontent.com/JEBishop/job-search-ai-agent/main/Sample-Resume.pdf"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "jobPreferences": "I'm looking for remote software engineering roles in California.",
    "resumePath": "https://raw.githubusercontent.com/JEBishop/job-search-ai-agent/main/Sample-Resume.pdf"
};

// Run the Actor and wait for it to finish
const run = await client.actor("harvestlabs/job-search-assistant-ai-agent").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "jobPreferences": "I'm looking for remote software engineering roles in California.",
    "resumePath": "https://raw.githubusercontent.com/JEBishop/job-search-ai-agent/main/Sample-Resume.pdf",
}

# Run the Actor and wait for it to finish
run = client.actor("harvestlabs/job-search-assistant-ai-agent").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "jobPreferences": "I'\''m looking for remote software engineering roles in California.",
  "resumePath": "https://raw.githubusercontent.com/JEBishop/job-search-ai-agent/main/Sample-Resume.pdf"
}' |
apify call harvestlabs/job-search-assistant-ai-agent --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,harvestlabs/job-search-assistant-ai-agent"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/owGMR16wtUUsBSbB4/builds/MrnWMBF8aR0gSIy5M/openapi.json
