Skip to content

Commit f558ff0

Browse files
authored
Merge pull request #27 from statelyai/changeset-release/main
Version Packages
2 parents 5562319 + 26157d5 commit f558ff0

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

.changeset/cuddly-pillows-glow.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @statelyai/agent
22

3+
## 0.1.0
4+
5+
### Minor Changes
6+
7+
- [#32](https://github.com/statelyai/agent/pull/32) [`537f501`](https://github.com/statelyai/agent/commit/537f50111b5f8edc1a309d1abb8fffcdddddbc03) Thanks [@davidkpiano](https://github.com/davidkpiano)! - First minor release of `@statelyai/agent`! The API has been simplified from experimental earlier versions. Here are the main methods:
8+
9+
- `createAgent({ … })` creates an agent
10+
- `agent.decide({ … })` decides on a plan to achieve the goal
11+
- `agent.generateText({ … })` generates text based on a prompt
12+
- `agent.streamText({ … })` streams text based on a prompt
13+
- `agent.addObservation(observation)` adds an observation and returns a full observation object
14+
- `agent.addFeedback(feedback)` adds a feedback and returns a full feedback object
15+
- `agent.addMessage(message)` adds a message and returns a full message object
16+
- `agent.addPlan(plan)` adds a plan and returns a full plan object
17+
- `agent.onMessage(cb)` listens to messages
18+
- `agent.select(selector)` selects data from the agent context
19+
- `agent.interact(actorRef, getInput)` interacts with an actor and makes decisions to accomplish a goal
20+
321
## 0.0.8
422

523
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@statelyai/agent",
3-
"version": "0.0.8",
3+
"version": "0.1.0",
44
"description": "",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)