Documentation Index
Fetch the complete documentation index at: https://docs.augmentcode.com/llms.txt
Use this file to discover all available pages before exploring further.
TypeScript SDK
Build Node.js and TypeScript applications with the Auggie SDK
Python SDK
Build Python applications with the Auggie SDK
Installation
Authentication
The Auggie SDK supports multiple authentication methods:- Using
auggie login(Recommended) - Creates a session file at~/.augment/session.json - Using Environment Variables - Set
AUGMENT_SESSION_AUTHto the session JSON fromauggie token print - Passing Credentials Directly - Provide
apiKeyandapiUrlparameters when initializing
Finding your credentials
For production deployments and CI/CD, consider using Service Accounts when they are available for your plan.
AUGMENT_SESSION_AUTH environment variable to the session JSON:
Quick Start
Key Features
Both SDKs provide:- High-level API - Simple interface for common tasks
- Multiple Output Modes - String responses, typed returns, streaming, and more
- Codebase Awareness - Automatic indexing and context from your workspace
- Custom Tools - Extend Auggie with your own tools and integrations
TypeScript-Specific Features
The TypeScript SDK also includes:- AI SDK Provider - Use Augment as a language model provider with Vercel’s AI SDK
- Compatible with
generateText,streamText, and other AI SDK functions - Full support for tool calling (function calling)
- Works with API credentials only (no local Auggie installation needed)
- See the TypeScript SDK documentation for details
- Compatible with