open-ts-manus
v1.0.2
Published
open-manus typescript 版本
Readme
OpenTSManus —— A TypeScript-Based AI Agent Framework
AI Agent (Intelligent Agent) = LLM (Large Language Model) + Planning + Memory + Tools
Introduction
OpenTSManus is an open-source AI Agent framework written in TypeScript. It aims to provide a flexible and extensible set of components to help developers quickly build intelligent agent systems that are equipped with large language model understanding capabilities, task planning, memory storage and retrieval mechanisms, and the ability to invoke external tools.
This project is inspired by the OpenManus architecture.
Core Modules
🧠 LLM (Large Language Model)
Supports integration with various large language models, including but not limited to OpenAI GPT series, Alibaba's Qwen (Tongyi Qianwen), and more. Through a unified interface abstraction, users can easily switch between different model providers.
📝 Planning (Task Planning)
Todo: Task decomposition and planning logic.
💾 Memory (Memory Management)
- Short-term Memory: Implemented using BufferWindowMemory to manage context window.
- Todo: Long-term memory support.
🔧 Tools (Tool Integration)
Includes a built-in set of commonly used tools and supports custom tool integration, such as:
- File operation tools
- Shell command executor
- Puppeteer browser automation tool
- Bing search engine tool
🔧 Runtime (Execution Environment)
Provides a sandbox-like runtime environment to ensure the security of agent execution. Currently supports local execution, with future plans to support Docker and Kubernetes.
Quick Start
Install Dependencies
npm install open-ts-manus -gUsage Example
open-ts-manus -p "Create a new Node.js server in a new directory named 'node-server', and run the server"