Skip to content

Commit fceaf2a

Browse files
Merge pull request #687 from transitive-bullshit/feature/zoominfo
2 parents ece4de1 + 304b66e commit fceaf2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+3330
-4227
lines changed

docs/mint.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
{
5454
"group": "Tools",
5555
"pages": [
56+
"tools/apollo",
5657
"tools/bing",
5758
"tools/calculator",
5859
"tools/clearbit",
@@ -64,13 +65,15 @@
6465
"tools/hacker-news",
6566
"tools/hunter",
6667
"tools/jina",
68+
"tools/leadmagic",
6769
"tools/midjourney",
6870
"tools/novu",
6971
"tools/people-data-labs",
7072
"tools/perigon",
7173
"tools/polygon",
7274
"tools/predict-leads",
7375
"tools/proxycurl",
76+
"tools/rocketreach",
7477
"tools/searxng",
7578
"tools/serpapi",
7679
"tools/serper",
@@ -82,7 +85,8 @@
8285
"tools/weather",
8386
"tools/wikidata",
8487
"tools/wikipedia",
85-
"tools/wolfram-alpha"
88+
"tools/wolfram-alpha",
89+
"tools/zoominfo"
8690
]
8791
}
8892
],

docs/quickstart.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ title: Quick Start
1010
</Info>
1111

1212
<Steps>
13-
<Step title='Install core deps'>
13+
<Step title='Install core deps (zod)'>
1414
<CodeGroup>
1515
```bash npm
16-
npm install @agentic/core zod
16+
npm install zod
1717
```
1818

1919
```bash yarn
20-
yarn add @agentic/core zod
20+
yarn add zod
2121
```
2222

2323
```bash pnpm
24-
pnpm add @agentic/core zod
24+
pnpm add zod
2525
```
2626
</CodeGroup>
2727

2828
</Step>
2929

3030
<Step title='Install AI tools'>
31-
You can either install all of the AI tools via the convenience package `@agentic/stdlib`, or you can install them individually via their respective packages (`@agentic/weather`, `@agentic/twitter`, etc.).
31+
You can either install all of the AI tools via `@agentic/stdlib`, or you can install them individually via their respective packages (`@agentic/weather`, `@agentic/twitter`, etc.).
3232

3333
<AccordionGroup>
3434
<Accordion title="Install all AI tools">
@@ -72,7 +72,7 @@ title: Quick Start
7272
<Note>
7373
There is no functional difference between using `@agentic/stdlib` versus using the individual tool packages directly. The only difference is if you want to optimize your install size (when running on serverless functions, for instance).
7474

75-
The default examples all use `@agentic/stdlib` because it provides a simpler DX.
75+
The default examples all use `@agentic/stdlib` for simplicity.
7676
</Note>
7777

7878
</Step>
@@ -138,15 +138,15 @@ title: Quick Start
138138
<Accordion title="Firebase Genkit">
139139
<CodeGroup>
140140
```bash npm
141-
npm install @agentic/genkit @genkit-ai/ai @genkit-ai/core
141+
npm install @agentic/genkit genkit
142142
```
143143

144144
```bash yarn
145-
yarn add @agentic/genkit @genkit-ai/ai @genkit-ai/core
145+
yarn add @agentic/genkit genkit
146146
```
147147

148148
```bash pnpm
149-
pnpm add @agentic/genkit @genkit-ai/ai @genkit-ai/core
149+
pnpm add @agentic/genkit genkit
150150
```
151151
</CodeGroup>
152152

