A fullstack application that creates and manages AI agents to handle tasks and jobs delegated by users. The platform features a secretary agent that determines task delegation and a hiring manager agent that creates new specialized agents when needed.
- Backend: FastAPI (Python) with RESTful APIs
- Frontend: Next.js 14 with TypeScript, Tailwind CSS, and shadcn/ui
- AI Integration: Ready for OpenAI/LangChain integration
- Database: PostgreSQL (configured, not yet implemented)
- Caching: Redis (configured, not yet implemented)
- Dashboard: Modern UI with agent and task overview
- Chat Interface: Interactive chatbot for task delegation
- Agent Management: View and manage AI agents in your workspace
- Task Tracking: Monitor task status and assignments
- Responsive Design: Mobile-friendly interface
- AI-powered task analysis and delegation
- Dynamic agent creation based on task requirements
- Real-time task updates
- Agent performance analytics
- Multi-user workspaces
- FastAPI: Modern, fast web framework for APIs
- Pydantic: Data validation and serialization
- SQLAlchemy: Database ORM (ready for implementation)
- Alembic: Database migrations
- Redis: Caching and task queues
- OpenAI/LangChain: AI integration
- Next.js 14: React framework with App Router
- TypeScript: Type safety and better development experience
- Tailwind CSS: Utility-first CSS framework
- shadcn/ui: High-quality UI components
- Lucide React: Beautiful icons
shellhacks25/
├── backend/
│ ├── main.py # FastAPI application
│ ├── requirements.txt # Python dependencies
│ └── env.example # Environment variables template
├── frontend/
│ ├── src/
│ │ ├── app/ # Next.js App Router
│ │ └── components/ # React components
│ │ ├── Dashboard.tsx
│ │ ├── ChatBot.tsx
│ │ ├── AgentsList.tsx
│ │ └── TasksList.tsx
│ ├── components.json # shadcn/ui configuration
│ └── package.json
└── README.md
- Python 3.8+
- Node.js 18+
- npm or yarn
- Navigate to the backend directory:
cd backend- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create environment file:
cp env.example .env
# Edit .env with your configuration- Start the FastAPI server:
python main.py
# Or use uvicorn directly:
# uvicorn main:app --reloadThe API will be available at http://localhost:8000
API documentation: http://localhost:8000/docs
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run devThe application will be available at http://localhost:3000
GET /agents- Get all agentsPOST /agents- Create a new agentGET /agents/{agent_id}- Get specific agent
GET /tasks- Get all tasksPOST /tasks- Create a new task
POST /chat- Send message to secretary agent
GET /health- Health check endpoint
The platform comes with two pre-configured agents:
-
Executive Secretary (
secretary-001)- Role: Secretary
- Capabilities: Task delegation, communication, scheduling
- Purpose: Main interface for users, handles task analysis and delegation
-
Hiring Manager (
hiring-manager-001)- Role: Hiring Manager
- Capabilities: Agent creation, skill assessment, recruitment
- Purpose: Creates new specialized agents when existing ones can't handle tasks
- User sends a message: "I need to analyze our sales data and create a report"
- Secretary Agent receives the message and analyzes the task
- Secretary checks if any existing agent can handle data analysis and reporting
- If no suitable agent exists, Secretary delegates to Hiring Manager
- Hiring Manager creates a new "Data Analyst" agent with required capabilities
- New Agent is assigned the task and begins work
The project uses shadcn/ui components. To add new components:
cd frontend
npx shadcn@latest add [component-name]When ready to implement persistent storage:
- Set up PostgreSQL
- Update
DATABASE_URLin.env - Create database models
- Run migrations with Alembic
To integrate with AI services:
- Add OpenAI API key to
.env - Implement agent logic in backend
- Connect to LangChain for advanced workflows
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.
- Built for ShellHacks 2025
- Uses shadcn/ui for beautiful components
- Powered by FastAPI and Next.js