
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
AI-powered development platform: Multi-agent system for requirements discovery, conversational document building, and test automation
AgentOps is a next-generation, AI-powered development platform that automatically generates requirements and tests from your codebase. Using advanced multi-agent AI systems, AgentOps bridges the gap between technical implementation and business requirements through bidirectional analysis.
# Install from PyPI
pip install agentops-ai
# Or install from source
git clone https://github.com/knaig/agentops_ai.git
cd agentops_ai
pip install -e .
# 1. Initialize your project
agentops init
# 2. Run complete analysis on your code
agentops runner myfile.py
# 3. Check results and status
agentops status
# 4. View traceability matrix
agentops traceability
That's it! AgentOps will automatically:
Command | Description | Example |
---|---|---|
agentops init | Initialize project structure | agentops init |
agentops runner <file> | Complete workflow execution | agentops runner src/main.py |
agentops tests <file> | Generate test suites | agentops tests src/main.py |
agentops analyze <file> | Deep requirements analysis | agentops analyze src/main.py |
agentops status | Check project status | agentops status |
agentops traceability | Generate traceability matrix | agentops traceability |
agentops onboarding | Interactive setup guide | agentops onboarding |
agentops version | Show version information | agentops version |
agentops help | Show detailed help | agentops help |
Option | Description | Example |
---|---|---|
--all | Process all Python files | agentops runner --all |
--auto-approve | Skip manual review | agentops runner myfile.py --auto-approve |
-v, --verbose | Detailed output | agentops runner myfile.py -v |
Combined Usage:
# Batch process entire project with automation
agentops runner --all --auto-approve -v
# Generate tests for all files
agentops tests --all --auto-approve
# Detailed analysis with verbose output
agentops analyze myfile.py -v
New users can get started quickly with the interactive onboarding:
agentops onboarding
This will:
Process your entire project with a single command:
# Analyze all Python files in your project
agentops runner --all
# Generate tests for all files
agentops tests --all
# With automation and verbose output
agentops runner --all --auto-approve -v
Perfect for automated workflows:
# Fully automated analysis
agentops runner --all --auto-approve
# Check project status
agentops status -v
Create a .env
file in your project root:
# Required: OpenAI API Key
OPENAI_API_KEY=your_openai_api_key_here
# Optional: Custom settings
AGENTOPS_OUTPUT_DIR=.agentops
AGENTOPS_LOG_LEVEL=INFO
Validate your API keys before running:
# Run the validation script
./scripts/validate_api_keys.sh
After running AgentOps, you'll find these artifacts in your project:
.agentops/
├── requirements/
│ ├── requirements.gherkin # Requirements in Gherkin format
│ └── requirements.md # Requirements in Markdown format
├── tests/
│ ├── test_main.py # Generated test files
│ └── test_coverage.xml # Test coverage reports
├── traceability/
│ └── traceability_matrix.md # Requirements-to-tests mapping
└── reports/
└── analysis_report.json # Detailed analysis results
agentops runner
does everything# myfile.py
def calculate_total(items, tax_rate=0.1):
"""Calculate total with tax for a list of items."""
subtotal = sum(items)
tax = subtotal * tax_rate
return subtotal + tax
def apply_discount(total, discount_percent):
"""Apply percentage discount to total."""
discount = total * (discount_percent / 100)
return total - discount
# Run analysis
agentops runner myfile.py
Generated Requirements (Gherkin):
Feature: Shopping Cart Calculations
Scenario: Calculate total with tax
Given a list of items with prices [10, 20, 30]
And a tax rate of 10%
When I calculate the total
Then the result should be 66.0
Scenario: Apply discount to total
Given a total amount of 100
And a discount of 15%
When I apply the discount
Then the final amount should be 85.0
Generated Tests:
def test_calculate_total_with_tax():
items = [10, 20, 30]
result = calculate_total(items, tax_rate=0.1)
assert result == 66.0
def test_apply_discount():
result = apply_discount(100, 15)
assert result == 85.0
# agentops_ai/agentops_core/config.py
LLM_MODEL = "gpt-4"
LLM_TEMPERATURE = 0.1
OUTPUT_DIR = ".agentops"
LOG_LEVEL = "INFO"
from agentops_ai.agentops_core.orchestrator import AgentOrchestrator
# Create orchestrator
orchestrator = AgentOrchestrator()
# Run analysis
result = orchestrator.run_workflow("myfile.py")
# Access results
print(f"Requirements: {len(result.requirements)}")
print(f"Tests generated: {len(result.test_code)} lines")
print(f"Quality score: {result.quality_score}")
API Key Errors:
# Set your OpenAI API key
export OPENAI_API_KEY="your-key-here"
Permission Errors:
# Ensure write permissions
chmod 755 .agentops/
Import Errors:
# Reinstall dependencies
pip install -r requirements.txt
# Show detailed help
agentops help
# Check version
agentops version
# Validate setup
agentops status
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
AgentOps: Bridging technical implementation and business requirements through AI-powered analysis. 🚀
FAQs
AI-powered development platform: Multi-agent system for requirements discovery, conversational document building, and test automation
We found that agentops-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.