Skip to content

Instantly share code, notes, and snippets.

@MuhammadYossry
MuhammadYossry / .md
Created April 8, 2025 10:04
AgentNexus agents as MCP Clients/Servers.md

AgentNexus Agents as MCP Clients/Servers

Transforming AgentNexus agents into MCP clients and servers would be a powerful enhancement that enables them to seamlessly collaborate with external MCP-compatible systems. This approach focuses on making your existing agents "MCP-aware" without needing to completely rebuild their internal architecture.

Core Implementation Strategy

Agent as MCP Server

When an AgentNexus agent functions as an MCP server, it can:

  • Expose its capabilities to external systems
@MuhammadYossry
MuhammadYossry / go-dlv-note.md
Last active January 1, 2025 14:05
Useful Go Delve Debugger commands

Particularly Useful Delve Commands for Go Debugging

You might find invaluable during Go debugging sessions:

  1. Breakpoint Commands:
b or break main.go:34    - Set breakpoint at line 34
bp or breakpoints        - List all breakpoints
clear 1                  - Remove breakpoint #1
clearall                 - Remove all breakpoints
condition <bp> <expr>    - Set breakpoint condition

Agent Communication Languages as Modern Protocol: Evolution and Future Directions

Introduction

Just as HTTP revolutionized web communications by providing a standardized way for clients and servers to interact, Agent Communication Languages (ACLs) have the potential to transform how AI agents communicate. However, current ACL implementations need modernization to meet the demands of contemporary AI systems.

Understanding Traditional ACLs

Traditional ACLs, like FIPA-ACL, provide a framework for agent communication based on speech act theory. They define:

@MuhammadYossry
MuhammadYossry / Building Unified Interfaces for AI Agents.md
Last active December 2, 2024 16:33
Building Unified Interfaces for AI Agents(AI generated by prompting)

Building Unified Interfaces for AI Agents

    graph TB
    subgraph Interface["Interface Layer"]
        NLI["Natural Language Interface"]
        API["API Gateway"]
    end

    subgraph Agents["Agent Layer"]
 CSA["Customer Service Agent"]
@MuhammadYossry
MuhammadYossry / SPLM-ai.md
Created November 30, 2024 15:37
Spatially Pre-trained Language Model AI generated

Spatial Memory Is All You Need: Self-Supervised Pretraining for Enhanced Language Models

Abstract

We introduce the Spatially Pretrained Language Model (SPLM), an architecture that enhances large language models through self-supervised spatial memory pretraining. Our approach integrates with existing LLM architectures by adding a spatial memory layer that is pretrained on multi-modal spatial relationships before fine-tuning with language tasks. Results show significant improvements in spatial reasoning, context handling, and multi-modal understanding while maintaining computational efficiency.

1. Introduction

1.1 Motivation

Current LLMs struggle with:

  • Spatial relationship understanding in text descriptions
@MuhammadYossry
MuhammadYossry / GoF refresher by example.md
Last active March 18, 2025 20:42
GoF patterns primer with refactor examples