Quick tests to verify everything is working correctly.
curl http://localhost:5001/healthExpected Response:
{
"status": "ok",
"message": "CoreAI Multi-Agent System is running",
"agents": [
{"name": "Calendar Agent", "status": "idle", ...},
{"name": "Meeting Agent", "status": "idle", ...},
...
],
"total_agents": 6
}curl http://localhost:3001/api/healthOpen browser to http://localhost:3000
curl -X POST http://localhost:5001/invoke \
-H "Content-Type: application/json" \
-d '{"message": "What is the weather?", "thread_id": "test123"}'curl -X POST http://localhost:5001/invoke \
-H "Content-Type: application/json" \
-d '{"message": "Show my tasks", "thread_id": "test123"}'curl -X POST http://localhost:5001/invoke \
-H "Content-Type: application/json" \
-d '{"message": "What is in the news?", "thread_id": "test123"}'- Go to http://localhost:3000
- Click on "Chat" in the sidebar
- Type: "Hello, what can you do?"
- You should get a response listing available agents
Weather:
- Type: "What's the weather today?"
- Expected: Weather Agent responds with temperature, conditions, forecast
Tasks:
- Type: "Show me my tasks"
- Expected: Task Agent lists current tasks
News:
- Type: "What's in the news?"
- Expected: News Agent shows latest headlines
Calendar:
- Type: "Check my calendar availability"
- Expected: Calendar Agent shows free time slots
Type: "Schedule a meeting for tomorrow at 2 PM"
Expected Workflow:
- Supervisor identifies: Calendar + Meeting agents needed
- Calendar Agent checks availability
- Meeting Agent creates Google Meet link
- Calendar Agent books the slot
- Response includes all steps + meeting link
- Navigate to "Agents" page
- Check all 6 agents are shown
- Verify status indicators (idle/active/thinking)
- Check success rate percentages
- Click the bell icon (top right)
- Activity feed should appear
- Make a request in chat
- Activity should update
- Go to "Connections" page
- Try toggling connections on/off
- Status should update
- Go to "Settings" page
- Change your name
- Select different AI persona
- Click "Save Changes"
- Return to Dashboard - greeting should use new name
time curl -X POST http://localhost:5001/invoke \
-H "Content-Type: application/json" \
-d '{"message": "What is the weather?", "thread_id": "test"}'Should respond in < 2 seconds
Run multiple requests simultaneously:
for i in {1..5}; do
curl -X POST http://localhost:5001/invoke \
-H "Content-Type: application/json" \
-d "{\"message\": \"Test $i\", \"thread_id\": \"test$i\"}" &
done
waitAll should complete successfully
curl -X POST http://localhost:5001/invoke \
-H "Content-Type: application/json" \
-d '{"thread_id": "test"}'Should return error: "Message is required"
Type in chat: "xyzabc123nonsense" Should get general response from Supervisor
Open browser DevTools (F12), go to Console:
fetch('http://localhost:3001/api/health')
.then(r => r.json())
.then(d => console.log('Health:', d))fetch('http://localhost:3001/api/chat', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
message: 'Test message',
thread_id: 'browser-test'
})
}).then(r => r.text()).then(console.log)# If using start.sh/start.bat
cat logs/python.log # Unix
type logs\python.log # Windows
# Or check the console where Python is runningLook for:
- ✓ "CoreAI Multi-Agent System is running"
- ✓ No error stack traces
- ✓ Agent initialization messages
cat logs/nodejs.log # Unix
type logs\nodejs.log # WindowsLook for:
- ✓ "Node.js server listening at http://localhost:3001"
- ✓ No connection errors
cat logs/frontend.log # Unix
type logs\frontend.log # WindowsLook for:
- ✓ "Ready on http://localhost:3000"
- ✓ No compilation errors
After testing, you should have:
- All 3 servers running without errors
- Health endpoints responding
- Frontend loads and displays dashboard
- Chat interface accepts and responds to messages
- At least 3 different agents tested successfully
- Dashboard showing real-time data
- Agent status page showing all 6 agents
- No error messages in browser console
- No error messages in server logs
# Stop all services
./stop.sh # or stop.bat on Windows
# Then restart
./start.sh # or start.bat on Windowscd backend/agentic
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txtcd backend
npm install
cd ../frontend
npm install- Check if port 3000 is available
- Check browser console for errors
- Verify backend servers are running
- Try clearing Next.js cache:
rm -rf frontend/.next
- Verify
.envfile exists inbackend/agentic/ - Check API keys are valid
- Ensure no extra spaces or quotes in .env
Congratulations! Your CoreAI system is fully operational.
Next steps:
- Explore different agent capabilities
- Try complex multi-step requests
- Customize the frontend design
- Add your own agents
- Integrate real APIs (Google Calendar, Gmail, etc.)
Happy building! 🚀