docs/tools/apollo.mdx

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Apollo
3+
description: Apollo provides an API for B2B person and company enrichment.
4+
---
5+
6+
- package: `@agentic/apollo`
7+
- exports: `class Apollo`, `namespace apollo`
8+
- env vars: `APOLLO_API_KEY`
9+
- [source](https://github.com/transitive-bullshit/agentic/blob/main/packages/apollo/src/apollo-client.ts)
10+
- [apollo api docs](https://docs.apollo.io)
11+
12+
## Install
13+
14+
<CodeGroup>
15+
```bash npm
16+
npm install @agentic/apollo
17+
```
18+
19+
```bash yarn
20+
yarn add @agentic/apollo
21+
```
22+
23+
```bash pnpm
24+
pnpm add @agentic/apollo
25+
```
26+
27+
</CodeGroup>
28+
29+
## Usage
30+
31+
```ts
32+
import { ApolloClient } from '@agentic/apollo'
33+
34+
const apollo = new ApolloClient()
35+
const res = await apollo.enrichPerson({
36+
linkedin_url: 'https://linkedin.com/in/fisch2'
37+
})
38+
```

docs/tools/leadmagic.mdx

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: LeadMagic
3+
description: LeadMagic provides an API for B2B person, company, and email enrichment.
4+
---
5+
6+
- package: `@agentic/leadmagic`
7+
- exports: `class LeadMagic`, `namespace leadmagic`
8+
- env vars: `LEADMAGIC_API_KEY`
9+
- [source](https://github.com/transitive-bullshit/agentic/blob/main/packages/leadmagic/src/leadmagic-client.ts)
10+
- [leadmagic api docs](https://docs.leadmagic.io)
11+
12+
## Install
13+
14+
<CodeGroup>
15+
```bash npm
16+
npm install @agentic/leadmagic
17+
```
18+
19+
```bash yarn
20+
yarn add @agentic/leadmagic
21+
```
22+
23+
```bash pnpm
24+
pnpm add @agentic/leadmagic
25+
```
26+
27+
</CodeGroup>
28+
29+
## Usage
30+
31+
```ts
32+
import { LeadMagicClient } from '@agentic/leadmagic'
33+
34+
const leadmagic = new LeadMagicClient()
35+
const res = await leadmagic.profileSearch({
36+
linkedinUsername: 'fisch2'
37+
})
38+
```

docs/tools/rocketreach.mdx

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: RocketReach
3+
description: RocketReach provides an API for B2B person and company enrichment.
4+
---
5+
6+
- package: `@agentic/rocketreach`
7+
- exports: `class RocketReach`, `namespace rocketreach`
8+
- env vars: `ROCKETREACH_API_KEY`
9+
- [source](https://github.com/transitive-bullshit/agentic/blob/main/packages/rocketreach/src/rocketreach-client.ts)
10+
- [rocketreach api docs](https://rocketreach.co/api/v2/docs)
11+
12+
## Install
13+
14+
<CodeGroup>
15+
```bash npm
16+
npm install @agentic/rocketreach
17+
```
18+
19+
```bash yarn
20+
yarn add @agentic/rocketreach
21+
```
22+
23+
```bash pnpm
24+
pnpm add @agentic/rocketreach
25+
```
26+
27+
</CodeGroup>
28+
29+
## Usage
30+
31+
```ts
32+
import { RocketReachClient } from '@agentic/rocketreach'
33+
34+
const rocketreach = new RocketReachClient()
35+
const res = await rocketreach.lookupPerson({
36+
linkedin_url: 'https://www.linkedin.com/in/fisch2'
37+
})
38+
```

docs/tools/zoominfo.mdx

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: ZoomInfo
3+
description: ZoomInfo provides a powerful API for B2B person and company data enrichment.
4+
---
5+
6+
- package: `@agentic/zoominfo`
7+
- exports: `class ZoomInfo`, `namespace zoominfo`
8+
- env vars:
9+
- `ZOOMINFO_USERNAME` and `ZOOMINFO_PASSWORD` for basic auth
10+
- `ZOOMINFO_USERNAME`, `ZOOMINFO_CLIENT_ID`, and `ZOOMINFO_PRIVATE_KEY` for PKI auth
11+
- [source](https://github.com/transitive-bullshit/agentic/blob/main/packages/zoominfo/src/zoominfo-client.ts)
12+
- [zoominfo api docs](https://api-docs.zoominfo.com)
13+
14+
## Install
15+
16+
<CodeGroup>
17+
```bash npm
18+
npm install @agentic/zoominfo
19+
```
20+
21+
```bash yarn
22+
yarn add @agentic/zoominfo
23+
```
24+
25+
```bash pnpm
26+
pnpm add @agentic/zoominfo
27+
```
28+
29+
</CodeGroup>
30+
31+
## Usage
32+
33+
```ts
34+
import { ZoomInfoClient } from '@agentic/zoominfo'
35+
36+
const zoomInfo = new ZoomInfoClient()
37+
const res = await zoomInfo.enrichContact({
38+
emailAddress: '[email protected]'
39+
})
40+
```

examples/langchain/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@agentic/langchain": "workspace:*",
1212
"@agentic/stdlib": "workspace:*",
1313
"@langchain/core": "^0.3.13",
14-
"@langchain/openai": "^0.3.11",
14+
"@langchain/openai": "0.4.4",
1515
"langchain": "^0.3.3",
1616
"zod": "^3.24.2"
1717
},

examples/llamaindex/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@agentic/core": "workspace:*",
1212
"@agentic/llamaindex": "workspace:*",
1313
"@agentic/stdlib": "workspace:*",
14-
"llamaindex": "^0.7.3",
14+
"llamaindex": "^0.9.2",
1515
"zod": "^3.24.2"
1616
},
1717
"devDependencies": {

examples/playground/bin/scratch.ts

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'dotenv/config'
22

3-
import { ExaClient } from '@agentic/stdlib'
3+
import { ZoomInfoClient } from '@agentic/stdlib'
44
import restoreCursor from 'restore-cursor'
55

66
/**
@@ -129,11 +129,21 @@ async function main() {
129129
// json: true
130130
// })
131131

132-
const exa = new ExaClient()
133-
const res = await exa.search({
134-
query: 'OpenAI',
135-
category: 'linkedin profile'
132+
// const exa = new ExaClient()
133+
// const res = await exa.search({
134+
// query: 'OpenAI',
135+
// category: 'linkedin profile'
136+
// })
137+
138+
const zoomInfo = new ZoomInfoClient()
139+
const res = await zoomInfo.enrichContact({
140+
// emailAddress: '[email protected]'
141+
fullName: 'Kevin Raheja',
142+
companyName: 'HeyGen'
136143
})
144+
// const res = await zoomInfo.searchContacts({
145+
// fullName: 'Kevin Raheja'
146+
// })
137147

138148
console.log(JSON.stringify(res, null, 2))
139149
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@
4545
"npm-run-all2": "^7.0.2",
4646
"only-allow": "^1.2.1",
4747
"prettier": "^3.5.1",
48+
"syncpack": "14.0.0-alpha.10",
4849
"tsup": "^8.3.6",
4950
"tsx": "^4.19.3",
5051
"turbo": "^2.4.2",
5152
"typescript": "^5.7.3",
5253
"vitest": "3.0.6",
53-
"zod": "^3.24.2"
54+
"zod": "^3.24.2",
55+
"zoominfo-api-auth-client": "^1.0.1"
5456
},
5557
"lint-staged": {
5658
"*.{ts,tsx}": [

packages/ai-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@agentic/core": "workspace:*"
3636
},
3737
"peerDependencies": {
38-
"ai": "^4.1.0"
38+
"ai": "^4.1.42"
3939
},
4040
"devDependencies": {
4141
"@agentic/tsconfig": "workspace:*",

packages/apollo/package.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "@agentic/apollo",
3+
"version": "7.3.2",
4+
"description": "Agentic SDK for Apollo.io.",
5+
"author": "Travis Fischer <[email protected]>",
6+
"license": "MIT",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/transitive-bullshit/agentic.git",
10+
"directory": "packages/apollo"
11+
},
12+
"type": "module",
13+
"source": "./src/index.ts",
14+
"types": "./dist/index.d.ts",
15+
"sideEffects": false,
16+
"exports": {
17+
".": {
18+
"types": "./dist/index.d.ts",
19+
"import": "./dist/index.js",
20+
"default": "./dist/index.js"
21+
}
22+
},
23+
"files": [
24+
"dist"
25+
],
26+
"scripts": {
27+
"build": "tsup --config ../../tsup.config.ts",
28+
"dev": "tsup --config ../../tsup.config.ts --watch",
29+
"clean": "del dist",
30+
"test": "run-s test:*",
31+
"test:lint": "eslint .",
32+
"test:typecheck": "tsc --noEmit"
33+
},
34+
"dependencies": {
35+
"@agentic/core": "workspace:*",
36+
"ky": "^1.7.5",
37+
"p-throttle": "^6.2.0"
38+
},
39+
"peerDependencies": {
40+
"zod": "^3.24.2"
41+
},
42+
"devDependencies": {
43+
"@agentic/tsconfig": "workspace:*"
44+
},
45+
"publishConfig": {
46+
"access": "public"
47+
}
48+
}

0 commit comments

Comments
 (0)