Conversation
- TypeScript SDK: loadAgents, getAgent, listAgents, buildSwarm - CLI: agency-agents list/get/swarm/categories - GitHub Action: spawn-agent composite action with swarm support - 37 passing tests (loader, registry, swarm) - Zero production dependencies, zero security vulnerabilities Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
…tion feat: npm package + GitHub Action for agent orchestration
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
|
Hey @el-j — appreciate the effort here, the code quality is genuinely solid. Before I can evaluate this properly, I'd love to understand the use case better. Is this related to your work on magic-agent-helix or nexus-orchestrator? What's the workflow where you'd reach for A few things on my mind:
I'm not opposed to eventually having a programmatic API for loading agents — but I want to understand who needs it and why before committing to that direction. What does your usage look like? |
|
Hi @msitarzewski thank you for responding. so for me personally i tinker around with some agents here and there. on the other side i started myself a kind of "VA" virtual agency a while ago: means concierge chat to full workflow via productowner to create detailed planning to pass to full filling correct agent's. the aim was to specialize on selfhosted ollama so all is possible, but nowadays i extracted the orchestrator into the nexus orchestrator and let the VA use it. ... i raised the question on another day where you want to go (as the outlined steps seemed very in what i do currently). so to make it short: edit: sure all the links and items will be updated! u claim the name etc. me beeing contributor ... (see where all leads when we talk more ?) edit2: and a nice gh-page lading would help that easy contributing is to refine the md. the rest must not be this "present" in first place edit3: and sure i thought of "why not integrating in the nexus" as pull or maybe also into the planned agency the roadmap drafted... edit4: lastest merge should restore all links and nameings back to u |
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
Co-authored-by: el-j <2795534+el-j@users.noreply.github.com>
Remove nexus from core package; restore msitarzewski as original author
What does this PR do?
This pull request introduces comprehensive improvements to agent loading and orchestration for the Agency Agents project, including a new TypeScript/Node.js npm package, a GitHub Action for workflow integration, and robust test coverage for core functionality. The most important changes are grouped below by theme.
New Integration Options and Documentation
README.mdfor using the newagency-agentsnpm package, including example code for loading agents, listing agents, and building swarms programmatically, as well as CLI usage examples. Also documented the GitHub Action usage and its inputs/outputs.action.ymlfor loading agents or swarms in workflows, exposing system prompts and agent metadata as outputs. The action is implemented as an inline Node.js script with no dependencies, supporting single-agent and swarm modes, and providing detailed input/output descriptions.Testing and Reliability
vitesttest suites for agent loading (loader.test.ts), registry functions (registry.test.ts), and swarm orchestration (swarm.test.ts), covering slugification, file collection, agent parsing, caching, filtering, and prompt generation. These tests ensure correctness and reliability of all core features. [1] [2] [3]Agent Loading and Swarm Orchestration
Summary
These changes make it much easier to integrate Agency Agents into Node.js, TypeScript, and GitHub Actions workflows, while ensuring correctness through extensive tests and clear documentation.
checkout:
#118