Augment Context Engine SDK
docs.augmentcode.com·5h·
Discuss: Hacker News
🔄Sync Engine
Preview
Report Post

Installation

npm install -g @augmentcode/auggie && npm install @augmentcode/auggie-sdk

Getting Credentials

Sign in to Augment using the CLI:

auggie login

Your credentials will be stored in ~/.augment/session.json and the SDK will automatically use them. Alternatively, you can use environment variables:

export AUGMENT_API_TOKEN="your-api-token"
export AUGMENT_API_URL="https://your-tenant.api.augmentcode.com"

Direct Context

Explicitly index files from any source (APIs, databases, memory, disk) with full control over what gets indexed and the ability to save/load state:

FileSystem Context

Automatically index and search a local directory - just point to a directory path and start searching, perfect for local development and testing:

Similar Posts

Loading similar posts...