quantum-ai-v3/agents/configs/agents/job-posting-generator.json
Claude bc662e6af0 🎯 Implement dynamic agent configuration system for ultimate scalability
BREAKTHROUGH: Configuration-driven agent management that scales to 100+ agents

## New System Architecture:
- **JSON Configuration Files**: All agents defined in version-controlled JSON
- **Dynamic Loading**: populate_agents.py reads from config files automatically
- **Zero Code Changes**: Add new agents by creating JSON files only
- **Automatic Railway Sync**: Single command ensures database consistency

## File Structure:
- agents/configs/categories/categories.json - All categories
- agents/configs/agents/*.json - Individual agent configurations
- agents/configs/README.md - Complete documentation

## Key Benefits:
 **Ultimate Scalability**: Add 1000+ agents without touching code
 **Version Control**: All agent definitions tracked in git
 **Railway Consistency**: Single command syncs local and production
 **Developer Experience**: JSON files are easier than Python commands
 **Validation**: Built-in error handling and field validation
 **Documentation**: Self-documenting with clear examples

## Migration Path:
- Extracted all 6 existing agents to JSON configurations
- Updated populate_agents.py to load dynamically from configs
- Maintained backward compatibility
- Added comprehensive documentation

## Usage:
```bash
# Add new agent: Create JSON file in agents/configs/agents/
# Deploy to Railway: python manage.py populate_agents
# Result: Agent automatically appears in marketplace
```

This solves the original issue: "if we create another will it show on railway also???"
Answer: YES - just create JSON file and run populate_agents\!

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 08:38:59 +05:30

55 lines
1.5 KiB
JSON

{
"slug": "job-posting-generator",
"name": "Job Posting Generator",
"short_description": "Create professional job postings that attract top talent",
"description": "Generate comprehensive and attractive job postings with AI-powered content creation. Perfect for HR teams and recruiters.",
"category": "human-resources",
"price": 10.0,
"agent_type": "form",
"system_type": "webhook",
"form_schema": {
"fields": [
{
"name": "job_title",
"type": "text",
"label": "Job Title",
"required": true
},
{
"name": "company_name",
"type": "text",
"label": "Company Name",
"required": true
},
{
"name": "job_description",
"type": "textarea",
"label": "Job Description",
"required": true,
"rows": 5
},
{
"name": "seniority_level",
"type": "select",
"label": "Seniority Level",
"required": true,
"options": [
{"value": "", "label": "Select level..."},
{"value": "entry", "label": "Entry Level"},
{"value": "junior", "label": "Junior"},
{"value": "mid", "label": "Mid Level"},
{"value": "senior", "label": "Senior"}
]
},
{
"name": "location",
"type": "text",
"label": "Location",
"required": true
}
]
},
"webhook_url": "http://localhost:5678/webhook/43f84411-eaaa-488c-9b1f-856e90d0aaf6",
"access_url_name": "",
"display_url_name": ""
}