Draft
Conversation
Directed links between agents with relationship semantics (peer/superior/subordinate), a shared instance-level database, and a send_agent_message tool that routes through the existing MessagingManager pipeline. Foundation for the 0.2.0 release. - Instance database (instance.db) with separate migration path for cross-agent data - AgentLink model with direction (one_way/two_way) and relationship policies - LinkStore CRUD backed by instance.db - [[links]] config section with startup sync - send_agent_message tool: resolves target, validates link, injects InboundMessage - ROLE.md identity file for operational responsibilities - Org context prompt fragment (superiors/subordinates/peers hierarchy) - Link context prompt fragment for agent-to-agent channels - AgentMessageSent/Received process events with SSE forwarding - Link CRUD API endpoints + topology snapshot endpoint
Links are defined in [[links]] config sections and stored in a shared ArcSwap<Vec<AgentLink>> that hot-reloads when config.toml changes. No separate database needed since config is already runtime-mutable through the API. - Remove InstanceDb, migrations_instance/, LinkStore - Links parsed from config at startup via AgentLink::from_config() - Shared via Arc<ArcSwap<Vec<AgentLink>>> passed to agents and API - File watcher reloads links on config.toml changes - API endpoints simplified to read-only (list, agent links, topology) - Deterministic link channel IDs from sorted agent ID pairs - ROLE.md added to file watcher identity change detection
- Added new API endpoints for creating, updating, and deleting agent links. - Introduced data structures for managing agent links and their relationships. - Enhanced the frontend with a TopologyGraph component to visualize agent connections. - Updated the LiveContext to track active links based on message activity. - Modified Overview component to integrate the new TopologyGraph and display active links.
…unctionality - Added optional display name and role fields to the AgentInfo and TopologyAgent interfaces. - Introduced new TopologyGroup interface and related API endpoints for creating, updating, and deleting agent groups. - Updated CreateAgentDialog to support input for display names and roles. - Enhanced TopologyGraph to visualize agent groups and their relationships. - Modified API and state management to handle agent groups effectively.
- Updated ToolActivityIndicator and WebChatPanel for better layout and responsiveness. - Introduced FloatingChatInput for a more user-friendly input experience. - Added ThinkingIndicator for visual feedback during processing. - Enhanced message display logic for clearer user interactions. - Improved styling and structure for better visual consistency across components.
- Added support for managing org-level humans with CRUD operations via new API endpoints. - Introduced TopologyHuman interface to represent humans in the topology. - Enhanced the ApiState to include a list of humans for topology visualization. - Updated the configuration to support human definitions and ensure persistence. - Modified the TopologyGraph component to accommodate human nodes alongside agents. - Improved error handling for human-related operations in the API.
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.
Summary
Foundation for 0.2.0 — adds a directed communication graph between agents so they can coordinate, delegate, escalate, and share context through explicit links with relationship semantics.
[[links]]config sections, hot-reloadable via the existing file watcher. Config is already runtime-mutable through the API so no separate database needed.send_agent_messagetool resolves target agent, validates link direction, constructs anInboundMessagewithsource: "internal", and pushes throughMessagingManager::inject_message(). No new transport.ROLE.mdidentity file for operational responsibilities — separates what the agent does from who it is (IDENTITY.md) and how it behaves (SOUL.md).AgentMessageSent/AgentMessageReceivedwith SSE forwarding for dashboard visibility./api/links), per-agent links (/api/agents/:id/links), topology snapshot (/api/topology) for the future React Flow graph editor.