Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protawk Agents Logo

Reusable TypeScript agent infrastructure for multi-tenant applications.

version TypeScript Node.js License


This package provides a generic agent loop, tool registry, and provider helper. Product-specific tools, prompts, and authorization stay in the consuming app.

✨ Features

  • Generic Agent Loop: Standardized loop for building robust agent workflows.
  • Tool Registry: Easily register, manage, and distribute tools for your agents.
  • Provider Helpers: Built-in helpers for AI SDK providers (e.g., OpenRouter).
  • TypeScript First: Fully typed for safe, scalable, and rapid development.

🚀 Setup

Install the dependencies and build the package:

yarn install
yarn build

💻 Local Development

Run the TypeScript compiler in watch mode:

yarn dev

📦 Build And Package

To perform typechecking, create a clean build, and package the artifact:

yarn typecheck
yarn build
yarn pack:artifact

Note: yarn pack:artifact creates protawk-agents.tgz. The package lifecycle runs a clean build before packing, so the artifact is always created from the current source.

🛠️ Usage

Import the necessary functions from the package to start building your agent infrastructure:

import {
  createToolRegistry,
  runAgent,
} from "@protawk/agents";

// Add your specific implementation here...

About

Reusable agent infrastructure for Node.js apps

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages