Tempus Labs
  • Introduction
  • Getting Started
  • Roadmap
  • COMPONENTS
    • Agent
    • Data
    • Prompt Templates
    • Tools
  • Usages
    • Examples
    • Advanced Usage
  • API REFERENCES
    • API References
  • OUR SOCIALS
    • Website
    • Twitter
    • GitHub
Powered by GitBook
On this page
  • Prerequisites
  • Installation
  • Basic Concepts
  • QuantAIAgent
  • Market Analysis Tools
  • Data Sources
  • Next Steps

Getting Started

PreviousIntroductionNextRoadmap

Last updated 3 months ago

Prerequisites

  • LLM API Key (OpenAI, Deepseek)

Installation

Follow these simple steps to install and set up Tempus Labs:

1

Step 1: Install Tempus

Begin by installing the Tempus framework using pip:

pip install tempus-labs==1.0.0
2

Step 2: Create the Environment File

Set up a .env file to store your API key securely:

OPENAI_API_KEY=your_api_key # Fill if you are using OpenAI
DEEPSEEK_API_KEY=your_api_key # Fill if you are using Deepseek
3

Step 3: Basic usage

from tempus.agents import QuantAIAgent

# Initialize with default settings (OpenAI)
agent = QuantAIAgent()

# Basic analysis
response = agent.chat("Analyze pump.fun market trends")
print(response)

# Streaming responses
for chunk in agent.chat_stream("What's happening with $ai16z?"):
    chunk.pretty_print()

Basic Concepts

QuantAIAgent

The QuantAIAgent is your main interface to the Tempus framework. It provides:

  • Market analysis capabilities

  • Real-time data streaming

  • Multiple LLM provider support

  • Conversation memory

Market Analysis Tools

Tempus comes with several built-in analysis tools:

  • Contract Analysis: Deep dive into token contracts

  • Ticker Analysis: Research specific tokens

  • Market Trends: Track trending tokens

  • Meta Market Analysis: Explore token categories (AI, Gaming, Meme)

Data Sources

Tempus integrates with:

  • Pump.fun for real-time token data

  • DexScreener for comprehensive market data

  • Multi-chain support (focused on Solana)

Next Steps

You're now ready to explore the power of Tempus Labs for AI-driven quantitative insights on the Solana ecosystem!

Check out the for detailed documentation

Learn about advanced features in

See for more use cases

Python 3.10
Chromedriver
API Reference
Advanced Usage
Examples