diff --git a/samples/hosted-agent/README.md b/samples/hosted-agent/README.md index b55ec4d..c3ca96b 100644 --- a/samples/hosted-agent/README.md +++ b/samples/hosted-agent/README.md @@ -4,11 +4,11 @@ This folder contains sample templates for building code-based **hosted agents** ## Available Templates -| Template | Python | .NET | Description | -|----------|--------|------|-------------| -| **Agent** | `python/agent` | `dotnet/agent` | A single agent with local tool execution (Seattle Hotel search demo) | -| **Workflow** | `python/workflow` | `dotnet/workflow` | A multi-agent workflow with Writer and Reviewer agents | -| **Minimal** | `python/minimal` | `dotnet/minimal` | A bare-bones Dockerfile for custom implementations | +| Template | Description | Python (Agent Framework) | Python (LangGraph) | .NET | +| ------------ | -------------------------------------------------------------------- | --------------------------------- | ------------------------ | ----------------- | +| **Agent** | A single agent with local tool execution (Seattle Hotel search demo) | `python/agent-framework/agent` | `python/langgraph/agent` | `dotnet/agent` | +| **Workflow** | A multi-agent workflow with Writer and Reviewer agents | `python/agent-framework/workflow` | — | `dotnet/workflow` | +| **Minimal** | A bare-bones Dockerfile for custom implementations | `python/minimal` | — | `dotnet/minimal` | ## Placeholder Values @@ -28,6 +28,7 @@ For the best experience creating hosted agents, we recommend using the **Microso **Install the extension:** [Microsoft Foundry for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-windows-ai-studio.windows-ai-studio) With the extension you can: + - Scaffold a new hosted agent project with your settings pre-filled - Deploy directly to Microsoft Foundry from VS Code - Test and debug agents locally before deployment @@ -38,11 +39,14 @@ With the extension you can: hosted-agent/ ├── version-manifest.json # Version and release metadata ├── python/ -│ ├── agent/ # Single agent with local tool -│ ├── workflow/ # Multi-agent workflow +│ ├── agent-framework/ +│ │ ├── agent/ # Single agent with local tool (Agent Framework) +│ │ └── workflow/ # Multi-agent workflow (Agent Framework) +│ ├── langgraph/ +│ │ └── agent/ # Single agent built with LangGraph │ └── minimal/ # Minimal Dockerfile only └── dotnet/ ├── agent/ # Single agent with local tool ├── workflow/ # Multi-agent workflow └── minimal/ # Minimal Dockerfile only -``` \ No newline at end of file +``` diff --git a/samples/hosted-agent/python/agent/.dockerignore b/samples/hosted-agent/python/agent-framework/agent/.dockerignore similarity index 100% rename from samples/hosted-agent/python/agent/.dockerignore rename to samples/hosted-agent/python/agent-framework/agent/.dockerignore diff --git a/samples/hosted-agent/python/agent/.env b/samples/hosted-agent/python/agent-framework/agent/.env similarity index 100% rename from samples/hosted-agent/python/agent/.env rename to samples/hosted-agent/python/agent-framework/agent/.env diff --git a/samples/hosted-agent/python/agent/.foundry/.deployment.json b/samples/hosted-agent/python/agent-framework/agent/.foundry/.deployment.json similarity index 100% rename from samples/hosted-agent/python/agent/.foundry/.deployment.json rename to samples/hosted-agent/python/agent-framework/agent/.foundry/.deployment.json diff --git a/samples/hosted-agent/python/agent/.vscode/launch.json b/samples/hosted-agent/python/agent-framework/agent/.vscode/launch.json similarity index 100% rename from samples/hosted-agent/python/agent/.vscode/launch.json rename to samples/hosted-agent/python/agent-framework/agent/.vscode/launch.json diff --git a/samples/hosted-agent/python/agent/.vscode/tasks.json b/samples/hosted-agent/python/agent-framework/agent/.vscode/tasks.json similarity index 100% rename from samples/hosted-agent/python/agent/.vscode/tasks.json rename to samples/hosted-agent/python/agent-framework/agent/.vscode/tasks.json diff --git a/samples/hosted-agent/python/agent/Dockerfile b/samples/hosted-agent/python/agent-framework/agent/Dockerfile similarity index 100% rename from samples/hosted-agent/python/agent/Dockerfile rename to samples/hosted-agent/python/agent-framework/agent/Dockerfile diff --git a/samples/hosted-agent/python/agent/README.md b/samples/hosted-agent/python/agent-framework/agent/README.md similarity index 100% rename from samples/hosted-agent/python/agent/README.md rename to samples/hosted-agent/python/agent-framework/agent/README.md diff --git a/samples/hosted-agent/python/agent/agent.yaml b/samples/hosted-agent/python/agent-framework/agent/agent.yaml similarity index 100% rename from samples/hosted-agent/python/agent/agent.yaml rename to samples/hosted-agent/python/agent-framework/agent/agent.yaml diff --git a/samples/hosted-agent/python/agent/main.py b/samples/hosted-agent/python/agent-framework/agent/main.py similarity index 100% rename from samples/hosted-agent/python/agent/main.py rename to samples/hosted-agent/python/agent-framework/agent/main.py diff --git a/samples/hosted-agent/python/agent/requirements.txt b/samples/hosted-agent/python/agent-framework/agent/requirements.txt similarity index 100% rename from samples/hosted-agent/python/agent/requirements.txt rename to samples/hosted-agent/python/agent-framework/agent/requirements.txt diff --git a/samples/hosted-agent/python/workflow/.dockerignore b/samples/hosted-agent/python/agent-framework/workflow/.dockerignore similarity index 100% rename from samples/hosted-agent/python/workflow/.dockerignore rename to samples/hosted-agent/python/agent-framework/workflow/.dockerignore diff --git a/samples/hosted-agent/python/workflow/.env b/samples/hosted-agent/python/agent-framework/workflow/.env similarity index 100% rename from samples/hosted-agent/python/workflow/.env rename to samples/hosted-agent/python/agent-framework/workflow/.env diff --git a/samples/hosted-agent/python/workflow/.foundry/.deployment.json b/samples/hosted-agent/python/agent-framework/workflow/.foundry/.deployment.json similarity index 100% rename from samples/hosted-agent/python/workflow/.foundry/.deployment.json rename to samples/hosted-agent/python/agent-framework/workflow/.foundry/.deployment.json diff --git a/samples/hosted-agent/python/langgraph-agent/.vscode/launch.json b/samples/hosted-agent/python/agent-framework/workflow/.vscode/launch.json similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/.vscode/launch.json rename to samples/hosted-agent/python/agent-framework/workflow/.vscode/launch.json diff --git a/samples/hosted-agent/python/workflow/.vscode/tasks.json b/samples/hosted-agent/python/agent-framework/workflow/.vscode/tasks.json similarity index 100% rename from samples/hosted-agent/python/workflow/.vscode/tasks.json rename to samples/hosted-agent/python/agent-framework/workflow/.vscode/tasks.json diff --git a/samples/hosted-agent/python/langgraph-agent/Dockerfile b/samples/hosted-agent/python/agent-framework/workflow/Dockerfile similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/Dockerfile rename to samples/hosted-agent/python/agent-framework/workflow/Dockerfile diff --git a/samples/hosted-agent/python/workflow/README.md b/samples/hosted-agent/python/agent-framework/workflow/README.md similarity index 100% rename from samples/hosted-agent/python/workflow/README.md rename to samples/hosted-agent/python/agent-framework/workflow/README.md diff --git a/samples/hosted-agent/python/workflow/agent.yaml b/samples/hosted-agent/python/agent-framework/workflow/agent.yaml similarity index 100% rename from samples/hosted-agent/python/workflow/agent.yaml rename to samples/hosted-agent/python/agent-framework/workflow/agent.yaml diff --git a/samples/hosted-agent/python/workflow/main.py b/samples/hosted-agent/python/agent-framework/workflow/main.py similarity index 100% rename from samples/hosted-agent/python/workflow/main.py rename to samples/hosted-agent/python/agent-framework/workflow/main.py diff --git a/samples/hosted-agent/python/workflow/requirements.txt b/samples/hosted-agent/python/agent-framework/workflow/requirements.txt similarity index 100% rename from samples/hosted-agent/python/workflow/requirements.txt rename to samples/hosted-agent/python/agent-framework/workflow/requirements.txt diff --git a/samples/hosted-agent/python/langgraph-agent/.dockerignore b/samples/hosted-agent/python/langgraph/agent/.dockerignore similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/.dockerignore rename to samples/hosted-agent/python/langgraph/agent/.dockerignore diff --git a/samples/hosted-agent/python/langgraph-agent/.env b/samples/hosted-agent/python/langgraph/agent/.env similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/.env rename to samples/hosted-agent/python/langgraph/agent/.env diff --git a/samples/hosted-agent/python/langgraph-agent/.gitignore b/samples/hosted-agent/python/langgraph/agent/.gitignore similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/.gitignore rename to samples/hosted-agent/python/langgraph/agent/.gitignore diff --git a/samples/hosted-agent/python/workflow/.vscode/launch.json b/samples/hosted-agent/python/langgraph/agent/.vscode/launch.json similarity index 100% rename from samples/hosted-agent/python/workflow/.vscode/launch.json rename to samples/hosted-agent/python/langgraph/agent/.vscode/launch.json diff --git a/samples/hosted-agent/python/langgraph-agent/.vscode/tasks.json b/samples/hosted-agent/python/langgraph/agent/.vscode/tasks.json similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/.vscode/tasks.json rename to samples/hosted-agent/python/langgraph/agent/.vscode/tasks.json diff --git a/samples/hosted-agent/python/workflow/Dockerfile b/samples/hosted-agent/python/langgraph/agent/Dockerfile similarity index 100% rename from samples/hosted-agent/python/workflow/Dockerfile rename to samples/hosted-agent/python/langgraph/agent/Dockerfile diff --git a/samples/hosted-agent/python/langgraph-agent/README.md b/samples/hosted-agent/python/langgraph/agent/README.md similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/README.md rename to samples/hosted-agent/python/langgraph/agent/README.md diff --git a/samples/hosted-agent/python/langgraph-agent/agent.py b/samples/hosted-agent/python/langgraph/agent/agent.py similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/agent.py rename to samples/hosted-agent/python/langgraph/agent/agent.py diff --git a/samples/hosted-agent/python/langgraph-agent/agent.yaml b/samples/hosted-agent/python/langgraph/agent/agent.yaml similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/agent.yaml rename to samples/hosted-agent/python/langgraph/agent/agent.yaml diff --git a/samples/hosted-agent/python/langgraph-agent/langgraph.json b/samples/hosted-agent/python/langgraph/agent/langgraph.json similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/langgraph.json rename to samples/hosted-agent/python/langgraph/agent/langgraph.json diff --git a/samples/hosted-agent/python/langgraph-agent/main.py b/samples/hosted-agent/python/langgraph/agent/main.py similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/main.py rename to samples/hosted-agent/python/langgraph/agent/main.py diff --git a/samples/hosted-agent/python/langgraph-agent/requirements.txt b/samples/hosted-agent/python/langgraph/agent/requirements.txt similarity index 100% rename from samples/hosted-agent/python/langgraph-agent/requirements.txt rename to samples/hosted-agent/python/langgraph/agent/requirements.txt