Augment Context Engine SDK
docs.augmentcode.com·8w·
Discuss: Hacker News

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help