An AI-powered platform that automates end-to-end professional services operations from lead generation through project delivery to payment collection.
Slash Chain is an Autonomous Value Delivery System (AVDS) - an intelligent agent orchestration platform that automates the complete professional services business lifecycle. It uses AI agents to handle sales qualification, project planning, delivery management, and financial operations with minimal human intervention.
This isn't just sales automation - it's a complete operating system for professional services businesses.
Transform professional services from manual, time-consuming processes into an automated, scalable system:
Lead β Opportunity β Proposal β SOW β Delivery β Acceptance β Billing β Payment
β β β β β β β β
Agent 1 Agent 2 Agent 3 Agent 4 Agents 5-12 Agent 13 Agent 14 Agent 15
We're starting with sales automation (highest ROI, fastest validation), then expanding through the full professional services lifecycle.
β Operational:
- Lead research and qualification agent
- Bidirectional HubSpot CRM integration
- PostgreSQL database with engagement tracking
- ASP.NET Core API
- CLI dashboard for monitoring
π§ In Development:
- Opportunity Agent (strategic research)
- Strategic Intent Agent (requirements gathering)
- SOW Agent (proposal generation)
π Roadmap: Planning, Delivery, and Financial agents (see 15-agent pipeline below)
- Intelligent Research: Agents automatically research incoming leads
- Smart Scoring: 0-100 qualification scores based on fit analysis
- Automatic Triage: Qualified/Review/Disqualified status assignment
- Rich Metadata: Stores research findings for future reference
- Bidirectional Sync: Pull contacts from HubSpot, push results back
- Automatic Triggers: New contacts automatically trigger Lead Agent
- Real-time Updates: Deal stages sync with engagement pipeline
- Free Tier Compatible: Works with HubSpot Free (no credit card required)
- CLI Dashboard: Beautiful terminal interface with live updates
- Pipeline Visibility: Track engagements across all stages
- Agent Activity: Monitor agent executions in real-time
- Summary Statistics: Qualified leads, average scores, total engagements
- 15 Agent Pipeline: Complete coverage from lead to payment
- Sub-agent Architecture: Hierarchical decomposition for complex tasks
- Parallel Execution: Multiple agents run concurrently
- State Management: Robust tracking of engagement lifecycle
- YouTube Transcript Extraction: Fetch transcripts from videos for research
- Multiple Output Formats: Markdown, text, or JSON with timestamps
- Multi-language Support: Extract transcripts in any available language
- CLI Integration: Direct service invocation without API overhead
- Complete Lifecycle Automation - From first contact to final payment
- 10x Capacity Increase - 1 operator manages 20-50 concurrent engagements (vs 5-10 traditionally)
- Consistent Delivery Quality - Standardized processes eliminate variability
- Institutional Knowledge Capture - Every engagement documented and searchable
- Predictable Operations - Automated workflows with defined SLAs
- Sales - 5-10 hours/week on lead qualification and opportunity research
- Planning - 80% faster SOW generation and project scoping
- Delivery - Automated work breakdown, tracking, and status reporting
- Financial - Automatic invoicing, payment tracking, and collection
- Traditional Model: Linear scaling (more revenue = more people)
- AVDS Model: Exponential scaling (fixed operator cost, unlimited capacity)
- Result: Transform from services business to software-enabled services platform
- Traditional: 1 person = 5-10 concurrent clients
- With AVDS: 1 operator = 20-50 concurrent engagements across all stages
- Time to Delivery: Days instead of weeks
- Quality: Consistent, repeatable, improvable over time
- PostgreSQL 16+ - Database for engagements and agent execution logs
- .NET 9.0 SDK - Runtime for API and CLI applications
- Bash shell - For agent scripts (Linux/macOS/WSL)
- Git - For cloning the repository
- HubSpot account (optional) - Free tier is sufficient
-
Clone the repository:
git clone https://github.com/DecoupledLogic/slash-chain.git cd slash-chain -
Start PostgreSQL:
cd src docker-compose up -d -
Run database migrations:
dotnet ef database update --project SlashChain.Infrastructure --startup-project SlashChain.API
-
Configure HubSpot (optional):
Edit
src/SlashChain.API/appsettings.json:{ "HubSpot": { "Enabled": true, "PrivateAppAccessToken": "your-token-here", "SyncIntervalSeconds": 300, "AutoTriggerLeadAgent": true } } -
Start the API:
cd src/SlashChain.API dotnet run -
Launch the dashboard:
cd src/SlashChain.CLI dotnet run
For detailed setup instructions, see GETTING-STARTED.md.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β OPERATOR INTERFACES β
ββββββββββββββββ¬ββββββββββββββββββββ¬βββββββββββββββββββ€
β Claude Code β C# Terminal UI β Nuxt Web UI β
β (Primary) β (Dashboard) β (Coming Soon) β
ββββββββ¬ββββββββ΄ββββββββββ¬ββββββββββ΄βββββββββ¬ββββββββββ
β β β
βββββββββββββββββββΌββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ASP.NET CORE 8.0 WEB API (C# 12) β
β Engagement Service | Agent Orchestrator β
β HubSpot Integration | State Management β
ββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β POSTGRESQL 16 DATABASE β
β Engagements | Agent Executions | Agent Logs β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CLAUDE CODE + BASH AGENTS β
β Lead Agent | Opportunity Agent | 13 more... β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β EXTERNAL INTEGRATIONS β
β HubSpot | GitHub | QuickBooks | Slack | Email β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
API Layer (ASP.NET Core)
- RESTful API for engagement management
- Agent orchestration and execution
- Integration with external services
- Real-time updates via background services
Database Layer (PostgreSQL)
engagements- Lead/opportunity/project trackingagent_executions- Agent run history and statusagent_logs- Detailed execution logs and decisions
Agent Layer (Bash + Claude Code)
- Autonomous agents for each pipeline stage
- Sub-agent architecture for complex tasks
- State-based workflow execution
Integration Layer
- HubSpot CRM (contacts, deals, custom properties)
- GitHub Issues (work item tracking, coming soon)
- QuickBooks (billing, coming soon)
List all engagements:
curl http://localhost:5090/api/engagementsGet specific engagement:
curl http://localhost:5090/api/engagements/<id>Create engagement:
curl -X POST http://localhost:5090/api/engagements \
-H "Content-Type: application/json" \
-d '{
"leadName": "Acme Corporation",
"leadEmail": "contact@acme.com",
"leadPhone": "555-1234",
"leadSource": "Website"
}'Trigger Lead Agent:
curl -X POST http://localhost:5090/api/agents/execute \
-H "Content-Type: application/json" \
-d '{
"agentName": "lead-agent",
"engagementId": "<id>"
}'The system includes Claude Code slash commands for development and troubleshooting:
Troubleshooting & Development:
/troubleshoot <incident-id>- Automated troubleshooting workflow/document-fix- Document solutions to the knowledge base/write-tests- Generate comprehensive unit tests/gather-requirements- Collect requirements for features/getting-started- Interactive setup guide
Research & Knowledge:
/youtube-transcript <url>- Fetch YouTube video transcript for research
- Lead Agent β - Research and qualification scoring
- Opportunity Agent π§ - Strategic intake and discovery
- Strategic Intent Agent π - Requirements gathering and documentation
- Initiative Agent π - High-level decomposition and estimation
- Project Agent π - Charter creation and resource planning
- SOW Agent π - Pricing, terms, and document generation
- User Experience Agent π - Research, wireframes, design
- Epic Agent π - Feature breakdown and prioritization
- Feature Agent π - Story creation and refinement
- Story Agent π - Task decomposition
- Task Agent π - Implementation tracking
- Delivery Agent π - Release management and deployment
- Acceptance Agent π - UAT coordination and sign-off
- Billing Agent π - Invoice generation and submission
- Payment Agent π - Collection tracking and reminders
Legend: β Operational | π§ In Development | π Planned
slash-chain/
βββ src/ # Application source code
β βββ SlashChain.API/ # ASP.NET Core Web API
β βββ SlashChain.Infrastructure/ # EF Core, DbContext, migrations
β βββ SlashChain.CLI/ # Terminal dashboard
β βββ .claude/ # Agent scripts and slash commands
β β βββ agents/ # Agent bash scripts
β β βββ commands/ # Slash command definitions
β βββ docker-compose.yml # PostgreSQL setup
βββ docs/ # Comprehensive documentation
β βββ AUTONOMOUS_VALUE_DELIVERY_SYSTEM.md # System overview
β βββ SUB_AGENT_ARCHITECTURE.md # Agent design patterns
β βββ GITHUB_REPOSITORY_PLAN.md # Project management
β βββ EPIC_ROADMAP.md # Development phases
β βββ PROJECT_SUMMARY.md # Complete blueprint
β βββ integrations/ # Integration guides
β βββ architecture/ # Technical specifications
βββ tests/ # Test suite
βββ GETTING-STARTED.md # Setup guide
βββ README.md # This file
- ASP.NET Core API with engagement management
- PostgreSQL database with EF Core migrations
- Agent execution framework
- Lead Agent with scoring algorithm
- CLI dashboard
- HubSpot integration
- Opportunity Agent (strategic research and intake)
- Strategic Intent Agent (discovery and documentation)
- Enhanced HubSpot sync with deal stages
- Agent chaining and workflow orchestration
- Initiative Agent (decomposition and estimation)
- Project Agent (charter and resource planning)
- SOW Agent (pricing and document generation)
- Contract management
- UX Agent (research and design)
- Epic/Feature/Story Agents (work breakdown)
- Task Agent (implementation tracking)
- Delivery Agent (release management)
- Acceptance Agent (UAT and sign-off)
- Billing Agent (invoice generation)
- Payment Agent (collection and reminders)
- QuickBooks integration
- Nuxt web application (dashboard, engagements, approvals)
- Enhanced CLI with interactive approvals
- Real-time updates via SignalR
- Client portal
For complete roadmap, see docs/EPIC_ROADMAP.md.
Configure in .claude/settings.json:
{
"slashChain": {
"mode": "human-in-loop",
"autoApproveThreshold": 0.8,
"maxChainDepth": 10,
"enableLearning": true
}
}Modes:
manual- Errors logged, requires manual interventionhuman-in-loop(default) - Auto-starts workflows, pauses for approval on risky changesauto- Fully automated (use with caution)
Configure in src/SlashChain.API/appsettings.json:
{
"HubSpot": {
"Enabled": true,
"PrivateAppAccessToken": "your-token-here",
"SyncIntervalSeconds": 300,
"AutoTriggerLeadAgent": true
}
}See: docs/integrations/HUBSPOT_GETTING_STARTED.md for setup instructions.
Run the test suites:
# Test slash command infrastructure
./tests/test-chain-engine.sh
# Test HubSpot API integration
./tests/test-hubspot-integration.sh
# Or run both
./tests/test-chain-engine.sh && ./tests/test-hubspot-integration.shTests cover:
- Agent execution framework
- State management and persistence
- HubSpot API endpoints and integration
- Database operations
- Slash command configuration
- API documentation validation
For comprehensive testing guide, see TESTING.md.
- GETTING-STARTED.md - Complete setup guide
- docs/PROJECT_SUMMARY.md - System blueprint
- docs/AUTONOMOUS_VALUE_DELIVERY_SYSTEM.md - Complete vision
- docs/SUB_AGENT_ARCHITECTURE.md - Agent design patterns
- docs/EPIC_ROADMAP.md - Development phases
- docs/integrations/ - Integration guides
# Check PostgreSQL is running
docker ps | grep postgres
# Verify connection
psql -h localhost -p 5433 -U slashchain -d slashchain# Test HubSpot API manually
curl https://api.hubapi.com/crm/v3/objects/contacts?limit=1 \
-H "Authorization: Bearer your-token-here"
# Check API logs for errors# Run agent with debug output
bash -x ./src/.claude/agents/lead-agent.sh <engagement-id>
# Check execution logs
psql -h localhost -p 5433 -U slashchain -d slashchain -c \
"SELECT * FROM agent_executions ORDER BY started_at DESC LIMIT 1;"For more troubleshooting help, see GETTING-STARTED.md#troubleshooting.
Contributions welcome! Please:
- Check existing issues and epics
- Follow the established architecture patterns
- Add tests for new functionality
- Update documentation
- Submit pull requests with clear descriptions
MIT
- GitHub Issues: https://github.com/DecoupledLogic/slash-chain/issues
- Email: charleslbryant@decoupledlogic.com
- Documentation: docs/
Built for the future of professional services - Autonomous, scalable, and intelligent. π
Transform your entire professional services operation into a self-operating system. From lead to payment, let AI agents handle the process while you focus on strategy and client relationships.