Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4c53e9c
Fix formatting of 'Microsoft Agent365' to 'Microsoft Agent 365'
pontemonti Nov 13, 2025
8e4926c
Update README to reflect Microsoft Agent 365 SDK
pontemonti Nov 13, 2025
9c0388a
Fix typo in Agent365 authentication comment
pontemonti Nov 13, 2025
f298bf9
Fix comment formatting in client.ts
pontemonti Nov 13, 2025
0cbdbe6
Fix typo in AGENT-TESTING.md
pontemonti Nov 13, 2025
8b77584
Fix description formatting in pyproject.toml
pontemonti Nov 13, 2025
9656b32
Update package description for clarity
pontemonti Nov 13, 2025
4981005
Fix formatting of Agent 365 configuration comment
pontemonti Nov 13, 2025
f839c62
Update README to reference Microsoft Agent 365 SDK
pontemonti Nov 13, 2025
51e83e5
Fix typo in Agent 365 Observability SDK comment
pontemonti Nov 13, 2025
ddfcb51
Update package description for clarity
pontemonti Nov 13, 2025
ac49c3e
Fix description formatting in pyproject.toml
pontemonti Nov 13, 2025
c26b8e3
Fix formatting in .env.template for Agent 365
pontemonti Nov 13, 2025
e29eb71
Update README.md
pontemonti Nov 13, 2025
35e1d70
Update README.md
pontemonti Nov 13, 2025
25bfaec
Fix naming in README for Agent Framework and SDK
pontemonti Nov 13, 2025
f4fd9b0
Update license link in README.md
pontemonti Nov 13, 2025
ba1b262
Update perplexityClient.ts
pontemonti Nov 13, 2025
235c156
Update README to reference Microsoft Agent 365 SDK
pontemonti Nov 13, 2025
8b0aecb
Fix typo in LangChain client documentation
pontemonti Nov 13, 2025
51d2e55
Update README to reflect Microsoft Agent 365 SDK
pontemonti Nov 13, 2025
fe00974
Merge branch 'main' into users/johanb/FixAgent365References
pontemonti Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nodejs/claude/sample-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a sample agent implementation using Node.js and Claude A

## Demonstrates

This sample demonstrates how to build an agent using the Agent365 framework with Node.js and Claude Agent SDK.
This sample demonstrates how to build an agent using the Microsoft Agent 365 SDK with Node.js and Claude Agent SDK.

## Prerequisites

Expand Down
6 changes: 3 additions & 3 deletions nodejs/langchain/quickstart-before/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This directory contains a quickstart agent implementation using Node.js and Lang

## Demonstrates

