@lapage/ai-agent 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +10 -1
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # @zhuylanz/ai-agent
1
+ # @lapage/ai-agent
2
2
 
3
3
  A standalone, TypeScript-first AI Agent library built on [LangChain](https://js.langchain.com/). Wire up OpenAI or Anthropic models, register tools (including live **MCP servers**), add persistent memory, and query **vector knowledge bases** — all from a single `AIAgent` class.
4
4
 
5
5
  ## Table of Contents
6
6
 
7
- - [@zhuylanz/ai-agent](#zhuylanzai-agent)
7
+ - [@lapage/ai-agent](#lapageai-agent)
8
8
  - [Table of Contents](#table-of-contents)
9
9
  - [Features](#features)
10
10
  - [Installation](#installation)
@@ -53,7 +53,7 @@ A standalone, TypeScript-first AI Agent library built on [LangChain](https://js.
53
53
  ## Installation
54
54
 
55
55
  ```bash
56
- npm install @zhuylanz/ai-agent
56
+ npm install @lapage/ai-agent
57
57
  ```
58
58
 
59
59
  Install the LLM provider you need (at least one required):
@@ -68,7 +68,7 @@ npm install @langchain/anthropic # for Anthropic / Claude models
68
68
  ## Quick Start
69
69
 
70
70
  ```ts
71
- import { AIAgent } from '@zhuylanz/ai-agent';
71
+ import { AIAgent } from '@lapage/ai-agent';
72
72
 
73
73
  const agent = new AIAgent({
74
74
  model: {
@@ -333,7 +333,7 @@ Attach one or more vector knowledge bases. The agent automatically gets a search
333
333
  Requires PostgreSQL with the [pgvector](https://github.com/pgvector/pgvector) extension.
334
334
 
335
335
  ```ts
336
- import { AIAgent } from '@zhuylanz/ai-agent';
336
+ import { AIAgent } from '@lapage/ai-agent';
337
337
 
338
338
  const agent = new AIAgent({
339
339
  model: { provider: 'openai', model: 'gpt-4o' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapage/ai-agent",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Standalone AI Agent library built on LangChain with MCP tool calling, memory, and vector knowledge base support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,9 +34,18 @@
34
34
  ],
35
35
  "author": "Huy Lan",
36
36
  "license": "MIT",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/zhuylanz/AIAgent.git"
40
+ },
41
+ "bugs": {
42
+ "url": "https://github.com/zhuylanz/AIAgent/issues"
43
+ },
44
+ "homepage": "https://github.com/zhuylanz/AIAgent#readme",
37
45
  "dependencies": {
38
46
  "@langchain/community": "^0.3.0",
39
47
  "@langchain/core": "^0.3.0",
48
+ "@lapage/ai-agent": "^1.0.1",
40
49
  "@modelcontextprotocol/sdk": "^1.26.0",
41
50
  "@types/json-schema": "^7.0.15",
42
51
  "langchain": "^0.3.0",