A Streamlit interface for interacting with the CrewAI Enterprise API with authentication.
- Secure login using username/password authentication
- Kickoff CrewAI executions with custom inputs
- Monitor execution status in real-time
- View results when execution completes
-
Clone this repository
-
Configure Streamlit secrets in
.streamlit/secrets.toml:# API Configuration CRW_API_URL = "https://your-crew-url.crewai.com" CRW_API_TOKEN = "your_token_here" # Authentication credentials [auth] username = "your_username" password = "your_password"
For Streamlit Cloud deployment, add these same secrets in the Streamlit Cloud dashboard.
-
Install dependencies using
uv:uv venv uv pip install -r requirements.txt
- Run the Streamlit app:
streamlit run streamlit_app.py
- Open your browser and navigate to the URL provided by Streamlit (typically http://localhost:8501)
- Log in using the configured username and password
- Fill in the required company information
- Click "Kickoff Crew" to start the execution
- The UI will automatically poll for updates until completion
This app uses the CrewAI Enterprise API to:
- Check API health
- Kickoff new crew executions
- Poll for execution status
- Retrieve results when complete
The required crew inputs are:
company_name: The name of the companycompany_website: The URL of the company website
Update the .streamlit/secrets.toml file with your credentials.
For Streamlit Cloud deployment:
- Push your code to GitHub
- Create a new app on Streamlit Cloud pointing to your repo
- In the app settings, add the following secrets:
CRW_API_URL: Your CrewAI API URLCRW_API_TOKEN: Your CrewAI API tokenauth.username: Login usernameauth.password: Login password