Skip to content

Cursor/workgraph agent connectivity 003b#14

Merged
G9Pedro merged 4 commits intomainfrom
cursor/workgraph-agent-connectivity-003b
Apr 14, 2026
Merged

Cursor/workgraph agent connectivity 003b#14
G9Pedro merged 4 commits intomainfrom
cursor/workgraph-agent-connectivity-003b

Conversation

@G9Pedro
Copy link
Copy Markdown
Contributor

@G9Pedro G9Pedro commented Apr 14, 2026

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

cursoragent and others added 4 commits April 13, 2026 22:14
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>
@G9Pedro G9Pedro merged commit a70569c into main Apr 14, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants