Merged
Conversation
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
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.
Implemented a minimal hosted multi-agent layer on top of the existing WorkGraph kernel.
What changed
Added hosted CLI connectivity:
workgraph connect
workgraph whoami
workgraph serve
Added actor registration surface:
workgraph actor register
workgraph actor list
workgraph actor show
Added minimal hosted adapters:
HTTP API in wg-api
MCP stdio adapter in wg-mcp
Wired remote CLI dispatch so connected clients execute supported commands against the hosted server
Added hosted roundtrip test coverage
Updated docs/README to reflect the new hosted/MCP surfaces
How to run / test
Build:
cargo build -p workgraph
Run tests:
cargo test -p wg-cli --lib
cargo test --test workgraph_flow
Minimal hosted demo:
server workspace
workgraph --json init
workgraph --json serve --listen 127.0.0.1:40111 --token dev-token
client 1
workgraph --json init
workgraph --json connect --server http://127.0.0.1:40111 --token dev-token --actor-id person:pedro
workgraph --json actor register --type person --id person:pedro --title Pedro
workgraph --json create thread --title "Remote Thread" --field status=ready
client 2
workgraph --json init
workgraph --json connect --server http://127.0.0.1:40111 --token dev-token --actor-id agent:cursor
workgraph --json actor register --type agent --id agent:cursor --title "Cursor Agent" --runtime cursor --capability coding
workgraph --json claim remote-thread
workgraph --json run create --title "Remote Run" --thread-id remote-thread
workgraph --json run start remote-run
workgraph --json run complete remote-run --summary "Implemented remotely"
Minimal MCP check:
workgraph mcp serve
Then call initialize and tools/list over stdio JSON-RPC.
Caveats / followups
This is a minimal hosted implementation, not full org-grade auth/governance yet
Live trigger execution loops and webhook ingress runtime are still not implemented
Trigger authoring is still rough compared to the rest of the CLI
Obsidian on this VM required extracting the AppImage because libfuse.so.2 is missing