0.5.8 • Published 6 months ago

growr-agent-sdk v0.5.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

growr-agent-sdk

Still Experimental stage!

No tests, not tested in production!

WIP

Architecture high overview

Architecture

Install

npm i growr-agent-sdk

Use

For resident Agent instance (services with fixexd PK) that starts with your app with Single Private key use:

const GrowrAgent = require('growr-agent-sdk')

// getInstance creates instance that stays in the memory
// On first run the command creates identity with PK and then uses it for operations.
// Use this to get same instance in different modules

const agent = await GrowrAgent.getInstance(agentConfig)

For agent for user use case (custodial service, using user personality with each call) use:

const GrowrAgent = require('growr-agent-sdk')

// getAgent creates agent for the call with PK that is introduced for the usecase
// On every run, new identity is created, based on the PK in the agentConfig
// Use this to get same new agent every time it needs to be used

const agent = await GrowrAgent.getAgent(agentConfig)
0.5.8

6 months ago

0.5.7

6 months ago

0.4.10

12 months ago

0.4.11

12 months ago

0.5.4

11 months ago

0.5.3

12 months ago

0.5.6

11 months ago

0.5.5

11 months ago

0.5.0

12 months ago

0.5.2

12 months ago

0.5.1

12 months ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.5

1 year ago

0.4.4

2 years ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago