All commands assume you're in the project root with the virtual environment activated.
Runs the full procurement pipeline. Equivalent to bandai --mode full.
bandaiPrompts for preferences via stdin, then runs Scout → Compliance → Proposal.
Scout-only mode. Discovers tenders, prints results, exits.
bandai --mode scoutPropose mode for a known contract. Skips scouting, loads the contract from output/01_scout_results.json, and runs Compliance → Proposal.
bandai --mode propose --contract GD-2026-00123--mode propose requires --contract. Without it, or if the contract ID is not present in the previous scout output, exits with an error.
Generates a stakeholder-ready HTML report from the JSON files already present in output/.
bandai --mode report
# or
bandai_reportWrites output/report.html. This mode does not call LLMs and does not require provider/API validation.
Validates configuration without making LLM calls. Checks:
- Provider name is recognized
- API key is set (not a placeholder)
knowledge/company_profile.jsonexistsconfig/portals.yamlexists
bandai --dry-runExits 0 on success, 1 on any validation failure.
The following commands are declared in pyproject.toml and point to the same runtime entry points used by the CLI:
CrewAI Flow-compatible alias for bandai.
CrewAI Flow-compatible script used by crewai flow plot.
Runs the project test suite with verbosity enabled.
pytest_unitRuns CrewAI's built-in evaluation. Default: 2 iterations using gpt-4o-mini.
crewai test
crewai test -n 5 -m gpt-4o # 5 iterations with GPT-4oTrains the crew and writes results to a JSON file.
crewai train -n 5 -f training.jsonReplays a previous task execution by task ID.
crewai replay -t <task_id>Clears stored memory data. Supports selective clearing.
crewai reset-memories -a # All memory types
crewai reset-memories -s # Short-term only
crewai reset-memories -l # Long-term only
crewai reset-memories -e # Entity memory only
crewai reset-memories -kn # Knowledge memory only
crewai reset-memories -akn # Agent knowledge onlyUseful when switching companies or after significant knowledge profile changes.
Prints the latest task outputs from the most recent run.
crewai log-tasks-outputsSet LOG_LEVEL or edit main.py:
logging.basicConfig(level=logging.DEBUG, ...)Agent-level verbose output is controlled per-agent via verbose=True (enabled by default in all agents).
Deploys to CrewAI AMP.
crewai login # Authenticate
crewai deploy create # Create deployment
crewai deploy status # Check status
crewai deploy logs # View logs
crewai deploy push # Push code updates
crewai deploy list # List deployments
crewai deploy remove <id> # Delete deploymentGenerates an HTML file with the flow state machine diagram.
crewai flow plotOpens in the default browser if a display is available.
pytest tests/ -v # Run all tests
pytest tests/test_config.py -v # Run specific file
pytest tests/ --tb=short # Shorter tracebacks
pytest tests/ -k "TestKnowledge" # Run by class name109 tests across 14 test classes covering config, providers, portals, models, knowledge sources, flow structure, utilities, guardrails, and embedder configuration.