langchain-antigravity
v1.0.1
Published
LangChain integration for Antigravity
Readme
LangChain Antigravity
LangChain integration for Antigravity, providing support for Antigravity's LLMs within the LangChain ecosystem.
Installation
npm install langchain-antigravityUsage
Authentication
The library supports interactive login and uses cached credentials.
import { interactiveLogin } from "langchain-antigravity";
// Run this once to authenticate
await interactiveLogin();Chat Models
import { ChatAntigravity } from "langchain-antigravity";
const model = new ChatAntigravity({
model: "antigravity-gemini-3-flash",
temperature: 0.7,
});
const response = await model.invoke("Hello, how are you?");
console.log(response.content);Features
- Support for Gemini and Claude models via Antigravity API.
- Integrated authentication flow.
- LangChain standard interface compatible.
- TypeScript support with full type definitions.
License
ISC
