SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
p1
Ahmed Essam818613b31294
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.mdnew file mode 100644index 00000000..b8fc99be--- /dev/null+++ b/CODE_OF_CONDUCT.md@@ -0,0 +1,66 @@+# Code of Conduct++## Welcome to the SmythOS Community 💫++Thank you for being part of the SmythOS community! We’re contributing to more than just the internet of agents, we’re creating a space where contributors, users, and curious explorers feel welcomed, heard, and empowered. Whether you’re filing an issue, contributing code, asking a question, or just observing, we expect everyone to treat others with kindness and respect.++This Code of Conduct exists to help us build a healthy, constructive, and inclusive environment together. Please take a moment to read it. 💙++---++## Our Pledge++In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone.++---++## Our Standards++Examples of behavior that contribute to creating a positive environment include:++- Using welcoming and inclusive language+- Being respectful of differing viewpoints and experiences+- Gracefully accepting constructive criticism+- Focusing on what is best for the community+- Showing empathy towards other community members+- Searching documentation and previous discussions before posting a question+- Keeping communication channels organized (e.g., using threads)++Examples of unacceptable behavior by participants include:++- The use of sexualized language or imagery and unwelcome sexual attention or advances+- Trolling, insulting or derogatory comments, and personal or political attacks+- Public or private harassment+- Publishing others’ private information, such as a physical or electronic address, without explicit permission+- Other conduct which could reasonably be considered inappropriate in a professional setting+- Repeated off-topic messages, spam, or aggressive demands for support in community spaces++---++## Our Responsibilities++Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.++Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.++---++## Scope++This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.++---++## Enforcement++Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the SmythOS team at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.++Further details of specific enforcement policies may be posted separately.++Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.++---++## Attribution++This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/version/1/4/code-of-conduct/), version 1.4.\ No newline at end of filediff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 00000000..2019085a--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,274 @@+# Contributing to SmythOS UI++Welcome! We're excited that you want to contribute to SmythOS UI, the comprehensive platform for building and deploying AI agents.++## Contents++- [Contributing to SmythOS UI](#contributing-to-smythos-ui)+ - [Contents](#contents)+ - [Code of Conduct](#code-of-conduct)+ - [Repository Structure](#repository-structure)+ - [Development Setup](#development-setup)+ - [Prerequisites](#prerequisites)+ - [Node.js](#nodejs)+ - [pnpm](#pnpm)+ - [pnpm workspaces](#pnpm-workspaces)+ - [corepack](#corepack)+ - [Build Dependencies](#build-dependencies)+ - [Setting Up SmythOS UI](#setting-up-smythos-ui)+ - [Starting the Application](#starting-the-application)+ - [Development Workflow](#development-workflow)+ - [Basic Development Process](#basic-development-process)+ - [Package-Specific Development](#package-specific-development)+ - [Targeted Development](#targeted-development)+ - [Performance Considerations](#performance-considerations)+ - [Community Contribution Guidelines](#community-contribution-guidelines)+ - [**1. Response Timeline**](#1-response-timeline)+ - [**2. Code Quality Standards**](#2-code-quality-standards)+ - [**3. Pull Request Requirements**](#3-pull-request-requirements)+ - [**4. Review Process for Non-Compliant PRs**](#4-review-process-for-non-compliant-prs)+ - [Contributor License Agreement](#contributor-license-agreement)++## Code of Conduct++This project and all participants are governed by our Code of Conduct. By participating, you agree to uphold professional standards and create a welcoming environment for all contributors. Please report any unacceptable behavior to the maintainers.++## Repository Structure++SmythOS UI is organized as a monorepo with multiple packages, each serving specific functions:++The key directories and packages:++- [/packages](/packages) - All SmythOS UI modules+- [/packages/app](/packages/app) - Main application containing the UI builder, React frontend, and backend services+- [/packages/app/src/builder-ui](/packages/app/src/builder-ui) - Workflow builder interface for building agents+- [/packages/app/src/react](/packages/app/src/react) - React-based user interface components and features+- [/packages/app/src/backend](/packages/app/src/backend) - UI Backend API services and routes+- [/packages/middleware](/packages/middleware) - Core api for facilitating database / low-level operations+- [/packages/runtime](/packages/runtime) - Runtime server for agent execution and debugging++## Development Setup++To contribute to SmythOS UI, you'll need to set up the development environment with all required dependencies and proper package linking.++### Prerequisites++#### Node.js++[Node.js](https://nodejs.org/en/) version 20.x or newer is required for development.++#### pnpm++[pnpm](https://pnpm.io/) version 10.2 or newer is required for package management. We strongly recommend installing it with [corepack](#corepack).++##### pnpm workspaces++SmythOS UI uses [pnpm workspaces](https://pnpm.io/workspaces) to manage the monorepo structure. This automatically creates file-links between interdependent packages and ensures consistent dependency management across all modules.++#### corepack++Enable [Node.js corepack](https://nodejs.org/docs/latest-v16.x/api/corepack.html) with `corepack enable`.++Install the correct pnpm version using `corepack prepare --activate`.++**IMPORTANT**: If you installed Node.js via homebrew, run `brew install corepack`, as homebrew excludes `npm` and `corepack` from [the `node` formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/node.rb#L66).++**IMPORTANT**: On Windows, run `corepack enable` and `corepack prepare --activate` in an administrator terminal.++#### Build Dependencies++SmythOS UI requires several build tools depending on your operating system:++**Debian/Ubuntu:**+```bash+apt-get install -y build-essential python3+```++**CentOS/RHEL:**+```bash+yum install gcc gcc-c++ make python3+```++**Windows:**+```bash+npm add -g windows-build-tools+```++**macOS:**+No additional packages required.++### Setting Up SmythOS UI++> **IMPORTANT**: Execute all steps below at least once to establish the development environment!++1. [Fork](https://guides.github.com/activities/forking/#fork) the SmythOS UI repository.++2. Clone your forked repository:+ ```bash+ git clone https://github.com/<your_github_username>/smythos-ui.git+ ```++3. Navigate to the repository:+ ```bash+ cd smythos-ui+ ```++4. Add the original repository as upstream:+ ```bash+ git remote add upstream https://github.com/SmythOS/smythos-ui.git+ ```++5. Install all dependencies and link packages:+ ```bash+ pnpm install+ ```++6. Build all packages:+ ```bash+ pnpm build+ ```++### Starting the Application++To start SmythOS UI in development mode:++```bash+pnpm dev+```++To start in production mode:++```bash+pnpm start+```++## Development Workflow++### Basic Development Process++1. Start SmythOS UI in development mode:+ ```bash+ pnpm dev+ ```+2. Make your changes+3. Verify functionality in production mode:+ ```bash+ pnpm build+ pnpm start+ ```+4. Write and run tests+5. Execute the full test suite:+ ```bash+ pnpm test+ ```+6. Commit your changes and [create a pull request](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork)++++#### Targeted Development++For highly focused development, run specific packages individually:++**Example 1: Working on React components**+```bash+# Terminal 1: Start Middleware+cd packages/middleware+pnpm dev++# Terminal 2: Run Runtime+cd packages/runtime+pnpm dev++# Terminal 3: Run UI server+cd packages/app+pnpm dev+```++**Example 2: Middleware development**+```bash+# Terminal 1: Watch middleware package+cd packages/middleware+pnpm dev++# Terminal 2: Run dependent services+cd packages/app+pnpm dev+```++**Example 3: Runtime development**+```bash+# Terminal 1: Run runtime package+cd packages/runtime+pnpm dev+```++### Performance Considerations++Full development mode (`pnpm dev`) runs multiple concurrent processes:++1. **TypeScript compilation** for each package+3. **Nodemon** restarting backend services+4. **Vite dev server** for React with Hot Module Replacement+5. **Multiple build processes** for various packages++**Resource impact:**+- High CPU and memory consumption+- File system watching overhead, particularly on:+ - Network-attached storage+ - Virtual machines with shared folders+ - Systems with slow I/O performance+- Resource usage scales with active packages++**Optimization recommendations:**+1. Use targeted development commands based on your work+2. Close unnecessary applications to free resources+3. Monitor system performance and adjust workflow accordingly++---++### Community Contribution Guidelines++#### **1. Response Timeline**++Contributors should address feedback or requested changes within 14 days. Pull requests without response or updates will be automatically closed but can be reopened once changes are applied.++#### **2. Code Quality Standards**++- **Follow Style Guidelines:**+ - Adhere to SmythOS UI coding standards and formatting conventions+ - Use provided linting tools and configurations+- **TypeScript Compliance:**+ - Ensure full TypeScript compatibility+- **Code Reusability:**+ - Reuse existing components, utilities, and patterns+ - Avoid duplicating functionality across packages+ - Maintain consistency in parameter and component definitions++#### **3. Pull Request Requirements**++- **Focused Scope:**+ - Limit PRs to single features or fixes+- **Clear Naming:**+ - Follow descriptive PR title conventions+- **New Features:**+ - Major new features should be discussed with maintainers before implementation+ - Ensure alignment with SmythOS UI roadmap and architecture+- **Documentation:**+ - Update relevant documentation for new features+ - Include inline code comments for complex logic++#### **4. Review Process for Non-Compliant PRs**++- **Large/Unfocused PRs:** Will be returned for segmentation into smaller, focused changes+- **Architectural Concerns:** PRs that don't align with project architecture will require discussion and potential redesign+++## Contributor License Agreement++To ensure clear intellectual property rights and enable smooth collaboration, contributors must sign our Contributor License Agreement. This process is automated - when you submit your first pull request, a bot will provide instructions for signing the agreement.++The agreement uses plain English and is designed to protect both contributors and the project while enabling open-source collaboration.++---++Thank you for contributing to SmythOS UI! Your contributions help make AI agent development more accessible and powerful for everyone.diff --git a/LICENSE b/LICENSEnew file mode 100644index 00000000..f418ff7e--- /dev/null+++ b/LICENSE@@ -0,0 +1,18 @@+The MIT License++Copyright 2025, INK Content, Inc.++Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated+documentation files (the “Software”), to deal in the Software without restriction, including without limitation+the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and+to permit persons to whom the Software is furnished to do so, subject to the following conditions:+The above copyright notice and this permission notice shall be included in all copies or substantial portions+of the Software.++THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/README.md b/README.mdnew file mode 100644index 00000000..e69de29bdiff --git a/SECURITY.md b/SECURITY.mdnew file mode 100644index 00000000..62c35736--- /dev/null+++ b/SECURITY.md@@ -0,0 +1,8 @@+# Security Policy+++## Reporting a Vulnerability++Please report security vulnerabilities by email to `[email protected]`.++**Avoid disclosing security issues in public GitHub Issues, as this could allow others to exploit them before a fix is implemented.**