Installation
Install the Package
Section titled “Install the Package”bun add llmistnpm install llmistpnpm add llmistyarn add llmistEnvironment Setup
Section titled “Environment Setup”Set an API key for at least one provider:
export OPENAI_API_KEY="sk-..."# orexport ANTHROPIC_API_KEY="sk-ant-..."# orexport GEMINI_API_KEY="..."Verify Installation
Section titled “Verify Installation”import { LLMist } from 'llmist';
const answer = await LLMist.complete('Hello!');console.log(answer);TypeScript Configuration
Section titled “TypeScript Configuration”llmist is written in TypeScript with full type definitions included. Recommended tsconfig.json:
{ "compilerOptions": { "strict": true, "target": "ES2022", "module": "ESNext", "moduleResolution": "bundler" }}Next Steps
Section titled “Next Steps”- Quick Start - Build your first agent
- Configuration - All available options
- CLI Installation - Install the command-line interface
- Testing Installation - Set up unit testing