Skip to main content

No-code AI agent creation platform with Streamlit UI and FastAPI backend

Project description

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:
agentstudio start

This command starts both the Streamlit interface and FastAPI backend servers.

  1. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_studio-0.1.1-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

Details for the file agent_studio-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: agent_studio-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for agent_studio-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31eaf9f67935e393e21eecc9cd7c16cd31bec0d0a916c9551a7ea70edd8c4a7a
MD5 d3759db34a76a6b57cbe03c26f5f2b9c
BLAKE2b-256 b2955b3476d1d3d6fd8d646716f69ff10136e517836f22970f93fa5b1257ff7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page