1.1.1 • Published 10 months ago

@intue/core v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

INTUE Core

Core utilities and shared components for the INTUE ecosystem - the intelligence layer for AI agents.

Overview

INTUE Core provides essential utilities and components used across the INTUE ecosystem of Modular Crypto Protocols (MCPs). This package serves as the foundation for building sophisticated crypto market analysis tools and AI agents.

Installation

npm install @intue/core
Features

Sentiment Analysis: Advanced crypto sentiment analysis tools
Ecosystem Correlation: Cross-ecosystem pattern detection
LunarCrush Integration: Social sentiment data adapter
Agent Framework: Modular agent system for automated trading
TypeScript Support: Full TypeScript declarations included

Usage
Core Functionality
typescriptimport { Agent, Runtime } from '@intue/core';

// Create a runtime
const runtime = await Runtime.init({
  agentName: 'trading-agent',
  options: {
    logger: { level: 'info' }
  }
});

// Start the runtime
await runtime.start();

// Get the agent and analyze market data
const agent = runtime.getAgent();
const result = agent.analyzeMarketData({
  price: 45000,
  volume: 1250000
});

console.log('Analysis result:', result);
Using Sentiment Analysis
typescriptimport { SentimentAnalyzer, LunarCrushProvider } from '@intue/core';

// Initialize provider
const lunarcrush = new LunarCrushProvider({
  apiKey: process.env.LUNARCRUSH_API_KEY || 'demo-key'
});

// Create sentiment analyzer
const sentiment = new SentimentAnalyzer();
sentiment.addProvider(lunarcrush);

// Analyze social sentiment
const result = await sentiment.analyzeSocialSentiment('BTC');
console.log('BTC Sentiment:', result);
Using Ecosystem Correlation
typescriptimport { EcosystemCorrelator } from '@intue/core';

// Create correlator
const correlator = new EcosystemCorrelator({
  timeframe: '1d',
  lookbackPeriod: 30
});

// Analyze correlations between assets
const result = await correlator.analyzeCorrelation(['BTC', 'ETH', 'SOL']);
console.log('Correlations:', result);
API Documentation
For detailed API documentation, please refer to the GitBook documentation.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
1.1.1

10 months ago

1.1.0

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago