Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust
5.0 KB
Raw Blame

Argument names

SDK arguments are the server's wire names in camelCase. workspace and project travel inside scope; messages.send takes to and from scopes for the to_* and from_* pairs.

memory_write_page

Methods: pages.write, pages.update

Wire name SDK name
workspace workspace
project project
path path
body body
title title
tier tier
tags tags
pinned pinned
kind kind
entities entities
abstract abstract
relations relations
expires_at expiresAt
expected_page_id expectedPageId
create_only createOnly

memory_patch_page

Methods: pages.patch

Wire name SDK name
workspace workspace
project project
path path
expected_page_id expectedPageId
edits edits

memory_read_page

Methods: pages.read, pages.update

Wire name SDK name
workspace workspace
project project
scope scope
path path
query query
include_related includeRelated
related_depth relatedDepth
max_chars maxChars

memory_delete_page

Methods: pages.delete

Wire name SDK name
workspace workspace
project project
path path
expected_page_id expectedPageId

memory_query

Methods: query

Wire name SDK name
workspace workspace
project project
query query
limit limit
scopes scopes
global global
include_expired includeExpired
include_superseded includeSuperseded
pin_first pinFirst
explain explain
as_of asOf
answer answer
reasoning reasoning
kind kind
tier tier
path_prefix pathPrefix
tag tag

memory_status

Methods: status

Wire name SDK name
workspace workspace
project project

memory_handoff_begin

Methods: handoffs.begin

Wire name SDK name
workspace workspace
project project
summary summary
open_questions openQuestions
next_steps nextSteps
files_touched filesTouched
shared shared

memory_handoff_list

Methods: handoffs.list

Wire name SDK name
workspace workspace
project project
any_owner anyOwner
limit limit

memory_handoff_accept

Methods: handoffs.accept

Wire name SDK name
workspace workspace
project project
handoff_id handoffId
any_owner anyOwner

memory_handoff_cancel

Methods: handoffs.cancel

Wire name SDK name
workspace workspace
project project
handoff_id handoffId
any_owner anyOwner

memory_recent

Methods: recent

Wire name SDK name
workspace workspace
project project
limit limit

memory_message_send

Methods: messages.send

Wire name SDK name
to_workspace toWorkspace
to_project toProject
from_workspace fromWorkspace
from_project fromProject
body body
subject subject
nature nature
evidence evidence

memory_message_list

Methods: messages.list

Wire name SDK name
workspace workspace
project project
box box
limit limit

memory_message_pop

Methods: messages.pop

Wire name SDK name
workspace workspace
project project
message_id messageId
agent agent

memory_message_cancel

Methods: messages.cancel

Wire name SDK name
workspace workspace
project project
message_id messageId

memory_briefing

Methods: briefing

Wire name SDK name
workspace workspace
project project
recent_pages_limit recentPagesLimit
settled_first settledFirst

memory_explore

Methods: explore

Wire name SDK name
workspace workspace
project project
focus focus
recent_pages_limit recentPagesLimit
reasoning reasoning

memory_read_session_observations

Methods: observations

Wire name SDK name
workspace workspace
project project
session_id sessionId
limit limit
offset offset
order order
kinds kinds
query query
body_max_chars bodyMaxChars

memory_feedback

Methods: feedback

Wire name SDK name
workspace workspace
project project
path path
signal signal
reason reason