Repository navigation
feat(examples): add a mailbox agent on Eve and fix replay conflict handling - #123
Merged
Merged
Conversation
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format No changelogs yetThis PR has no pending changelog files. If your changes require a release, add a changelog before merging. Run Managed by Tegami. |
[Medium impact] The PR appears safe to merge, with a non-blocking claim-cache growth issue.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A fifth agent-framework example: a mailbox agent on Eve, with a cookbook.
examples/mailbox-agent-eve: an Eve agent with two tool files,reply_to_customerandleave_for_person, and a local channel,agent/channels/samva.ts. A small relay follows the mailbox event stream and posts each received message to the channel. The message ids travel in channel state, so the tools read them fromctx.channel.metadataand the model supplies only the reply text or the reason.cookbooks/eve.md, and the README lists both.It runs as two processes, the Eve server and the relay. The README covers starting each.
Checks
bun run typecheck,bun run test,bun run lint,bun run format:checkpass for the repo.eve dev: the server boots, the channel returns 401 without the relay token and 202 with it, and a run starts and reaches the model call. No run was completed against a live model, so a tool readingctx.channel.metadataon a real run is not verified.