Skip to content

A programming framework for agentic AI

simplify actors/agents

Kosta Petan25cd816a86b1
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Conductor/Conductor.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Conductor/Conductor.cs
deleted file mode 100644
index e1643fab1..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Conductor/Conductor.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using Microsoft.AI.DevTeam.Skills;
-using Orleans.Runtime;
-using Orleans.Streams;
-
-namespace Microsoft.AI.DevTeam;
-
-public class Conductor : Grain, IOrchestrateWorkflows
-{
- private readonly IManageGithub _ghService;
-
- public Conductor(IManageGithub ghService)
- {
- _ghService = ghService;
- }
-
- public async Task InitialFlow(string input, string org, string repo, long parentNumber)
- {
- await _ghService.CreateBranch(org, repo, $"sk-{parentNumber}");
-
- var pmIssue = await _ghService.CreateIssue(org, repo, input, $"{nameof(PM)}.{nameof(PM.Readme)}", parentNumber);
- var devLeadIssue = await _ghService.CreateIssue(org, repo, input, $"{nameof(DevLead)}.{nameof(DevLead.Plan)}", parentNumber);
- var suffix = $"{org}-{repo}";
- var lookup = GrainFactory.GetGrain<ILookupMetadata>(suffix);
-
- var metadataList = new List<StoreMetadataPairs>{
- new StoreMetadataPairs
- {
- Key = pmIssue.IssueNumber,
- Value = new NewIssueResponse { CommentId = pmIssue.CommentId, IssueNumber = (int)parentNumber}
- },
- new StoreMetadataPairs
- {
- Key = devLeadIssue.IssueNumber,
- Value = new NewIssueResponse { CommentId = devLeadIssue.CommentId, IssueNumber = (int)parentNumber}
- }
- };
- await lookup.StoreMetadata(metadataList);
-
- // await githubActor.CreatePR(); // TODO: this should happen when all tasks are done?
- }
- public async Task ImplementationFlow(DevLeadPlanResponse plan, string org, string repo, int parentNumber)
- {
- var suffix = $"{org}-{repo}";
- var prompts = plan.steps.SelectMany(s => s.subtasks.Select(st => st.prompt));
- var lookup = GrainFactory.GetGrain<ILookupMetadata>(suffix);
- var metadataList = new List<StoreMetadataPairs>();
- foreach (var prompt in prompts)
- {
- var issue = await _ghService.CreateIssue(org, repo, prompt, $"{nameof(Developer)}.{nameof(Developer.Implement)}", parentNumber);
- metadataList.Add(new StoreMetadataPairs
- {
- Key = issue.IssueNumber,
- Value = new NewIssueResponse { CommentId = issue.CommentId, IssueNumber = (int)parentNumber }
- });
- }
- await lookup.StoreMetadata(metadataList);
- }
-}
-
-/*
-Events:
-
-NewAsk - Org, Repo, IssueNumber
-
--> PM subscribes -> check label,
- if Do It, create an issue, mark it as PM.Readme
- if PM.Readme send the prompt and create a comment
--> DevLead subscribes -> check label,
- if Do It, create an issue, mark it as Devlead.Plan
- if DevLead.Plan, send the prompt and create a comment
--> Developer subscribes -> check label,
- if Developer.Implement, send the prompt and create a comment
-
-ChainClosed - Org, Repo, IssueNumber
-
--> PM subscribes -> check label,
- if PM.Readme send ReadmeCreated event
--> DevLead subscribes -> check label,
- if DevLead.Plan, send PlanSubstepCreated event
-
--> Developer subscribes -> check label,
- if Developer.Implement, send ImplementSubstepCreated event
-
-PlanSubstepCreated - Org, Repo, IssueNumber, Substep
-
--> Developer subscribes -> create an issue, mark it as Developer.Implement
-
-
-ReadmeCreated - store readme, commit to PR branch
-
-ImplementSubstepCreated - store code, run in sandbox, commit to PR branch
-
-*/
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Conductor/IOrchestrateWorkflows.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Conductor/IOrchestrateWorkflows.cs
deleted file mode 100644
index c8dbf8352..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Conductor/IOrchestrateWorkflows.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Orleans.Concurrency;
-
-namespace Microsoft.AI.DevTeam;
-
-public interface IOrchestrateWorkflows : IGrainWithIntegerCompoundKey
-{
- [OneWay]
- Task InitialFlow(string input, string org, string repo, long parentNumber);
- [OneWay]
- Task ImplementationFlow(DevLeadPlanResponse plan, string org, string repo, int parentNumber);
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/DevLead/ILeadDevelopment.cs b/src/libs/Microsoft.AI.DevTeam/Actors/DevLead/ILeadDevelopment.cs
deleted file mode 100644
index 6799956c0..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/DevLead/ILeadDevelopment.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Microsoft.AI.DevTeam;
-
-public interface ILeadDevelopment: IGrainWithIntegerCompoundKey, IChatHistory
-{
- Task<string> CreatePlan(string ask);
- Task<DevLeadPlanResponse> GetLatestPlan();
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Developer/IDevelopCode.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Developer/IDevelopCode.cs
deleted file mode 100644
index e35ad7146..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Developer/IDevelopCode.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Microsoft.AI.DevTeam;
-
-public interface IDevelopCode : IGrainWithIntegerCompoundKey, IChatHistory, IUnderstand
-{
- Task<string> GenerateCode(string ask);
- Task<string> ReviewPlan(string plan);
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Ingester/IIngestRepo.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Ingester/IIngestRepo.cs
deleted file mode 100644
index 3ceb1ed99..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Ingester/IIngestRepo.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using Orleans.Concurrency;
-
-namespace Microsoft.AI.DevTeam;
-
-public interface IIngestRepo : IGrainWithStringKey
-{
- [OneWay]
- Task IngestionFlow(string org, string repo, string branch);
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Lookup/ILookupMetadata.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Lookup/ILookupMetadata.cs
deleted file mode 100644
index e745035ae..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Lookup/ILookupMetadata.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Microsoft.AI.DevTeam;
-
-public interface ILookupMetadata : IGrainWithStringKey
-{
- Task<NewIssueResponse> GetMetadata(int key);
- Task StoreMetadata(List<StoreMetadataPairs> pairs);
-}
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Lookup/Lookup.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Lookup/Lookup.cs
deleted file mode 100644
index 09973b151..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Lookup/Lookup.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using Orleans.Runtime;
-
-namespace Microsoft.AI.DevTeam;
-
-public class Lookup : Grain, ILookupMetadata
-{
- protected readonly IPersistentState<ConductorLookup> _state;
- public Lookup([PersistentState("state", "messages")] IPersistentState<ConductorLookup> state)
- {
- _state = state;
- }
-
- public Task<NewIssueResponse> GetMetadata(int key)
- {
- return Task.FromResult(_state.State.Metadata[key]);
- }
-
- public Task StoreMetadata(List<StoreMetadataPairs> pairs)
- {
- if(_state.State.Metadata == null) _state.State.Metadata = new Dictionary<int, NewIssueResponse>();
- foreach(var pair in pairs)
- {
- _state.State.Metadata[pair.Key] = pair.Value;
- }
- return _state.WriteStateAsync();
- }
-}
-
-[Serializable]
-public class ConductorLookup
-{
- public Dictionary<int, NewIssueResponse> Metadata { get; set; }
-}
-
-[GenerateSerializer]
-public class StoreMetadataPairs
-{
- [Id(0)]
- public int Key { get; set; }
- [Id(1)]
- public NewIssueResponse Value { get; set; }
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/ProductManager/IManageProduct.cs b/src/libs/Microsoft.AI.DevTeam/Actors/ProductManager/IManageProduct.cs
deleted file mode 100644
index e9ca51f83..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/ProductManager/IManageProduct.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace Microsoft.AI.DevTeam;
-
-public interface IManageProduct : IGrainWithIntegerCompoundKey, IChatHistory
-{
- Task<string> CreateReadme(string ask);
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Sandbox/IManageSandbox.cs b/src/libs/Microsoft.AI.DevTeam/Actors/Sandbox/IManageSandbox.cs
deleted file mode 100644
index 813d0b6fe..000000000
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Sandbox/IManageSandbox.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace Microsoft.AI.DevTeam;
-
-public interface IManageSandbox : IGrainWithIntegerCompoundKey
-{
- Task ScheduleCommitSandboxRun(string org, string repo, long parentIssueNumber, long issueNumber);
-}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/SemanticPersona.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Agent.cs
similarity index 95%
rename from src/libs/Microsoft.AI.DevTeam/Actors/SemanticPersona.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Agent.cs
index 6d0bd2a82..fa5440b2c 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/SemanticPersona.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Agent.cs
@@ -6,10 +6,9 @@ using Orleans.Streams;
namespace Microsoft.AI.DevTeam;
-
-public abstract class SemanticPersona : Grain, IChatHistory, IGrainWithStringKey
+public abstract class Agent : Grain, IChatHistory, IGrainWithStringKey
{
- public SemanticPersona(
+ public Agent(
[PersistentState("state", "messages")] IPersistentState<SemanticPersonaState> state)
{
_state = state;
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Architect/Architect.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Architect.cs
similarity index 74%
rename from src/libs/Microsoft.AI.DevTeam/Actors/Architect/Architect.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Architect.cs
index 94c06195e..7c85a33b2 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Architect/Architect.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Architect.cs
@@ -3,7 +3,7 @@ using Orleans.Streams;
namespace Microsoft.AI.DevTeam;
-public class Architect : SemanticPersona, IArchitectSolutions
+public class Architect : Agent
{
public Architect( [PersistentState("state", "messages")]IPersistentState<SemanticPersonaState> state) : base(state)
{
@@ -28,10 +28,4 @@ public class Architect : SemanticPersona, IArchitectSolutions
break;
}
}
-}
-
-public interface IArchitectSolutions : IGrainWithIntegerCompoundKey
-{
- Task<string> ReviewPlan(string plan);
- Task<string> GenerateProjectStructure(string ask);
}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/AzureGenie/AzureGenie.cs b/src/libs/Microsoft.AI.DevTeam/Agents/AzureGenie.cs
similarity index 100%
rename from src/libs/Microsoft.AI.DevTeam/Actors/AzureGenie/AzureGenie.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/AzureGenie.cs
diff --git a/src/libs/Microsoft.AI.DevTeam/Agents/Conductor.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Conductor.cs
new file mode 100644
index 000000000..cf1c7b6b1
--- /dev/null
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Conductor.cs
@@ -0,0 +1,93 @@
+using Microsoft.AI.DevTeam.Skills;
+using Orleans.Runtime;
+using Orleans.Streams;
+
+namespace Microsoft.AI.DevTeam;
+
+public class Conductor : Grain
+{
+ private readonly IManageGithub _ghService;
+
+ public Conductor(IManageGithub ghService)
+ {
+ _ghService = ghService;
+ }
+
+ public async Task InitialFlow(string input, string org, string repo, long parentNumber)
+ {
+ // await _ghService.CreateBranch(org, repo, $"sk-{parentNumber}");
+
+ // var pmIssue = await _ghService.CreateIssue(org, repo, input, $"{nameof(PM)}.{nameof(PM.Readme)}", parentNumber);
+ // var devLeadIssue = await _ghService.CreateIssue(org, repo, input, $"{nameof(DevLead)}.{nameof(DevLead.Plan)}", parentNumber);
+ // var suffix = $"{org}-{repo}";
+ // var lookup = GrainFactory.GetGrain<ILookupMetadata>(suffix);
+
+ // var metadataList = new List<StoreMetadataPairs>{
+ // new StoreMetadataPairs
+ // {
+ // Key = pmIssue.IssueNumber,
+ // Value = new NewIssueResponse { CommentId = pmIssue.CommentId, IssueNumber = (int)parentNumber}
+ // },
+ // new StoreMetadataPairs
+ // {
+ // Key = devLeadIssue.IssueNumber,
+ // Value = new NewIssueResponse { CommentId = devLeadIssue.CommentId, IssueNumber = (int)parentNumber}
+ // }
+ // };
+ // await lookup.StoreMetadata(metadataList);
+
+ // await githubActor.CreatePR(); // TODO: this should happen when all tasks are done?
+ }
+ public async Task ImplementationFlow(DevLeadPlanResponse plan, string org, string repo, int parentNumber)
+ {
+ // var suffix = $"{org}-{repo}";
+ // var prompts = plan.steps.SelectMany(s => s.subtasks.Select(st => st.prompt));
+ // var lookup = GrainFactory.GetGrain<ILookupMetadata>(suffix);
+ // var metadataList = new List<StoreMetadataPairs>();
+ // foreach (var prompt in prompts)
+ // {
+ // var issue = await _ghService.CreateIssue(org, repo, prompt, $"{nameof(Developer)}.{nameof(Developer.Implement)}", parentNumber);
+ // metadataList.Add(new StoreMetadataPairs
+ // {
+ // Key = issue.IssueNumber,
+ // Value = new NewIssueResponse { CommentId = issue.CommentId, IssueNumber = (int)parentNumber }
+ // });
+ // }
+ // await lookup.StoreMetadata(metadataList);
+ }
+}
+
+/*
+Events:
+
+NewAsk - Org, Repo, IssueNumber
+
+-> PM subscribes -> check label,
+ if Do It, create an issue, mark it as PM.Readme
+ if PM.Readme send the prompt and create a comment
+-> DevLead subscribes -> check label,
+ if Do It, create an issue, mark it as Devlead.Plan
+ if DevLead.Plan, send the prompt and create a comment
+-> Developer subscribes -> check label,
+ if Developer.Implement, send the prompt and create a comment
+
+ChainClosed - Org, Repo, IssueNumber
+
+-> PM subscribes -> check label,
+ if PM.Readme send ReadmeCreated event
+-> DevLead subscribes -> check label,
+ if DevLead.Plan, send PlanSubstepCreated event
+
+-> Developer subscribes -> check label,
+ if Developer.Implement, send ImplementSubstepCreated event
+
+PlanSubstepCreated - Org, Repo, IssueNumber, Substep
+
+-> Developer subscribes -> create an issue, mark it as Developer.Implement
+
+
+ReadmeCreated - store readme, commit to PR branch
+
+ImplementSubstepCreated - store code, run in sandbox, commit to PR branch
+
+*/
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Developer/Developer.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Developer.cs
similarity index 99%
rename from src/libs/Microsoft.AI.DevTeam/Actors/Developer/Developer.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Developer.cs
index 6f27b33fe..0701defde 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Developer/Developer.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Developer.cs
@@ -11,7 +11,7 @@ namespace Microsoft.AI.DevTeam;
//[RegexImplicitStreamSubscription("")]
[ImplicitStreamSubscription("developers")]
-public class Dev : SemanticPersona
+public class Dev : Agent
{
private readonly IKernel _kernel;
private readonly ISemanticTextMemory _memory;
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/DevLead/DeveloperLead.cs b/src/libs/Microsoft.AI.DevTeam/Agents/DeveloperLead.cs
similarity index 99%
rename from src/libs/Microsoft.AI.DevTeam/Actors/DevLead/DeveloperLead.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/DeveloperLead.cs
index 444a6057e..3927450db 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/DevLead/DeveloperLead.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/DeveloperLead.cs
@@ -10,7 +10,7 @@ using System.Text.Json;
namespace Microsoft.AI.DevTeam;
[ImplicitStreamSubscription("DevPersonas")]
-public class DeveloperLead : SemanticPersona
+public class DeveloperLead : Agent
{
private readonly IKernel _kernel;
private readonly ISemanticTextMemory _memory;
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Hubber/Hubber.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Hubber.cs
similarity index 100%
rename from src/libs/Microsoft.AI.DevTeam/Actors/Hubber/Hubber.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Hubber.cs
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Ingester/Ingester.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Ingester.cs
similarity index 57%
rename from src/libs/Microsoft.AI.DevTeam/Actors/Ingester/Ingester.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Ingester.cs
index 3537eaf42..5ade93663 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Ingester/Ingester.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Ingester.cs
@@ -6,7 +6,7 @@ using Orleans.Streams;
namespace Microsoft.AI.DevTeam;
-public class Ingester : SemanticPersona, IIngestRepo
+public class Ingester : Agent
{
protected override string MemorySegment => "code-analysis";
private readonly IManageGithub _ghService;
@@ -21,24 +21,24 @@ public class Ingester : SemanticPersona, IIngestRepo
_codeAnalyzer = codeAnalyzer;
}
- public async Task IngestionFlow(string org, string repo, string branch)
- {
- var suffix = $"{org}-{repo}";
- var language = await _ghService.GetMainLanguage(org, repo);
- var files = await _ghService.GetFiles(org, repo, branch, Language.Filters[language]);
+ // public async Task IngestionFlow(string org, string repo, string branch)
+ // {
+ // var suffix = $"{org}-{repo}";
+ // var language = await _ghService.GetMainLanguage(org, repo);
+ // var files = await _ghService.GetFiles(org, repo, branch, Language.Filters[language]);
- var dev = GrainFactory.GetGrain<IDevelopCode>(0, suffix);
+ // //var dev = GrainFactory.GetGrain<IDevelopCode>(0, suffix);
- foreach (var file in files)
- {
- var codeAnalysis = await _codeAnalyzer.Analyze(file.Content);
- codeAnalysis.ToList().ForEach(async c =>
- await _memory.SaveInformationAsync(MemorySegment, c.CodeBlock, Guid.NewGuid().ToString(), c.Meaning));
+ // foreach (var file in files)
+ // {
+ // var codeAnalysis = await _codeAnalyzer.Analyze(file.Content);
+ // codeAnalysis.ToList().ForEach(async c =>
+ // await _memory.SaveInformationAsync(MemorySegment, c.CodeBlock, Guid.NewGuid().ToString(), c.Meaning));
- // TODO: do something with the result
- await dev.BuildUnderstanding(file.Content);
- }
- }
+ // // TODO: do something with the result
+ // //await dev.BuildUnderstanding(file.Content);
+ // }
+ // }
public override Task HandleEvent(Event item, StreamSequenceToken? token)
{
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/ProductManager/ProductManager.cs b/src/libs/Microsoft.AI.DevTeam/Agents/ProductManager.cs
similarity index 98%
rename from src/libs/Microsoft.AI.DevTeam/Actors/ProductManager/ProductManager.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/ProductManager.cs
index 43a5a6546..1df83b52a 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/ProductManager/ProductManager.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/ProductManager.cs
@@ -10,7 +10,7 @@ using Orleans.Streams;
namespace Microsoft.AI.DevTeam;
[ImplicitStreamSubscription("DevPersonas")]
-public class ProductManager : SemanticPersona
+public class ProductManager : Agent
{
private readonly IKernel _kernel;
private readonly ISemanticTextMemory _memory;
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Sandbox/Sandbox.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Sandbox.cs
similarity index 95%
rename from src/libs/Microsoft.AI.DevTeam/Actors/Sandbox/Sandbox.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Sandbox.cs
index df7b33998..d1d4a4506 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Sandbox/Sandbox.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Sandbox.cs
@@ -2,7 +2,7 @@
using Orleans.Timers;
namespace Microsoft.AI.DevTeam;
-public class Sandbox : Grain, IManageSandbox, IRemindable
+public class Sandbox : Grain, IRemindable
{
private const string ReminderName = "SandboxRunReminder";
private readonly IManageGithub _ghService;
diff --git a/src/libs/Microsoft.AI.DevTeam/Actors/Tester/Tester.cs b/src/libs/Microsoft.AI.DevTeam/Agents/Tester.cs
similarity index 74%
rename from src/libs/Microsoft.AI.DevTeam/Actors/Tester/Tester.cs
rename to src/libs/Microsoft.AI.DevTeam/Agents/Tester.cs
index bf89f3a2a..149207a28 100644
--- a/src/libs/Microsoft.AI.DevTeam/Actors/Tester/Tester.cs
+++ b/src/libs/Microsoft.AI.DevTeam/Agents/Tester.cs
@@ -3,7 +3,7 @@ using Orleans.Streams;
namespace Microsoft.AI.DevTeam;
-public class Tester : SemanticPersona, ITestCode
+public class Tester : Agent
{
public Tester(
[PersistentState("state", "messages")]IPersistentState<SemanticPersonaState> state) : base(state)
@@ -25,10 +25,4 @@ public class Tester : SemanticPersona, ITestCode
{
throw new NotImplementedException();
}
-}
-
-public interface ITestCode : IGrainWithIntegerCompoundKey
-{
- Task<string> TestCode(string ask);
- Task<string> ReviewPlan(string plan);
}
\ No newline at end of file
diff --git a/src/libs/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj b/src/libs/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj
index 9739f8348..f6ebad404 100644
--- a/src/libs/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj
+++ b/src/libs/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj
@@ -25,7 +25,4 @@
<ProjectReference Include="..\..\libs\Microsoft.AI.DevTeam.Skills\Microsoft.AI.DevTeam.Skills.csproj" />
</ItemGroup>
- <ItemGroup>
- <Folder Include="Actors/AzureGenie/" />
- </ItemGroup>
</Project>