Skip to content

Commit 295b6f7

Browse files
0xsl1mclaude
andcommitted
docs: Add Cerebrus Pulse integration (crypto intelligence tools)
Add Cerebrus Pulse as a LangChain community integration with: - Tool documentation page with all 10 available tools - Provider page with overview and setup instructions - Card entry in all_providers.mdx (alphabetical order) - Card and Finance table entry in tools/index.mdx Cerebrus Pulse provides real-time crypto market intelligence tools for Hyperliquid perpetuals using x402 USDC micropayments (no API keys). Package: langchain-cerebrus-pulse v0.2.0 on PyPI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 180049c commit 295b6f7

File tree

4 files changed

+213
-0
lines changed

4 files changed

+213
-0
lines changed

src/oss/python/integrations/providers/all_providers.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,14 @@ Browse the complete collection of integrations available for Python. LangChain P
569569
Serverless GPU platform for AI applications.
570570
</Card>
571571

572+
<Card
573+
title="Cerebrus Pulse"
574+
href="/oss/integrations/providers/cerebrus_pulse"
575+
icon="link"
576+
>
577+
Crypto market analysis tools for Hyperliquid perpetuals.
578+
</Card>
579+
572580
<Card
573581
title="Chaindesk"
574582
href="/oss/integrations/providers/chaindesk"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "Cerebrus Pulse integrations"
3+
description: "Integrate with Cerebrus Pulse using LangChain Python."
4+
---
5+
6+
[Cerebrus Pulse](https://cerebruspulse.xyz) provides real-time crypto market intelligence tools for Hyperliquid perpetuals.
7+
8+
Give agents tools to:
9+
10+
- Analyze technical indicators across multiple timeframes (RSI, EMAs, ATR, Bollinger Bands, VWAP)
11+
- Monitor market sentiment, funding rates, and open interest
12+
- Scan 30+ coins for top trading signals
13+
- Analyze spreads, liquidity, and BTC-alt correlations
14+
15+
### How it works
16+
17+
Cerebrus Pulse uses [x402](https://www.x402.org/) USDC micropayments on Base — no API keys required:
18+
19+
1. Install the `langchain-cerebrus-pulse` package
20+
2. Instantiate any of the 10 available tools
21+
3. Payments are handled automatically via the x402 protocol
22+
23+
## Installation and setup
24+
25+
Check out the [tool documentation](/oss/integrations/tools/cerebrus_pulse) to see how to set up and install Cerebrus Pulse.
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
---
2+
title: "Cerebrus Pulse integration"
3+
description: "Integrate with the Cerebrus Pulse crypto intelligence tools using LangChain Python."
4+
---
5+
6+
This guide provides a quick overview for getting started with the Cerebrus Pulse [tools](/oss/langchain/tools). For detailed documentation of all available tools and parameters, head to the [Cerebrus Pulse API reference](https://cerebruspulse.xyz/api/pulse).
7+
8+
## Overview
9+
10+
[Cerebrus Pulse](https://cerebruspulse.xyz) provides real-time crypto market intelligence tools for Hyperliquid perpetuals. All tools use [x402](https://www.x402.org/) USDC micropayments on Base — no API keys required.
11+
12+
### Integration details
13+
14+
| Class | Package | Serializable | JS support | Version |
15+
| :--- | :--- | :---: | :---: | :---: |
16+
| CerebrusPulseTool | [`langchain-cerebrus-pulse`](https://pypi.org/project/langchain-cerebrus-pulse/) ||| ![PyPI - Version](https://img.shields.io/pypi/v/langchain-cerebrus-pulse?style=flat-square&label=%20) |
17+
18+
### Available tools
19+
20+
| Tool | Description | Price |
21+
|------|-------------|-------|
22+
| `CerebrusPulseTool` | Multi-timeframe technical analysis (RSI, EMAs, ATR, Bollinger Bands, VWAP, Z-score, trend, regime, confluence) | $0.02 USDC |
23+
| `CerebrusSentimentTool` | Market sentiment analysis (fear/greed index, momentum, funding bias) | $0.01 USDC |
24+
| `CerebrusFundingTool` | Funding rate analysis with historical data | $0.01 USDC |
25+
| `CerebrusBundleTool` | Combined pulse + sentiment + funding analysis (20% discount vs individual) | $0.04 USDC |
26+
| `CerebrusScreenerTool` | Scan 30+ coins for top trading signals | $0.04 USDC |
27+
| `CerebrusOITool` | Open interest analysis | $0.01 USDC |
28+
| `CerebrusSpreadTool` | Spread and liquidity analysis | $0.008 USDC |
29+
| `CerebrusCorrelationTool` | BTC-alt correlation matrix | $0.03 USDC |
30+
| `CerebrusListCoinsTool` | List all supported coins | Free |
31+
| `CerebrusHealthTool` | API health check | Free |
32+
33+
### Key features
34+
35+
- **No API keys** — payments handled via x402 USDC micropayments on Base
36+
- **Real-time data** — live Hyperliquid perpetual market data
37+
- **Multi-timeframe** — supports 1m, 5m, 15m, 1h, 4h, 1d timeframes
38+
- **Agent-native** — tools return structured data optimized for LLM consumption
39+
40+
---
41+
42+
## Setup
43+
44+
### Credentials
45+
46+
No API keys are needed. Cerebrus Pulse uses the [x402 protocol](https://www.x402.org/) for USDC micropayments on Base. Your HTTP client handles payment negotiation automatically.
47+
48+
It's also helpful (but not needed) to set up LangSmith for best-in-class observability/<Tooltip tip="Log each step of a model's execution to debug and improve it">tracing</Tooltip> of your tool calls. To enable automated tracing, set your [LangSmith](/langsmith/home) API key:
49+
50+
```python Enable tracing icon="flask"
51+
import os
52+
os.environ["LANGSMITH_API_KEY"] = "your-langsmith-api-key"
53+
os.environ["LANGSMITH_TRACING"] = "true"
54+
```
55+
56+
### Installation
57+
58+
Install the `langchain-cerebrus-pulse` package:
59+
60+
<CodeGroup>
61+
```python pip
62+
pip install -U langchain-cerebrus-pulse
63+
```
64+
```python uv
65+
uv add langchain-cerebrus-pulse
66+
```
67+
</CodeGroup>
68+
69+
---
70+
71+
## Instantiation
72+
73+
```python Initialize tool instance icon="robot"
74+
from langchain_cerebrus_pulse import CerebrusPulseTool
75+
76+
tool = CerebrusPulseTool()
77+
```
78+
79+
---
80+
81+
## Invocation
82+
83+
### Directly
84+
85+
The `CerebrusPulseTool` accepts a coin symbol and one or more timeframes:
86+
87+
```python Call tool icon="rocket"
88+
result = tool.invoke({"coin": "BTC", "timeframes": "1h,4h"})
89+
print(result)
90+
```
91+
92+
### Using other tools
93+
94+
```python Sentiment and funding icon="chart-line"
95+
from langchain_cerebrus_pulse import CerebrusSentimentTool, CerebrusFundingTool
96+
97+
sentiment = CerebrusSentimentTool()
98+
print(sentiment.invoke({"coin": "ETH"}))
99+
100+
funding = CerebrusFundingTool()
101+
print(funding.invoke({"coin": "BTC"}))
102+
```
103+
104+
### Bundle analysis
105+
106+
Get combined pulse, sentiment, and funding data at a 20% discount:
107+
108+
```python Bundle tool icon="layer-group"
109+
from langchain_cerebrus_pulse import CerebrusBundleTool
110+
111+
bundle = CerebrusBundleTool()
112+
result = bundle.invoke({"coin": "BTC", "timeframes": "1h,4h"})
113+
```
114+
115+
### Market screener
116+
117+
Scan all supported coins for top trading signals:
118+
119+
```python Screener icon="magnifying-glass"
120+
from langchain_cerebrus_pulse import CerebrusScreenerTool
121+
122+
screener = CerebrusScreenerTool()
123+
top_signals = screener.invoke({})
124+
```
125+
126+
### As a ToolCall
127+
128+
Invoke the tool with a model-generated `ToolCall`, in which case a `ToolMessage` will be returned:
129+
130+
```python ToolCall icon="briefcase"
131+
# This is usually generated by a model, but we'll create a tool call directly for demo purposes.
132+
model_generated_tool_call = {
133+
"args": {"coin": "BTC", "timeframes": "1h,4h"},
134+
"id": "1",
135+
"name": tool.name,
136+
"type": "tool_call",
137+
}
138+
tool.invoke(model_generated_tool_call)
139+
```
140+
141+
### Within an agent
142+
143+
Use Cerebrus Pulse tools in a LangChain agent for autonomous crypto market analysis:
144+
145+
```python Agent with tools icon="robot"
146+
from langchain_cerebrus_pulse import (
147+
CerebrusPulseTool,
148+
CerebrusSentimentTool,
149+
CerebrusFundingTool,
150+
CerebrusScreenerTool,
151+
)
152+
from langchain.agents import create_agent
153+
154+
tools = [
155+
CerebrusPulseTool(),
156+
CerebrusSentimentTool(),
157+
CerebrusFundingTool(),
158+
CerebrusScreenerTool(),
159+
]
160+
161+
agent = create_agent(
162+
model="claude-sonnet-4-6",
163+
tools=tools,
164+
)
165+
166+
result = agent.invoke(
167+
{"messages": [{"role": "user", "content": "Analyze BTC market conditions across multiple timeframes and check overall market sentiment"}]}
168+
)
169+
```
170+
171+
---
172+
173+
## API reference
174+
175+
- [Cerebrus Pulse API Documentation](https://cerebruspulse.xyz/api/pulse)
176+
- [GitHub Repository](https://github.com/0xsl1m/langchain-cerebrus-pulse)
177+
- [PyPI Package](https://pypi.org/project/langchain-cerebrus-pulse/)
178+
- [x402 Protocol](https://www.x402.org/)

src/oss/python/integrations/tools/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ The following table shows tools that can be used to execute financial transactio
9494
| Tool/Toolkit | Pricing | Capabilities |
9595
|-------------|---------|--------------|
9696
| [Ampersend](/oss/integrations/tools/ampersend) | Paid | Pay for and use remote AI agent services with automatic x402 payment handling. |
97+
| [Cerebrus Pulse](/oss/integrations/tools/cerebrus_pulse) | Paid | Real-time crypto intelligence for Hyperliquid perpetuals: technical analysis, sentiment, funding, screener, and more. |
9798
| [GOAT](/oss/integrations/tools/goat) | Free | Create and receive payments, purchase physical goods, make investments, and more. |
9899
| [Privy](/oss/integrations/tools/privy) | Free | Create wallets with configurable permissions and execute transactions with speed. |
99100

@@ -136,6 +137,7 @@ The following platforms provide access to multiple tools and services through a
136137
<Card title="CAMB AI" icon="link" href="/oss/integrations/tools/camb" arrow="true" cta="View guide" />
137138
<Card title="Cassandra Database Toolkit" icon="link" href="/oss/integrations/tools/cassandra_database" arrow="true" cta="View guide" />
138139
<Card title="CDP" icon="link" href="/oss/integrations/tools/cdp_agentkit" arrow="true" cta="View guide" />
140+
<Card title="Cerebrus Pulse" icon="link" href="/oss/integrations/tools/cerebrus_pulse" arrow="true" cta="View guide" />
139141
<Card title="ChatGPT Plugins" icon="link" href="/oss/integrations/tools/chatgpt_plugins" arrow="true" cta="View guide" />
140142
<Card title="ClickUp Toolkit" icon="link" href="/oss/integrations/tools/clickup" arrow="true" cta="View guide" />
141143
<Card title="Cogniswitch Toolkit" icon="link" href="/oss/integrations/tools/cogniswitch" arrow="true" cta="View guide" />

0 commit comments

Comments
 (0)