Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
agents-multi.md746 B
--- layout: image-left image: /agents-multi.jpg --- # Multiple Agents ```mermaid flowchart LR query(["summarize changes in the current branch"]) --> LLM((LLM)) LLM --> |"get changes in current branch"| agent_git agent_git["agent git (LLM, git diff, git branch)"] --> |"diff +main.ts -main.ts...+ new code"| LLM LLM --> |"query the last failed run"| agent_github agent_github["agent github (LLM, list workflow runs, list jobs, diff job logs)"] --> |"commit failed_sha is responsible"| LLM ``` ```js defAgent("git", "query git", "You are a git god.", { tools: ["git_branch", "git_diff"], }) ``` ```js defAgent("github", "query github", "You are a github god.", { tools: ["github_pulls", "github_job_log"], }) ```

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsoft/genaiscript'

If you have feedback or need assistance with the MCP directory API, please join our Discord server