---
title: "Frontline for AI agents: CLI, MCP server and REST API"
description: "Frontline is a CRM your AI agents can run. Build your exact CRM on the Free plan, then work it through the CLI, the REST API or the MCP server with 200+ tools."
canonical: "https://www.getfrontline.ai/en/agents"
language: "en"
image: "https://cdn.ploy.ai/6eb8e7fc-f32e-4425-a7a1-206f93c19f37/user/0ec72fa8-frontline-social-sharing-preview.webp"
---
# The CRM your agents can run

Build your exact CRM free, then work it from the CLI, API or MCP.

[Start free](https://app.getfrontline.ai/)[Connect your agent](https://www.getfrontline.ai/en/agents/connect)

`npm install -g @getfrontline/cli`

## Watch an agent build a CRM

Two custom objects, new and renamed fields, 260 records in bulk and a Kanban board, all from the CLI on the Free plan. The agent gets JSON back. The right side shows what changes in Frontline.

Solar installs in Frontline

1. Set up Frontline to track our solar installs and crews. Import this quarter's 248 jobs, give me a board by status, then find the Oakland one.
2. Bashfrontline auth whoami
maya@brightpath.solar · workspace Brightpath Solar
3. Bashfrontline object create \--data '{ "name": "installs", … }'
Created object installs
4. Bashfrontline object create \--data '{ "name": "crews", … }'
Created object crews
5. Bashfrontline object field create installs \--data '{ … }'
5 calls
Created 5 fields: company, crew, size, install\_date, status
6. Bashfrontline object field update installs 4182 \--data '{ "name": "System size (kW)" }'
Updated field size · System size (kW)
7. Bashfrontline object record bulk-create crews \--data "$(cat crews.json)"
Created 12 records
8. Bashfrontline object record bulk-create installs \--data "$(cat installs-1.json)"
3 calls
Created 248 records in 3 batches
9. Bashfrontline object view create installs \--data '{ "name": "By status", … }'
Created view By status · Kanban, grouped by status
10. Bashfrontline object record list installs \--search "Oakland"
1 record · Oakland depot
11. Installs and Crews are set up. 248 jobs are imported and linked to 12 crews, with a By status board. The Oakland one is Oakland depot for Bayline Logistics, waiting on a permit.

Type / for commands

CRM

- Home
- To-do's2
- Meetings
- Contact sync

Records

- Leads
- Contacts
- Companies
- Deals

- Installs

- Crews

- View all

Installs

By status

Oakland

Filter

Permit pending1

Oakland depot

180 kW

Oakland A

BLBayline Logistics

Redwood clinic annex

56 kW

Peninsula A

RCRedwood Clinic

Hayward freight yard

240 kW

Hayward A

HFHayward Freight

Scheduled0

Harbor Bakery rooftop

42 kW

Peninsula A

HBHarbor Bakery

Sunset Storage carport

96 kW

Peninsula B

SSSunset Storage

Harbor Bakery depot

34 kW

San Jose B

HBHarbor Bakery

Installing0

Fremont plant roof

210 kW

Fremont A

FTFremont Tool Works

Alameda press hall

120 kW

Oakland B

APAlameda Print Co

Live0

Mesa clinic

64 kW

Sacramento B

MHMesa Health

Pier 9 Cafe

18 kW

Marin A

P9Pier 9 Cafe

Bayline cold storage

150 kW

San Jose A

BLBayline Logistics

ΣCount filled1

Expect:Search finds the Oakland install.

## What your agent gets in Frontline

The CRM plus the channels, agents and controls around it. Where the CLI reaches a feature, the command sits next to it.

### CRM and data

The records every agent reads and writes.

Custom objects and views

Unlimited objects, fields and record types on every plan, with list and Kanban views.

`frontline object`

Company brain and customer memory

Documents, sites and CRM activity become shared knowledge, and semantic search runs over the records themselves.

`frontline kb search`

Data sync

WhatsApp, Gmail, Outlook, LinkedIn, calendars and meetings sync onto the customer record. Webhooks bring in the rest.

`frontline incoming-webhooks`

Data providers

Find work emails, phone numbers and LinkedIn data from built-in providers, billed per lookup.

In Max

### Engage

Reach customers on the channels they already use.

Sequences

Multi-step outreach with bulk enrollment and funnel analytics.

`frontline sequences`

Email campaigns

Audiences, preflight checks, delivery and stats.

`frontline campaigns create --channel EMAIL`

WhatsApp campaigns

Template messages to an audience from your WhatsApp Business number. Frontline is a Meta Business Partner.

`frontline campaigns create --channel WHATSAPP`

Email Agent

Labels incoming Gmail and Outlook email, drafts replies and sends follow-ups.

In Max

Meeting notetaker

Joins calls from a connected calendar and returns the recording, transcript, notes and action items.

`max meetings`

### Build

Agents and automations that run on your CRM data.

Agent builder

Customer-facing agents with playbooks, on WhatsApp, Instagram, Messenger and live chat.

`frontline agents`

Workflow builder

Triggers, webhooks and steps that act on records.

`frontline workflows`

Knowledge bases

Vector search over URLs and site crawls of up to 1,000 pages.

`frontline kb`

Skills

55 Claude Code skills that teach your agent the CLI.

`frontline setup --claude-skills`

### Max, a personal agent

One agent per person, in the apps they already use.

Routines

Tasks on a schedule or an event, with results sent where you choose.

`max tasks`

App builder

Apps built on your own CRM objects.

In Max

Artifacts

Dashboards, internal apps, newsletters and decks, shared with a workspace, group or person.

In Max

Where Max works

WhatsApp, iMessage, Slack, Teams and Telegram, plus the terminal.

`max chat send`

### AI governance

Admin controls over every connector, model and credit.

Connector catalog

50+ MCP servers, including Gmail and Outlook.

`max integrations`

Connector access

Full access, read only or no access, set by workspace, team and user.

In the app

AI usage metrics

Credit usage by plan and seat, and every MCP call tracked.

`frontline billing`

Spend caps and controls

Caps on AI spend, with extra credits added per user.

In the app

## Pick how your agent connects

All three reach the same CRM. Anything a person can do in the app, an agent can do here.

| Path      | Can your agent run commands?CLIClaude CodeCodexCursor                                  | Does it connect to MCP servers?MCP serverClaudeChatGPTCursor              | Writing your own code?REST APIAny language with HTTP                      |
| --------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| Setup     | npm install \-g @getfrontline/clifrontline auth login <api-key>                        | Add Frontline as an MCP server in your client, then approve with OAuth.   | https://prod-api.getfrontline.ai/public/v1Authorization: Bearer <api-key> |
| Best for  | Claude Code, Codex, Cursor and other coding agents                                     | Chat apps and any other MCP client                                        | Your services, scripts and backends                                       |
| Sign-in   | Personal API key, from Settings > Bring your own Agent                                 | OAuth. Access rules by workspace, team and user apply to every tool call. | Personal API key                                                          |
| Covers    | Objects, records, workflows, sequences, campaigns and more, plus 55 Claude Code skills | 200+ tools                                                                | Public API, 1,000 requests a minute per account                           |
| Read next | [CLI reference](https://docs.getfrontline.ai/cli)                                      | [Docs](https://docs.getfrontline.ai/)                                     | [API reference](https://docs.getfrontline.ai/reference/openapi)           |

Can your agent run commands?

### CLI

- Claude Code
- Codex
- Cursor

`npm install -g @getfrontline/cli` `frontline auth login <api-key>`

Best for

Claude Code, Codex, Cursor and other coding agents

Sign-in

Personal API key, from Settings > Bring your own Agent

Covers

Objects, records, workflows, sequences, campaigns and more, plus 55 Claude Code skills

[CLI reference](https://docs.getfrontline.ai/cli)

Does it connect to MCP servers?

### MCP server

- Claude
- ChatGPT
- Cursor

Add Frontline as an MCP server in your client, then approve with OAuth.

Best for

Chat apps and any other MCP client

Sign-in

OAuth. Access rules by workspace, team and user apply to every tool call.

Covers

200+ tools

[Docs](https://docs.getfrontline.ai/)

Writing your own code?

### REST API

- Any language with HTTP

`https://prod-api.getfrontline.ai/public/v1` `Authorization: Bearer <api-key>`

Best for

Your services, scripts and backends

Sign-in

Personal API key

Covers

Public API, 1,000 requests a minute per account

[API reference](https://docs.getfrontline.ai/reference/openapi)

None of these? [Send your user to sign up in the browser](https://app.getfrontline.ai/). No credit card needed.

## The numbers to check first

From our facts file, updated Nov 26, 2026.

[Pricing](https://www.getfrontline.ai/en/pricing)[facts.json](https://www.getfrontline.ai/facts.json)[facts.md](https://www.getfrontline.ai/facts.md)

Free plan

$0

Unlimited custom objects, every field type, 10,000 records, CLI and API access.

MCP tools

200+

On the Frontline MCP server, with OAuth sign-in.

Claude Code skills

55

Copied into \~/.claude/skills/ when the CLI installs.

API requests a minute

1,000

Per account, on the REST API.

Max seat a month

$50

You pay per user only for Max. Teammates without a seat keep full CRM access.

## Reading this as an agent?

Start with llms.txt. Every page on this site also has a Markdown version. Or have your user paste this:

`Read https://www.getfrontline.ai/llms.txt and set up Frontline for my business.`

- [/llms.txtMap of the site and how to start](https://www.getfrontline.ai/llms.txt)
- [/facts.jsonPrices, limits and credits as JSON](https://www.getfrontline.ai/facts.json)
- [/facts.mdThe same facts in Markdown](https://www.getfrontline.ai/facts.md)
- [/en/agents.mdThis page in Markdown](https://www.getfrontline.ai/en/agents.md)
- [docs.getfrontline.aiGuides and CLI reference](https://docs.getfrontline.ai/)
- [OpenAPIREST API reference](https://docs.getfrontline.ai/reference/openapi)

## 55 skills for Claude Code

Installing the CLI copies them into \~/.claude/skills/. Ask in plain words; the agent loads the skill and runs the command. To install them again, run:

`frontline setup --claude-skills`

- Model our business: sites, crews and permits.
Skill[crm-setup](https://www.getfrontline.ai/en/agents/skills/crm-setup)
frontline object create \--data '{ "name": "permits", … }'
Created object permits
- Show total kW at the bottom of the installs board.
Skill[aggregations](https://www.getfrontline.ai/en/agents/skills/aggregations)
frontline object aggregation create installs 12 \--data '{ "columnId": 4182, "operation": "SUM" }'
Sum of System size (kW): 21,480
- Put this week's no-shows in the re-book sequence.
Skill[frontline-sequences](https://www.getfrontline.ai/en/agents/skills/frontline-sequences)
frontline sequences enroll-bulk \--sequence-id 18 \--person-id 2041 \--person-id 2057 …
Enrolled 14 people
- Send the spring check-up offer to Bay Area customers on WhatsApp.
Skill[campaigns-and-audiences](https://www.getfrontline.ai/en/agents/skills/campaigns-and-audiences)
frontline campaigns create \--channel WHATSAPP \--purpose MARKETING \--audience 7 \--name "Spring check-up"
Draft campaign 31 · run preflight, then submit
- Learn everything in our help center.
Skill[knowledge-bases](https://www.getfrontline.ai/en/agents/skills/knowledge-bases)
frontline kb source add-crawl 4 \--url https://help.brightpath.solar \--max-links 200
Crawl started · up to 200 pages
- Every weekday at 8, send me today's installs on WhatsApp.
Skill[max-tasks](https://www.getfrontline.ai/en/agents/skills/max-tasks)
max tasks create \--name "Today's installs" \--cron '0 8 \* \* 1-5' \--notify-whatsapp true
Task created · weekdays at 08:00
- Test the support agent before it goes live.
Skill[agents-chat](https://www.getfrontline.ai/en/agents/skills/agents-chat)
frontline agents run \--message "Is my install still on for Friday?"
Agent: Yes, Oakland A arrives Friday at 9.
- When a quote is signed, create the install and assign a crew.
Skill[workflow-builder](https://www.getfrontline.ai/en/agents/skills/workflow-builder)
frontline workflows create \--name "Signed quote to install"
Created workflow · trigger and steps next

### All 55 skills

#### Auth and account

5

auth-and-profiles, account-settings, users, sharing, frontline-billing

#### CRM and data

18

crm-objects, crm-setup, world-model-templates, crud-operations, schema-design, resource-creation, record-type-management, record-security, relations, pipeline-setup, filter-and-query, aggregations, formulas, files, export-and-delete, notes-and-tasks, user-tasks, frontline-internals

#### Agents

11

frontline-agents, agent-builder, agent-channels, agent-playbooks, agents-chat, ai-models, flow-builder, variables, custom-tools, knowledge-bases, guidance

#### Workflows, sequences, and campaigns

9

frontline-workflows, workflow-builder, incoming-webhooks, integrations, frontline-sequences, campaigns-and-audiences, frontline-email-templates, frontline-whatsapp-templates, media-assets

#### Max

10

max-auth, max-chat, max-settings, max-proactive, max-tasks, max-playbooks, max-integrations, max-design-systems, max-meetings, meetings-admin

#### API and docs

2

frontline-api, frontline-docs

[See every skill](https://www.getfrontline.ai/en/agents/skills)Also listed in [facts.md](https://www.getfrontline.ai/facts.md).

## Your rules cover every agent

The MCP server signs in with OAuth. Access rules by workspace, team and user apply to every tool call, and each call is tracked.

SOC 2 and CASA Tier 2.

AI Governance

- Connector logs
- Connectors
- Max
- Users
- Settings

Frontline MCP

Enabled

Lets any MCP client work in the CRM with 200+ tools. People sign in with OAuth, and every tool call runs as them, under the entries below.

- Claude
- ChatGPT
- Codex
- Cursor

PolicyCustom access rules (1)Entries (4)Connections (14)

Workspace-wide

The fallback for everyone who has no user or team entry.

Read only

Teams

Custom permissions for specific teams on this connector.

SalesFull access

EngineeringFull access

Users

Custom permissions for specific users on this connector.

MCMaya ChenFull access

ARAna RuizNo access

Connector logs

- ClaudeMaya Chen
Updated an install, Oakland depot
Allowed
- ChatGPTPriya Shah
Read deals, 12 records
Allowed
- CodexLeo Park
Created object installs
Allowed
- CursorTom Reyes
Deleted a company
Blocked: read only

## Give your agent a CRM

[Start free](https://app.getfrontline.ai/)[Book a demo](https://cal.com/team/getfrontline/30-min-frontline)
