Overview
The Hyperbolic AgentKit uses environment variables to configure API keys, feature flags, and system settings. Variables are loaded from a.env file in the project root.
Setup
Copy the example environment file:.env with your actual API keys and configuration.
Required Variables
Core APIs
Anthropic API key for Claude LLM. Get from Anthropic Console.
Coinbase Developer Platform API key name. Get from CDP Portal.
Coinbase Developer Platform private key.
Hyperbolic API key for GPU compute tools. Get from Hyperbolic Settings.
OpenAI (Required for Voice Agent)
OpenAI API key. Required only if using the voice agent interface. Get from OpenAI Portal.
Optional Integration APIs
Twitter/X Integration
Twitter OAuth access token.
Twitter API key (Consumer Key).
Twitter API secret (Consumer Secret).
Twitter OAuth access token secret.
Twitter Bearer Token for API v2.
Twitter OAuth 2.0 Client ID.
Twitter OAuth 2.0 Client Secret.
Web Search
LangChain Tracing
Enable LangChain tracing for debugging.
LangChain API endpoint URL.
LangChain API key.
LangChain project name.
Configuration Variables
SSH Configuration
Path to SSH private key for GPU instance access. Must be an RSA key (ed25519 not supported).Generate an RSA key:Add public key to Hyperbolic Settings.
Character Configuration
Path to character configuration JSON file. Can be comma-separated for multiple characters.
Knowledge Base Configuration
Enable Twitter knowledge base for scraping KOL tweets. At least one knowledge base (Twitter or Podcast) must be enabled.
Enable Podcast knowledge base for transcript processing.
Security Settings
Allow HTTP request tools. Must be true to use request tools. Set to false in production for security.
Feature Flags
Core Toolkits
Enable Coinbase CDP tools for blockchain operations.
Enable Hyperbolic GPU compute tools.
Enable core Twitter API integration.
Enable browser automation tools (Playwright). Recommended for maximum agent functionality.
Twitter Tools
Enable tracking of replied tweets to avoid duplicates.
Enable tracking of reposted tweets.
Enable tweet deletion capability.
Enable Twitter user ID lookup by username.
Enable retrieving user’s recent tweets.
Enable retweet functionality.
Additional Tools
Enable multi-token deployment tools.
Enable web search via DuckDuckGo.
Enable HTTP request tools. Requires
ALLOW_DANGEROUS_REQUEST=true.Enable Writing Agent for content generation.
Enable GitHub API tools. Requires
GITHUB_TOKEN.Example .env File
Security Best Practices
-
Never commit
.envto version control- Add
.envto.gitignore - Use
.env.exampleas a template (without actual keys)
- Add
-
Restrict file permissions
- Use different keys for development and production
- Rotate API keys regularly
-
Set
ALLOW_DANGEROUS_REQUEST=falsein production if request tools aren’t needed
Related Documentation
- Agent Initialization - How environment variables are used
- Character Schema - CHARACTER_FILE format