About Aistack
Aistack is an MCP server published by blackms in the Data category: production-grade agent orchestration for Claude Code - 11 agents, 46 MCP tools, SQLite+FTS5, drift detection, consensus checkpoints. Conduid read 52 tools from its source: agent_list, agent_spawn, agent_status, agent_stop, agent_types, agent_update_status and 46 more. It is published to npm as @blackms/aistack and starts with npx.
The repository has 54 stars and 5 forks, is licensed MIT, and its last commit was on 8 Jun 2026. The latest release is v1.6.1 (30 Jan 2026): Smart Dispatcher - Automatic agent type selection via LLM (#20) Uses Claude to analyze task descriptions and select the best agent Configurable confidence threshold with… It follows v1.5.4 (29 Jan 2026), and the 5 most recent releases go back to v1.4.0 (27 Jan 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include agentic-workflow, coding, community and stack.
Install
claude mcp add aistack -- npx -y @blackms/aistacknpx -y @blackms/aistackgit clone https://github.com/blackms/aistackTools (52)
agent_listList all active agents| Parameter | Type | Description |
|---|---|---|
| sessionId | string | Filter by session ID |
agent_spawnSpawn a new agent of the specified type| Parameter | Type | Description |
|---|---|---|
| metadata | object | Additional metadata |
| name | string | Optional name for the agent |
| sessionId | string | Session ID to associate with |
| type * | string | Agent type (coder, researcher, tester, reviewer, architect, coordinator, analyst) |
agent_statusGet the status of an agent| Parameter | Type | Description |
|---|---|---|
| id | string | Agent ID |
| name | string | Agent name |
agent_stopStop an agent by ID or name| Parameter | Type | Description |
|---|---|---|
| id | string | Agent ID to stop |
| name | string | Agent name to stop |
agent_typesList all available agent typesagent_update_statusUpdate the status of an agent| Parameter | Type | Description |
|---|---|---|
| id * | string | Agent ID |
| status * | string | New status |
consensus_approveApprove a consensus checkpoint| Parameter | Type | Description |
|---|---|---|
| checkpointId * | string | Checkpoint ID |
| feedback | string | Optional feedback |
| reviewedBy * | string | Reviewer ID |
consensus_checkCheck if a task would require consensus before creation| Parameter | Type | Description |
|---|---|---|
| agentType * | string | Agent type for this task |
| input | string | Task input/description |
| parentTaskId | string | Parent task ID |
| riskLevel | string | Risk level override |
consensus_getGet a consensus checkpoint by ID| Parameter | Type | Description |
|---|---|---|
| checkpointId * | string | Checkpoint ID |
consensus_list_pendingList pending consensus checkpoints| Parameter | Type | Description |
|---|---|---|
| limit | number | Max checkpoints to return |
| offset | number | Offset for pagination |
consensus_rejectReject a consensus checkpoint| Parameter | Type | Description |
|---|---|---|
| checkpointId * | string | Checkpoint ID |
| feedback | string | Rejection reason |
| rejectedSubtaskIds | array | Specific subtask IDs to reject (partial rejection) |
| reviewedBy * | string | Reviewer ID |
github_issue_createCreate a GitHub issue| Parameter | Type | Description |
|---|---|---|
| assignees | array | Assignees |
| body | string | Issue body |
| labels | array | Labels |
| owner * | string | Repository owner |
| repo * | string | Repository name |
| title * | string | Issue title |
github_issue_getGet a GitHub issue| Parameter | Type | Description |
|---|---|---|
| number * | number | Issue number |
| owner * | string | Repository owner |
| repo * | string | Repository name |
github_issue_listList GitHub issues| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum results |
| owner * | string | Repository owner |
| repo * | string | Repository name |
| state | string | Issue state |
github_pr_createCreate a pull request| Parameter | Type | Description |
|---|---|---|
| base * | string | Base branch |
| body | string | PR body |
| draft | boolean | Create as draft |
| head * | string | Head branch |
| owner * | string | Repository owner |
| repo * | string | Repository name |
| title * | string | PR title |
github_pr_getGet a pull request| Parameter | Type | Description |
|---|---|---|
| number * | number | PR number |
| owner * | string | Repository owner |
| repo * | string | Repository name |
github_pr_listList pull requests| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum results |
| owner * | string | Repository owner |
| repo * | string | Repository name |
| state | string | PR state |
github_repo_infoGet repository information| Parameter | Type | Description |
|---|---|---|
| owner * | string | Repository owner |
| repo * | string | Repository name |
identity_activateActivate an agent identity (transition from created or dormant to active)| Parameter | Type | Description |
|---|---|---|
| actorId | string | ID of the actor |
| agentId * | string | Identity ID to activate |
identity_auditGet the audit trail for an agent identity| Parameter | Type | Description |
|---|---|---|
| agentId * | string | Identity ID |
| limit | number | Maximum entries to return |
identity_createCreate a new persistent agent identity| Parameter | Type | Description |
|---|---|---|
| agentType * | string | Type of agent (e.g., coder, researcher) |
| autoActivate | boolean | Automatically activate after creation |
| capabilities | array | List of capabilities |
| createdBy | string | ID of the creator |
| description | string | Description of the identity |
| displayName | string | Human-readable name for the identity |
| metadata | object | Additional metadata |
identity_deactivateDeactivate an agent identity (transition from active to dormant)| Parameter | Type | Description |
|---|---|---|
| actorId | string | ID of the actor |
| agentId * | string | Identity ID to deactivate |
| reason | string | Reason for deactivation |
identity_getGet an agent identity by ID or display name| Parameter | Type | Description |
|---|---|---|
| agentId | string | Identity ID (UUID) |
| displayName | string | Display name to look up |
identity_listList agent identities with optional filters| Parameter | Type | Description |
|---|---|---|
| agentType | string | Filter by agent type |
| limit | number | Maximum results |
| offset | number | Offset for pagination |
| status | string | Filter by status |
identity_retireRetire an agent identity permanently (cannot be undone)| Parameter | Type | Description |
|---|---|---|
| actorId | string | ID of the actor |
| agentId * | string | Identity ID to retire |
| reason | string | Reason for retirement |
identity_updateUpdate an agent identity (metadata only, not status)| Parameter | Type | Description |
|---|---|---|
| actorId | string | ID of the actor making the change |
| agentId * | string | Identity ID to update |
| capabilities | array | Updated capabilities |
| description | string | New description |
| displayName | string | New display name |
| metadata | object | New metadata |
memory_deleteDelete a memory entry (requires sessionId for isolation)| Parameter | Type | Description |
|---|---|---|
| key * | string | Key to delete |
| namespace | string | Namespace (defaults to session namespace) |
| sessionId * | string | Session ID for memory isolation (required) |
memory_getGet a memory entry by key (requires sessionId for isolation)| Parameter | Type | Description |
|---|---|---|
| key * | string | Key to retrieve |
| namespace | string | Namespace (defaults to session namespace) |
| sessionId * | string | Session ID for memory isolation (required) |
memory_listList memory entries (requires sessionId for isolation)| Parameter | Type | Description |
|---|---|---|
| agentId | string | Filter by agent ownership |
| includeShared | boolean | Include shared memory (agent_id = NULL) |
| limit | number | Maximum results |
| namespace | string | Filter by namespace (defaults to session namespace) |
| offset | number | Offset for pagination |
| sessionId * | string | Session ID for memory isolation (required) |
memory_searchSearch memory using full-text and/or vector search (requires sessionId for isolation)| Parameter | Type | Description |
|---|---|---|
| agentId | string | Filter by agent ownership |
| includeShared | boolean | Include shared memory (agent_id = NULL) |
| limit | number | Maximum results |
| namespace | string | Namespace to search in (defaults to session namespace) |
| query * | string | Search query |
| sessionId * | string | Session ID for memory isolation (required) |
| threshold | number | Minimum similarity score (0-1) |
| useVector | boolean | Use vector search if available |
memory_storeStore a key-value pair in memory (requires sessionId for isolation)| Parameter | Type | Description |
|---|---|---|
| agentId | string | Agent ID to associate this memory with |
| content * | string | Content to store |
| generateEmbedding | boolean | Generate embedding for vector search |
| key * | string | Unique key for the memory entry |
| metadata | object | Additional metadata |
| namespace | string | Namespace for organization (defaults to session namespace) |
| sessionId * | string | Session ID for memory isolation (required) |
review_loop_abortStop a running review loop| Parameter | Type | Description |
|---|---|---|
| loopId * | string | Review loop ID to abort |
review_loop_get_codeGet the current code from a review loop| Parameter | Type | Description |
|---|---|---|
| loopId * | string | Review loop ID |
review_loop_issuesGet detailed issues from all reviews in a loop| Parameter | Type | Description |
|---|---|---|
| loopId * | string | Review loop ID |
review_loop_listList all active review loopsreview_loop_startStart a new adversarial review loop. The coder generates code, adversarial reviews it, and they iterate until approval or max iterations.| Parameter | Type | Description |
|---|---|---|
| code * | string | Code or task description to review |
| maxIterations | number | Maximum review iterations (default: 3, max: 10) |
| sessionId | string | Session ID to associate with |
review_loop_statusGet the current status and details of a review loop| Parameter | Type | Description |
|---|---|---|
| loopId * | string | Review loop ID |
session_activeGet the currently active sessionsession_endEnd an active session| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID to end |
session_startStart a new session| Parameter | Type | Description |
|---|---|---|
| metadata | object | Session metadata |
session_statusGet session status| Parameter | Type | Description |
|---|---|---|
| sessionId | string | Session ID (optional, uses active session) |
system_configGet current configuration (sanitized)system_healthCheck system healthsystem_statusGet overall system statustask_assignAssign a task to an agent (marks as running)| Parameter | Type | Description |
|---|---|---|
| agentId * | string | Agent ID to assign |
| taskId * | string | Task ID |
task_check_driftCheck if a task description would trigger drift detection against ancestors| Parameter | Type | Description |
|---|---|---|
| parentTaskId | string | Parent task ID to check against |
| taskInput * | string | Task input/description to check |
| taskType * | string | Agent type for this task |
task_completeMark a task as completed or failed| Parameter | Type | Description |
|---|---|---|
| output | string | Task output |
| status | string | Completion status |
| taskId * | string | Task ID |
task_createCreate a new task with optional drift detection and consensus checking. Agent type is auto-detected if not specified.| Parameter | Type | Description |
|---|---|---|
| agentType | string | Agent type for this task (optional - auto-dispatched if not provided) |
| input | string | Task input/description |
| parentTaskId | string | Parent task ID for drift detection |
| riskLevel | string | Risk level for consensus checking |
| sessionId | string | Session to associate with |
task_drift_metricsGet drift detection metrics and statistics| Parameter | Type | Description |
|---|---|---|
| since | string | ISO date string to filter metrics since |
task_getGet a task by ID| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID |
task_get_relationshipsGet relationships for a task (parent/child, dependencies)| Parameter | Type | Description |
|---|---|---|
| direction | string | Relationship direction |
| taskId * | string | Task ID |
task_listList tasks| Parameter | Type | Description |
|---|---|---|
| sessionId | string | Filter by session |
| status | string | Filter by status |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and web/package-lock.json.
- !No dynamic code executionScanned 302 source files and found 10 calls to eval or shell execution, in src/github/client.ts:39, src/github/client.ts:66 and src/mcp/tools/github-tools.ts:72 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/mcp/server.ts:6, src/utils/config.ts:130
- Starts other programs
- 12 callssrc/cli/commands/daemon.ts:42, src/github/client.ts:39, src/github/client.ts:66
- Outbound network calls
- 23 callssrc/coordination/interrupt-notifier.ts:124, src/federation/discovery.ts:473, src/federation/discovery.ts:482
- Writes or deletes files
- 3 callssrc/memory/sync.ts:318, src/memory/sync.ts:342, src/providers/cli-providers.ts:245
- Lockfile
- package-lock.json and web/package-lock.json
Pattern matches on the source text of 302 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 4.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README