New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

typeagent

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeagent

TypeAgent is an experimental opinionated library that makes it easy to build generative AI Agents using typescript.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

TypeAgent

TypeAgent is an experimental opinionated library that makes it easy to build generative AI agents using TypeScript type system. This is based on the work pioneer by TypeChat by Microsoft.

Getting Started

Install TypeAgent:

npm install typeagent

TypeChat

TypeAgent depends on TypeChat, which relies on the environment variables to create the default model abstractions:

OPENAI_API_KEY=ADD_YOURS_HERE # https://platform.openai.com/account/api-keys
OPENAI_MODEL=gpt-4

LangSmith

TypeAgent indirectly uses LangSmith. If you plan to use TypeAgent, we recommend you sign up for a LangSmith account. You can use it for development and testing, which helps greatly with debugging the orchestrator and the agents. See the following screenshot:

LangSmith Screenshot

For LangSmith to work, you must define the following environment variables:

LANGCHAIN_TRACING_V2=true
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGCHAIN_API_KEY=ADD_YOURS_HERE # https://smith.langchain.com/
LANGCHAIN_PROJECT=YourProjectName

Contributing

Just send the pull request.

You can build TypeAgent from source:

npm run build

Keywords

schema

FAQs

Package last updated on 23 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts