@orkestrel/agent 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @orkestrel/agent
2
2
 
3
- A typed **conversation runtime** for the `@orkestrel` line. An agent is a
4
- conversation with a model and the loop that carries it forward: messages,
5
- conversations and their compaction, instructions, scopes, prompt assembly, the
6
- authority gate, durable jobs, and a bounded context → provider → tools → repeat
7
- turn you can run as a one-shot `generate` or a live `stream`. The model itself
8
- is the one piece this package does not supply — any backend implementing
9
- `ProviderInterface` drops in. Callable tools come from `@orkestrel/tool` and
10
- documents from `@orkestrel/workspace`; the agent advertises the first to the
11
- model and renders the second into the prompt. Part of the `@orkestrel` line.
3
+ > The conversation runtime for the `@orkestrel` line: a pluggable `ProviderInterface`
4
+ > inference boundary, the conversation layer that feeds it — messages, compaction,
5
+ > instructions, scopes, and prompt assembly — and the bounded context → provider → tools →
6
+ > repeat loop that carries a turn to its end.
7
+
8
+ Build an agent with the `createAgent` function over your own `ProviderInterface`
9
+ implementation, seed the conversation through `agent.context.messages`, then run the turn
10
+ as a one-shot `generate` or a live `stream`. Callable tools come from `@orkestrel/tool`
11
+ and documents from `@orkestrel/workspace`. Part of the `@orkestrel` line.
12
12
 
13
13
  ## Install
14
14
 
@@ -51,7 +51,7 @@ const result = await stream.result // { content, usage?, partial }
51
51
 
52
52
  [`guides/agent.md`](guides/agent.md) documents the agent-owned surface:
53
53
  the provider boundary, conversations, instructions, scopes, authority, durable
54
- jobs, the loop, and `AgentContext`. The two packages it consumes are mirrored
54
+ jobs, the loop, and `AgentContext`. The packages it consumes are mirrored
55
55
  alongside it — [`guides/tool.md`](guides/tool.md) for callable tools and
56
56
  [`guides/workspace.md`](guides/workspace.md) for files.
57
57