A modern platform for creating, managing, and distributing AI agents that can replace traditional offshore staffing roles.
AI Staff Development Agent (AiStaff) is a revolutionary platform with two core divisions:
-
๐ข Enterprise Division
- A managed service providing custom AI agents to businesses looking to replace or augment their offshore teams
- Specialized agents that can perform specific job functions with consistency and reliability
-
๐ Marketplace Division
- An "App Store" for AI agents where users can buy, sell, and distribute pre-built agents
- Fosters an ecosystem of specialized AI workers for various business needs
- Agent Creation - Build customized AI agents with specific capabilities
- Agent Management - Monitor, control, and update your AI workforce
- Capability Selection - Choose from a variety of specialized skills for each agent
- Intuitive Dashboard - Easy-to-use interface for managing your AI staff
- API Integration - Connect your agents with existing business systems
- FastAPI - High-performance Python web framework
- SQLAlchemy - SQL toolkit and ORM
- Pydantic - Data validation and settings management
- SQLite (dev) / PostgreSQL (prod) - Database
- React 18 - Modern UI library with hooks
- TypeScript - Type-safe JavaScript
- Chakra UI - Component library for consistent design
- React Router - Navigation and routing
- Axios - API client for data fetching
- Python 3.9 or newer
- Node.js 16.x or newer
- npm 8.x or newer
# Clone the repository
git clone /~https://github.com/yourusername/ai-staff-dev-agent.git
cd ai-staff-dev-agent
# Create and activate a virtual environment
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the backend server
uvicorn backend.main:app --reload
The 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
# Run the development server
npm run dev
The frontend will be available at: http://localhost:3000
ai-staff-dev-agent/
โโโ backend/ # Backend Python code
โ โโโ api/ # API endpoints
โ โโโ core/ # Core intelligence
โ โ โโโ intelligence.py # Intelligence engine
โ โ โโโ factory.py # Agent factory
โ โโโ agents/ # Agent definitions
โ โโโ db/ # Database models
โ โโโ services/ # Business logic
โโโ frontend/ # Frontend React code
โ โโโ src/
โ โ โโโ components/ # UI components
โ โ โโโ pages/ # Page components
โ โ โโโ services/ # API services
โ โ โโโ hooks/ # Custom React hooks
โโโ private/ # Protected IP
โโโ config/ # Private configuration
โโโ templates/ # Agent templates
The central brain that powers all AI agents, providing various capabilities like:
- Text Processing
- Data Analysis
- Customer Service
- Code Generation
- Automation
Creates standardized agent instances with selected capabilities, ensuring consistent behavior across the platform.
Handles the lifecycle of agents, including creation, monitoring, and termination.
The API documentation is automatically generated and available at /docs
when the backend is running.
Key endpoints:
GET /api/agents
- List all agentsPOST /api/agents
- Create a new agentGET /api/agents/{id}
- Get details for a specific agentDELETE /api/agents/{id}
- Delete an agentGET /api/agents/capabilities/available
- Get available capabilities
# Production deployment using Gunicorn
pip install gunicorn
gunicorn -w 4 -k uvicorn.workers.UvicornWorker backend.main:app
# Build for production
cd frontend
npm run build
# The build files will be in the dist/ directory
# These can be served by any static file server
- Missing Modules: Ensure all
__init__.py
files are present in your directory structure - Database Errors: Check that SQLite file permissions are correct and path is valid
- Import Errors: Verify your virtual environment is activated and all packages are installed
- Module Not Found: Run
npm install
to ensure all dependencies are installed - Type Errors: Make sure
vite-env.d.ts
is present in thefrontend/src
directory - Build Errors: Clear the build cache with
npm run clean
(if available) or delete thedist
directory
- Run
npm install @types/react @types/react-dom
if you encounter React type issues - Create empty
__init__.py
files in all subdirectories of the backend folder - Check CORS settings if the frontend can't connect to the backend
- Agent Marketplace - Buy and sell pre-configured agents
- Natural Language Interface - Configure agents using conversational language
- Performance Analytics - Track and optimize your AI staff performance
- Multi-Modal Capabilities - Support for voice, image, and video processing
- Workflow Integration - Connect agents to create complex business processes
Contributions, issues and feature requests are welcome! Feel free to check the issues page.
- 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
This project is MIT licensed.
If you have any questions or need support, please reach out to:
- Project Maintainer: Your Team
- Email: team@aistaff.example.com
- Website: aistaff.example.com
Made with โค๏ธ by Your Organization - Transforming the future of work with AI