semvec/pypi-packages huggingface dataset:
agent-studio 0.1.7
No-code AI agent creation platform with Streamlit UI and FastAPI backend
License: MIT
Requires Python: >=3.11


### Agent Studio


```

## Installation

1. Install the package from PyPI:
```bash
pip install agent-studio
```

## CLI Usage

The package provides two main CLI commands:

1. Start the AgentStudio application:
```bash
agentstudio start
```
This command starts both the Streamlit interface and FastAPI backend servers.

2. Check the version:
```bash
agentstudio version
```

**Important Note:** If you're a first-time user, we strongly recommend checking the tutorial webpage in the application after installation. The tutorial will guide you through building agents and workflows effectively.

## API Endpoints

### Process Workflow
- **URL**: `/api/process`
- **Method**: `POST`
- **Body**:
```json
{
    "content": "Your input data here"
}
```

### Health Check
- **URL**: `/health`
- **Method**: `GET`

## Example Usage

```bash
# Check health
curl http://localhost:8000/health

# Process workflow
curl -X POST http://localhost:8000/api/process \
     -H "Content-Type: application/json" \
     -d '{"content": "Example input data"}'
```

## Extending the Workflow

To add new workflow steps, create a new `WorkflowStep` instance:

```python
new_step = WorkflowStep(
    name="step_name",
    description="Step description",
    requires=["dependent_step_name"]
)
workflow_manager.add_step(new_step)
```

## Error Handling

The API includes comprehensive error handling and logging:
- All errors are logged with timestamps and context
- HTTP exceptions include detailed error messages
- Step execution failures are properly propagated

## License

MIT License 

## Author

Made with love by Harish Sanathanalakshmi Ganesan