Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/AI_Brain / daemon/seed_agents.cs |
| Date | Not specified in source |
| Repository | Janady13/AI_Brain |
| Revision | 6d0767aad08781eb5c4e1eb14a42ec92c437be78 |
| Branch | copilot/convert-python-files-to-csharp |
| Path or archive member | daemon/seed_agents.cs |
| Original SHA-256 | 2dbd3d0e705e5fc9abb680e64d27781eb5c82ef0ba8c41909e3d0e18a3c763c6 |
| Git blob SHA | 72e144fdbe3665d86c0e65aa1eae1554edf0371a |
| Reading-copy SHA-256 | 2dbd3d0e705e5fc9abb680e64d27781eb5c82ef0ba8c41909e3d0e18a3c763c6 |
Recovered source transcript
Download complete source text ↓88 lines · 2.9 KB
// Generate 500 distinct agent descriptions via combinatorics
using System;
using System.Collections.Generic;
namespace AIBrain.Daemon
{
public static class SeedAgents
{
public static IEnumerable<string> GenAgents(int n)
{
var roles = new[]
{
"coding agent", "research agent", "planning agent", "orchestration agent", "evaluation agent",
"data engineering agent", "sql agent", "bash agent", "retrieval agent", "summarization agent",
"vision agent", "speech agent", "translation agent", "security audit agent", "ops agent",
"alignment agent", "benchmarking agent", "red-teaming agent", "compliance agent", "etl agent"
};
var frameworks = new[]
{
"ReAct", "Tree-of-Thoughts", "Reflexion", "AutoGPT-style", "Toolformer", "RAG-augmented",
"Planner-Executor", "Hierarchical", "Meta-cognitive", "Multi-agent", "Memory-augmented"
};
var tools = new[]
{
"web browsing", "file I/O", "Git", "Docker", "Kubernetes", "SQL", "NoSQL", "Graph DB",
"REST APIs", "gRPC", "S3-compatible storage", "Redis cache", "message queues"
};
var policies = new[]
{
"safe-by-default", "cost-aware", "latency-aware", "privacy-preserving", "deterministic",
"stochastic", "explainable", "verifiable", "rate-limited", "idempotent", "retrying"
};
var seen = new HashSet<string>();
int i = 0;
foreach (var r in roles)
{
foreach (var f in frameworks)
{
foreach (var tool in tools)
{
var phrase = $"{r} using {f} with {tool}";
if (seen.Contains(phrase))
continue;
seen.Add(phrase);
yield return $"Agent: {phrase}";
i++;
if (i >= n)
yield break;
}
}
}
if (i < n)
{
foreach (var r in roles)
{
foreach (var p in policies)
{
var phrase = $"{r} operating {p}";
if (seen.Contains(phrase))
continue;
seen.Add(phrase);
yield return $"Agent: {phrase}";
i++;
if (i >= n)
yield break;
}
}
}
}
public static void Main(string[] args)
{
SeedCommon.RunSeed("agent", GenAgents);
}
}
}