Installation
Getting Credentials
Sign in to Augment using the CLI:~/.augment/session.json and the SDK will automatically use them.
Alternatively, for automation or non-interactive environments, set the AUGMENT_SESSION_AUTH environment variable to the session JSON:
The session JSON includes both your access token and tenant URL, so no separate URL variable is needed. Run
auggie token print after logging in to get the full session JSON.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:Next Steps
Examples
See more example applications
API Reference
Explore the complete API