Connect
SDK Integration
Natural Language Ingestion
No more complex entity creation or relationship mapping. Just write what happened in plain English:
✓
agent.ingest("Customer Alice bought Laptop Pro")✓
agent.chat("Who bought laptops?")✓
agent.get_memory() for your own modelInstall
bash
npm install antonlytics
Usage
typescript
import { Agent } from "antonlytics";
const agent = new Agent({
apiKey: "anto_live_YOUR_API_KEY",
projectId: "YOUR_PROJECT_ID"
});
// Ingest - agent learns from natural language
await agent.ingest(`
Customer Alice from USA purchased Laptop Pro for $999.
She's interested in our Enterprise plan.
`);
// Chat - agent remembers and responds
const response = await agent.chat("Who purchased laptops?");
console.log(response.response);
// => "Alice from USA purchased a Laptop Pro for $999"
// Or get memory for your own model
const memory = await agent.getMemory("laptop purchases");
// Use with your own AI model