Built for the Algolia Agent Studio Challenge
GoalOS is a smart AI goal intelligence system that leverages Algolia Agent Studio to provide data-driven, evidence-based goal planning and adaptive guidance. Unlike typical goal apps, GoalOS learns from historical success data to give users practical plans that actually work.
- AI-Powered Goal Creation: Agent Studio generates personalized weekly plans based on similar successful goals
- Adaptive Recommendations: When users struggle, AI provides proven strategies from the knowledge base
- Community Intelligence: Learn from public goal templates with high success rates
- Risk Assessment: AI identifies common failure points before they happen
- Weekly Check-ins: Track progress and get dynamic plan adjustments
React Frontend ββ Node.js API ββ Algolia Agent Studio
β
Algolia Indices
(Knowledge Base)
- Frontend: React + Vite + Tailwind CSS
- Backend: Node.js + Express
- AI Platform: Algolia Agent Studio (non-conversational prompts)
- Data Storage: Algolia indices (goals_knowledge, strategies_db)
npm run setupFollow the detailed guide: docs/algolia-setup-guide.md
Quick checklist:
- β Create Algolia account and application
- β Set up Agent Studio with LLM provider
- β
Create indices:
goals_knowledge,strategies_db - β Configure Agent Studio prompts
- β Get API keys and Agent ID
Backend (backend/.env):
ALGOLIA_APP_ID=your_app_id
ALGOLIA_AGENT_STUDIO_API_KEY=your_agent_studio_api_key
ALGOLIA_SEARCH_API_KEY=your_search_api_key
AGENT_STUDIO_AGENT_ID=your_agent_id
AGENT_STUDIO_BASE_URL=https://agent-studio-api.algolia.com
PORT=3001
NODE_ENV=developmentFrontend (frontend/.env):
VITE_API_BASE_URL=http://localhost:3001
VITE_ALGOLIA_APP_ID=your_app_id
VITE_ALGOLIA_SEARCH_API_KEY=your_search_api_keynpm run test:connection
npm run load:datanpm run devAccess:
- Frontend: http://localhost:5173
- Backend API: http://localhost:3001
- Health Check: http://localhost:3001/health
goalos/
βββ backend/ # Node.js + Express API
β βββ src/
β β βββ services/ # Agent Studio & Algolia integration
β β βββ routes/ # API endpoints
β β βββ app.js # Express configuration
β βββ package.json
βββ frontend/ # React application
β βββ src/
β β βββ components/ # React components
β β βββ pages/ # Page components
β β βββ contexts/ # State management
β β βββ services/ # API client
β βββ package.json
βββ sample-data/ # Sample goals and strategies
βββ scripts/ # Data loading scripts
βββ docs/ # Documentation
β βββ algolia-setup-guide.md
β βββ demo-script.md
βββ SETUP.md # Quick setup guide
- Create Goal: Enter "Learn React in 30 days" β Agent Studio generates personalized plan
- View Plan: See week-by-week breakdown with tasks, milestones, and risk points
- Weekly Check-in: Report "stuck" status β Get adaptive recommendations
- Browse Templates: Explore successful goal templates from the community
See docs/demo-script.md for complete demo presentation.
- Non-conversational prompts for plan generation and adaptation
- Retrieval-augmented generation using knowledge base
- Custom prompts for different use cases (planning, adaptation, discovery)
- goals_knowledge index: Stores goal data, plans, success rates
- strategies_db index: Proven strategies and failure patterns
- Faceted search: Filter by difficulty, duration, category, success rate
- Custom ranking: Prioritize high-success-rate goals
- Real-time retrieval from knowledge base
- Evidence-based recommendations (not generic AI advice)
- Learns from collective success patterns
- Setup Guide: Complete Algolia & Agent Studio setup
- Demo Script: Hackathon presentation guide
- Quick Setup: Fast-track setup instructions
npm run setup # Install all dependencies
npm run test:connection # Test Algolia connection
npm run load:data # Load sample data into Algolia
npm run dev # Start both frontend and backend
npm run dev:backend # Start backend only
npm run dev:frontend # Start frontend only
npm run build # Build frontend for production- Personal Goal Achievement: Learning, fitness, habits
- Professional Development: Career goals, skill acquisition
- Business Planning: Startup MVPs, project milestones
- Educational Platforms: Course completion, learning paths
- Coaching Applications: Client goal tracking and guidance
Challenge: Algolia Agent Studio Challenge
Category: Non-conversational prompt-based agent
Innovation: Retrieval-based AI for goal achievement using historical success data
- Real Data, Real Results: AI recommendations based on actual success patterns
- Adaptive Intelligence: Dynamic plan adjustments based on user progress
- Collective Learning: Every successful goal improves future recommendations
- Practical Application: Solves a real problem with measurable impact
This is a hackathon project built for the Algolia Agent Studio Challenge. Feel free to fork and adapt for your own use cases!
MIT License - Built for educational and hackathon purposes.
Built with β€οΈ using Algolia Agent Studio
ALGOLIA_APP_ID=VTT523SVNQ ALGOLIA_AGENT_STUDIO_API_KEY=d877d3d1befeb59870b4daa2c97de5ce ALGOLIA_SEARCH_API_KEY=692849989cfcc49b879b525fe88bc930 ALGOLIA_ADMIN_API_KEY=a926258edf7ca8fb766e7e1900b72439 AGENT_STUDIO_AGENT_ID=fee32fca-e0d4-4b2b-8f5b-1f29c3d31c10 AGENT_STUDIO_BASE_URL=https://vtt523svnq.algolia.net/agent-studio/1/agents/fee32fca-e0d4-4b2b-8f5b-1f29c3d31c10/completions?compatibilityMode=ai-sdk-5
PORT=3001 NODE_ENV=development
LLM_PROVIDER=openai LLM_API_KEY=your_llm_api_key_here