This sample is used to demonstrate how to build an agent using the Agent365 framework with Node.js and LangChain. The sample includes basic LangChain Agent SDK usage hosted with Agents SDK that is testable on [agentsplayground](https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/test-with-toolkit-project?tabs=windows).
Please refer to this [quickstart guide](https://review.learn.microsoft.com/en-us/microsoft-agent-365/developer/quickstart-nodejs-langchain?branch=main) on how to extend your agent using Agent365 SDK.
This sample is used to demonstrate how to build an agent using the Microsoft Agent 365 SDK with Node.js and LangChain. The sample includes basic LangChain Agent SDK usage hosted with Agents SDK that is testable on [agentsplayground](https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/test-with-toolkit-project?tabs=windows).
Please refer to this [quickstart guide](https://review.learn.microsoft.com/en-us/microsoft-agent-365/developer/quickstart-nodejs-langchain?branch=main) on how to extend your agent using Microsoft Agent 365 SDK.

## Prerequisites

Expand Down Expand Up @@ -69,4 +69,4 @@ For detailed information about this sample, please refer to:

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](../../../LICENSE.md) file for details.
This project is licensed under the MIT License - see the [LICENSE](../../../LICENSE.md) file for details.
4 changes: 2 additions & 2 deletions nodejs/langchain/quickstart-before/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface Client {
}

/**
* Creates and configures a LangChain client with Agent365 MCP tools.
* Creates and configures a LangChain client with Agent 365 MCP tools.
*
* This factory function initializes a LangChain React agent with access to
* Microsoft 365 tools through MCP (Model Context Protocol) servers. It handles
Expand Down Expand Up @@ -86,4 +86,4 @@ class LangChainClient implements Client {

return agentMessage;
}
}
}
2 changes: 1 addition & 1 deletion nodejs/langchain/sample-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a sample agent implementation using Node.js and LangChai

## Demonstrates

This sample demonstrates how to build an agent using the Agent365 framework with Node.js and LangChain.
This sample demonstrates how to build an agent using the Microsoft Agent 365 SDK with Node.js and LangChain.

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion nodejs/langchain/sample-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "langchain-sample",
"version": "2025.11.6",
"description": "Sample agent integrating LangChain Agents with Microsoft 365 Agents SDK and Agent365 SDK",
"description": "Sample agent integrating LangChain Agents with Microsoft 365 Agents SDK and Microsoft Agent 365 SDK",
"main": "src/index.ts",
"scripts": {
"preinstall": "node preinstall-local-packages.js",
Expand Down
4 changes: 2 additions & 2 deletions nodejs/langchain/sample-agent/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ const agent = createAgent({
});

/**
* Creates and configures a LangChain client with Agent365 MCP tools.
* Creates and configures a LangChain client with Agent 365 MCP tools.
*
* This factory function initializes a LangChain React agent with access to
* Microsoft 365 tools through MCP (Model Context Protocol) servers. It handles
* tool discovery, authentication, and agent configuration.
*
* @param authorization - Agent365 authorization context for token acquisition
* @param authorization - Agent 365 authorization context for token acquisition
* @param turnContext - Bot Framework turn context for the current conversation
* @returns Promise<Client> - Configured LangChain client ready for agent interactions
*
Expand Down
4 changes: 2 additions & 2 deletions nodejs/openai/sample-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a sample agent implementation using Node.js and OpenAI.

## Demonstrates

This sample demonstrates how to build an agent using the Agent365 framework with Node.js and OpenAI.
This sample demonstrates how to build an agent using the Microsoft Agent 365 SDK with Node.js and OpenAI.

## Prerequisites

Expand Down Expand Up @@ -72,4 +72,4 @@ For detailed information about this sample, please refer to:

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](../../../LICENSE.md) file for details.
This project is licensed under the MIT License - see the [LICENSE](../../../LICENSE.md) file for details.
2 changes: 1 addition & 1 deletion nodejs/perplexity/sample-agent/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
PERPLEXITY_API_KEY=your_perplexity_api_key_here
PERPLEXITY_MODEL=sonar

# Agent365 Configuration
# Agent 365 Configuration
AGENT_ID=perplexity-agent
PORT=3978

Expand Down
2 changes: 1 addition & 1 deletion nodejs/perplexity/sample-agent/src/perplexityClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class PerplexityClient {
}

/**
* Wrapper for invokeAgent that adds tracing and span management using Agent365 SDK.
* Wrapper for invokeAgent that adds tracing and span management using Microsoft Agent 365 SDK.
*/
async invokeAgentWithScope(prompt: string): Promise<string> {
const invokeAgentDetails: InvokeAgentDetails = {
Expand Down
2 changes: 1 addition & 1 deletion nodejs/vercel-sdk/sample-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a sample agent implementation using Node.js and Vercel A

## Demonstrates

This sample demonstrates how to build an agent using the Agent365 framework with Node.js and Vercel AI SDK.
This sample demonstrates how to build an agent using the Microsoft Agent 365 SDK with Node.js and Vercel AI SDK.

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion nodejs/vercel-sdk/sample-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vercel-sdk-sample",
"version": "2025.11.6",
"description": "Sample agent integrating Vercel AI SDK Agents with Microsoft 365 Agents SDK and Agent365 SDK",
"description": "Sample agent integrating Vercel AI SDK Agents with Microsoft 365 Agents SDK and Microsoft Agent 365 SDK",
"main": "src/index.ts",
"scripts": {
"preinstall": "node preinstall-local-packages.js",
Expand Down
4 changes: 2 additions & 2 deletions prompts/Cursor IDE Prompt.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Cursor IDE Prompt Guide

## 1. Introduction
This guide explains how to use Cursor IDE to create a Microsoft Agent365 agent by providing a natural language prompt. For illustration, we use **TypeScript with Claude as the orchestrator** and an **email management use case**, but the same approach works for other languages, orchestrators, and scenarios (calendar management, document search, etc.).
This guide explains how to use Cursor IDE to create a Microsoft Agent 365 agent by providing a natural language prompt. For illustration, we use **TypeScript with Claude as the orchestrator** and an **email management use case**, but the same approach works for other languages, orchestrators, and scenarios (calendar management, document search, etc.).

You will:
- Attach key GitHub README URLs that describe the Microsoft Agent365 SDK and your chosen orchestrator (Claude, OpenAI, etc.).
- Attach key GitHub README URLs that describe the Microsoft Agent 365 SDK and your chosen orchestrator (Claude, OpenAI, etc.).
- Send one concise prompt to Cursor so it scaffolds the project for you.
- Know where to look for the generated README files and next steps.

Expand Down
4 changes: 2 additions & 2 deletions python/agent-framework/sample-agent/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ AGENTIC_AUTH_SCOPE=

AGENT_ID=

# Agent365 Agentic Authentication Configuration
# Agent 365 Agentic Authentication Configuration
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTID=
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTSECRET=
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__TENANTID=
Expand Down Expand Up @@ -50,4 +50,4 @@ PYTHON_ENVIRONMENT=development

# Enable otel logs on AgentFramework SDK. Required for auto instrumentation
ENABLE_OTEL=true
ENABLE_SENSITIVE_DATA=true
ENABLE_SENSITIVE_DATA=true
11 changes: 5 additions & 6 deletions python/agent-framework/sample-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Sample Agent - Python AgentFramework

This directory contains a sample agent implementation using Python and Microsoft's AgentFramework SDK.
This directory contains a sample agent implementation using Python and Microsoft's Agent Framework SDK.

## Demonstrates

This sample demonstrates how to build an agent using the Agent365 framework with Python and AgentFramework SDK, including:
This sample demonstrates how to build an agent using the Microsoft Agent 365 SDK with Python and Agent Framework SDK, including:
- Azure OpenAI integration with AgentFramework
- MCP (Model Context Protocol) tool integration
- Microsoft Agent 365 observability and tracing
Expand All @@ -26,9 +26,8 @@ For detailed information about this sample, please refer to:

## 📚 Related Documentation

- [AgentFramework SDK Documentation](https://github.com/microsoft/Agent365)
- [Microsoft Agent 365 Tooling](https://github.com/microsoft/Agent365/tree/main/python)
- [Model Context Protocol (MCP)](https://github.com/microsoft/Agent365/tree/main/python/libraries/microsoft-agents-a365-tooling)
- [Agent Framework SDK](https://github.com/microsoft/agent-framework)
- [Microsoft Agent 365 SDK for Python](https://github.com/microsoft/Agent365-python)

## 🤝 Contributing

Expand All @@ -39,4 +38,4 @@ For detailed information about this sample, please refer to:

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/microsoft/Agent365/blob/main/LICENSE.md) file for details.
This project is licensed under the MIT License - see the [LICENSE](../../LICENSE.md) file for details.
2 changes: 1 addition & 1 deletion python/agent-framework/sample-agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self):
"""Initialize the AgentFramework agent."""
self.logger = logging.getLogger(self.__class__.__name__)

# Initialize auto instrumentation with Agent365 observability SDK
# Initialize auto instrumentation with Agent 365 Observability SDK
self._enable_agentframework_instrumentation()

# Initialize authentication options
Expand Down
4 changes: 2 additions & 2 deletions python/agent-framework/sample-agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "sample-agentframework-agent"
version = "0.1.0"
description = "Sample AgentFramework Agent using Microsoft Agent365 SDK"
description = "Sample Agent Framework Agent using Microsoft Agent 365 SDK"
authors = [
{ name = "Microsoft", email = "example@microsoft.com" }
]
Expand Down Expand Up @@ -71,4 +71,4 @@ dev-dependencies = [
"pytest-asyncio>=0.24.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
]
4 changes: 2 additions & 2 deletions python/openai/sample-agent/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ USE_AGENTIC_AUTH=

AGENT_ID=

# Agent365 Agentic Authentication Configuration
# Agent 365 Agentic Authentication Configuration
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTID=
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTSECRET=
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__TENANTID=
Expand Down Expand Up @@ -49,4 +49,4 @@ AZURE_OPENAI_DEPLOYMENT="gpt-4o-mini"
# Required for observability SDK
ENABLE_OBSERVABILITY=true
ENABLE_KAIRO_EXPORTER=true
PYTHON_ENVIRONMENT=production
PYTHON_ENVIRONMENT=production
4 changes: 2 additions & 2 deletions python/openai/sample-agent/AGENT-TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The OpenAI Agent sample supports multiple testing modes and scenarios:
### Required Software
- Python 3.11 or higher
- OpenAI API key with sufficient credits
- Access to Microsoft Agent365 MCP servers (for tool testing)
- Access to Microsoft Agent 365 MCP servers (for tool testing)

### Environment Setup
1. Install uv (Python package manager):
Expand Down Expand Up @@ -470,4 +470,4 @@ OBSERVABILITY_SERVICE_NAMESPACE=agents.samples
- [ ] Error messages are clear and actionable
- [ ] Different model configurations work

This comprehensive testing guide ensures the OpenAI Agent sample is thoroughly validated across all its capabilities and integration points.
This comprehensive testing guide ensures the OpenAI Agent sample is thoroughly validated across all its capabilities and integration points.
2 changes: 1 addition & 1 deletion python/openai/sample-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains a sample agent implementation using Python and OpenAI.

## Demonstrates

This sample demonstrates how to build an agent using the Agent365 framework with Python and OpenAI.
This sample demonstrates how to build an agent using the Microsoft Agent 365 SDK with Python and OpenAI.

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion python/openai/sample-agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "sample-openai-agent"
version = "0.1.0"
description = "Sample OpenAI Agent using Microsoft Agent365 SDK"
description = "Sample OpenAI Agent using Microsoft Agent 365 SDK"
authors = [
{ name = "Microsoft", email = "example@microsoft.com" }
]
Expand Down
Loading