Agent Studio
## Installation
1. Install the package from PyPI:
```bash
pip install agent-studio
CLI Usage
The package provides two main CLI commands:
- Start the AgentStudio application:
agentstudio start
This command starts both the Streamlit interface and FastAPI backend servers.
- Check the version:
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:
{
"content": "Your input data here"
}
Health Check
- URL:
/health - Method:
GET
Example Usage
# 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:
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
Release files for agent-studio 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agent_studio-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Release files / agent_studio-0.1.7-py3-none-any.whl
| Download URL | agent_studio-0.1.7-py3-none-any.whl |
|---|---|
| Size | 74.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fef9a0a2b33389ec8a06e34ef8c65695c3a08ee3e85bb93d34315a3b40526237
|
|
BLAKE2b-256 checksum How to use checksums |
fca7e7ec8e86f7410232fbe54ecff8d749ffd08b3701c5d192128346451b1e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.10
|