@jtan15010/dash
v2.0.0
Published
Dash - Agent Orchestration Platform
Maintainers
Readme
Dash v2.0 - Agent Orchestration Platform
Multi-agent orchestration for complex AI tasks
A production-ready platform for orchestrating multiple AI agents to collaborate on complex tasks.
Features | Quick Start | Documentation | Contributing
Features
- Agent Management - Spawn, monitor, and terminate AI agents
- Swarm Orchestration - Coordinate groups of agents working together
- Real-time Monitoring - WebSocket-based event streaming
- Workflow Engine - Define and execute multi-step workflows
- Session Persistence - SQLite-backed state management
- Observability - Built-in metrics, tracing, and logging
Quick Start
Prerequisites
- Node.js >= 20.0.0
- npm >= 10.0.0
Installation
# Clone the repository
git clone https://github.com/davidkimai/dash.git
cd dash
# Install dependencies
npm install
# Build the project
npm run build
# Start the CLI
./dist/src/index.js --helpCLI Usage
# Check version
dash --version
# List running agents
dash agent list
# Spawn an agent
dash agent spawn "Analyze this codebase and find all TODO comments"
# Create a swarm
dash swarm create --name "research-team" --task "Research AI agents"
# Monitor system status
dash statusProgrammatic API
import { createApp } from './dist/src/api/index.js';
const app = await createApp({ port: 7373 });
// Spawn an agent
const response = await fetch('http://localhost:7373/api/agents', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: 'kimi-k2.5',
task: 'Write a comprehensive report on renewable energy'
})
});Project Structure
dash/
├── src/
│ ├── api/ # REST API routes
│ ├── cli/ # CLI commands
│ ├── core/ # Core orchestration logic
│ ├── storage/ # Database and persistence
│ ├── workflow/ # Workflow engine
│ └── ...
├── dist/ # Compiled JavaScript
├── tests/ # Test suites
├── docs/ # Documentation
└── package.jsonDevelopment
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run type checking
npm run typecheck
# Run tests
npm test
# Build for production
npm run buildDocumentation
- API Documentation - OpenAPI specification
- Architecture - System architecture
- Error Codes - Reference for error codes
Docker
# Build and run with Docker
docker build -t dash .
docker run -p 7373:7373 dashPublishing to npm
# Update version
npm version patch
# Build
npm run build
# Publish
npm publish --access publicContributing
Contributions are welcome. Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
