# OpenFunnel Agent Primitives

```json
{
  "name": "OpenFunnel Agent Primitives",
  "slug": "openfunnel_agent_primitives",
  "url": "https://composio.dev/toolkits/openfunnel_agent_primitives",
  "markdown_url": "https://composio.dev/toolkits/openfunnel_agent_primitives.md",
  "logo_url": "https://logos.composio.dev/api/openfunnel_agent_primitives",
  "categories": [
    "crm"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-09-05T05:37:54.850Z"
}
```

![OpenFunnel Agent Primitives logo](https://logos.composio.dev/api/openfunnel_agent_primitives)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with OpenFunnel Agent Primitives MCP or direct API to search companies, enrich lead records, retrieve firmographics, and fetch technographics through natural language.

## Summary

OpenFunnel Agent Primitives is a composable API for company search, lookup, and enrichment.
It provides fast, structured company data to enrich leads and power sales workflows.

## Categories

- crm

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/openfunnel_agent_primitives

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for OpenFunnel Agent Primitives.
  - Setup:
    - Configure Api Key credentials for OpenFunnel Agent Primitives.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Find firmographic data for Acme Corp
- Enrich lead list with company emails
- Get technographic stack for target accounts

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `OPENFUNNEL_AGENT_PRIMITIVES_CANCEL_BULK_LOOKALIKE_SEARCH` | Cancel Bulk Lookalike Search | Irreversibly request cancellation of a pending or running bulk lookalike job. The response only acknowledges the asynchronous request; use GET_BULK_LOOKALIKE_RESULTS afterward to observe terminal cancelled status and retrieve partial results. Companies delivered before cancellation remain available and billable. |
| `OPENFUNNEL_AGENT_PRIMITIVES_GET_BULK_LOOKALIKE_RESULTS` | Get Bulk Lookalike Results | Check an asynchronous bulk lookalike job and return one result page. Use status to determine completion: pending, running, and cancelling jobs remain pollable even when next_cursor is null. |
| `OPENFUNNEL_AGENT_PRIMITIVES_GET_CREDIT_BALANCE` | Get Credit Balance | Return total, used, and remaining credits for the connected OpenFunnel account before or after paid searches. |
| `OPENFUNNEL_AGENT_PRIMITIVES_LIST_COUNTRY_CODES` | List Country Codes | List all ISO 3166-1 alpha-3 country codes accepted by tech-search country filters, ordered by company volume. |
| `OPENFUNNEL_AGENT_PRIMITIVES_LIST_FIRMOGRAPHIC_OPTIONS` | List Firmographic Options | List the live funding stages, location codes, and employee bounds accepted by lookalike search filters. |
| `OPENFUNNEL_AGENT_PRIMITIVES_LOOKUP_COMPANIES` | Lookup Companies | Resolve a batch of 1-100 company names, domains, or LinkedIn URLs to ordered candidate records. Exact identifiers can still return multiple matches, so every candidate is preserved. |
| `OPENFUNNEL_AGENT_PRIMITIVES_RESEARCH_COMPANY` | Research Company | Qualify one known company from recent hiring activity, current team composition, or both, with cited evidence. Each successful call is charged at the workspace-configured per-call credit price; an unresolved-domain 404 is free. |
| `OPENFUNNEL_AGENT_PRIMITIVES_SEARCH_COMPANIES_BY_TECH_STACK` | Search Companies by Tech Stack | Return one fixed page of 50 companies whose recent job postings mention a technology. A live non-enriched full page consumed 25 credits; enrichment or firmographic filters may cost more. Follow next_cursor only when needed. |
| `OPENFUNNEL_AGENT_PRIMITIVES_SEARCH_LOOKALIKE_COMPANIES` | Search Lookalike Companies | Find up to 100 companies similar to a natural-language trait or seed domains. Each returned company consumes 1 credit, and even an unexpected semantic match is billable, so choose limit deliberately. |
| `OPENFUNNEL_AGENT_PRIMITIVES_START_BULK_LOOKALIKE_SEARCH` | Start Bulk Lookalike Search | Start an asynchronous lookalike job for up to 10,000 companies. Delivered results are billed when the job completes, so choose limit deliberately and use GET_BULK_LOOKALIKE_RESULTS to monitor the returned job_id. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute OpenFunnel Agent Primitives Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute OpenFunnel Agent Primitives actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'YOUR_SPECIFIC_PROMPT_HERE'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for OpenFunnel Agent Primitives
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to OpenFunnel Agent Primitives tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('YOUR_SPECIFIC_PROMPT_HERE')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native OpenFunnel Agent Primitives Integration

- Supports both OpenFunnel Agent Primitives MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your OpenFunnel Agent Primitives data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke OpenFunnel Agent Primitives access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access OpenFunnel Agent Primitives
- Scoped, least privilege access to OpenFunnel Agent Primitives resources
- Full audit trail of agent actions to support review and compliance

## Use OpenFunnel Agent Primitives with any AI Agent Framework

Choose a framework you want to connect OpenFunnel Agent Primitives with:

- [ChatGPT Work](https://composio.dev/toolkits/openfunnel_agent_primitives/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/openfunnel_agent_primitives/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/openfunnel_agent_primitives/framework/hermes-agent)

## Related Toolkits

- [HubSpot](https://composio.dev/toolkits/hubspot) - HubSpot is an all-in-one marketing, sales, and customer service platform. It lets teams nurture leads, automate outreach, and track every customer interaction in one place.
- [Pipedrive](https://composio.dev/toolkits/pipedrive) - Pipedrive is a sales management platform offering pipeline visualization, lead tracking, and workflow automation. It helps sales teams keep deals moving forward efficiently and never miss a follow-up.
- [Salesforce](https://composio.dev/toolkits/salesforce) - Salesforce is a leading CRM platform that helps businesses manage sales, service, and marketing. It centralizes customer data, enabling teams to drive growth and build strong relationships.
- [Apollo](https://composio.dev/toolkits/apollo) - Apollo is a CRM and lead generation platform that helps businesses discover contacts and manage sales pipelines. Use it to streamline customer outreach and track your deals from one place.
- [Attio](https://composio.dev/toolkits/attio) - Attio is a customizable CRM and workspace for managing your team's relationships and workflows. It helps teams organize contacts, automate tasks, and collaborate more efficiently.
- [Acculynx](https://composio.dev/toolkits/acculynx) - AccuLynx is a cloud-based roofing business management software for contractors. It streamlines project tracking, lead management, and document sharing.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Affinity](https://composio.dev/toolkits/affinity) - Affinity is a relationship intelligence CRM that helps private capital investors find, manage, and close more deals. It streamlines deal flow and surfaces key connections to help you win opportunities.
- [Agencyzoom](https://composio.dev/toolkits/agencyzoom) - AgencyZoom is a sales and performance platform built for P&C insurance agencies. It helps agents boost sales, retain clients, and analyze producer results in one place.
- [Agile CRM](https://composio.dev/toolkits/agile_crm) - Agile CRM is a unified customer management platform combining contacts, sales pipelines, marketing, and support. Use it to centralize customer data, automate campaigns, and manage deals and tickets in one place.
- [Bettercontact](https://composio.dev/toolkits/bettercontact) - Bettercontact is a smart contact enrichment tool for finding emails and phone numbers. It helps boost lead generation with automated, waterfall search across multiple sources.
- [Blackbaud](https://composio.dev/toolkits/blackbaud) - Blackbaud provides cloud-based software for nonprofits, schools, and healthcare institutions. It streamlines fundraising, donor management, and mission-driven operations.
- [Brilliant directories](https://composio.dev/toolkits/brilliant_directories) - Brilliant Directories is an all-in-one platform for building and managing online membership communities and business directories. It streamlines listings, member management, and engagement tools into a single, easy interface.
- [Capsule crm](https://composio.dev/toolkits/capsule_crm) - Capsule CRM is a user-friendly CRM platform for managing contacts and sales pipelines. It helps businesses organize relationships and streamline their sales process efficiently.
- [Centralstationcrm](https://composio.dev/toolkits/centralstationcrm) - CentralStationCRM is an easy-to-use CRM software focused on collaboration and long-term customer relationships. It helps teams manage contacts, deals, and communications all in one place.
- [Clarify MCP](https://composio.dev/toolkits/clarify_mcp) - Clarify MCP is a CRM platform for managing companies, people, deals, meetings, tasks, lists, and campaigns. Use it to centralize CRM data and streamline sales and marketing workflows.
- [Clay MCP](https://composio.dev/toolkits/clay_mcp) - Clay MCP is a prospect enrichment service for researching companies and contacts. It runs enrichment providers and Clay functions to return enriched prospect data.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Close](https://composio.dev/toolkits/close) - Close is a CRM platform built for sales teams, combining calling, email automation, and predictive dialers. It streamlines sales workflows and boosts productivity with all-in-one communication tools.
- [Close MCP](https://composio.dev/toolkits/close_mcp) - Close MCP is a CRM MCP exposing leads, contacts, opportunities, activities, communications, and workflows. Use it to give agents scoped, auditable access to your CRM data.

## Frequently Asked Questions

### Do I need my own developer credentials to use OpenFunnel Agent Primitives with Composio?

Yes, OpenFunnel Agent Primitives requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
