2 releases

Uses new Rust 2024

0.1.1 May 30, 2025
0.1.0 May 30, 2025

#261 in WebAssembly

MIT license

6.5MB
5.5K SLoC

Contains (Mach-o library, 5MB) libchannel_telegram.dylib, (Mach-o library, 505KB) libchannel_mock_inout.dylib, (Mach-o library, 505KB) libchannel_mock_middle.dylib

Greentic AI πŸš€

Welcome to Greentic AI, the fastest, most extendable, and secure agentic platform for building autonomous workflows. Whether you’re integrating external systems via channels, calling external APIs and other MCP tools, or crafting complex processes, Greentic AI gives you the building blocks to automate anything. Coming soon: intelligent LLM-powered agents!


πŸ“‹ Table of Contents

  1. Introduction
  2. Key Concepts
  3. Getting Started
  4. Quick Flow Example
  5. Controlling Flows, Channels & Tools (Coming Soon)
  6. Coming Soon
  7. Need Custom Agentic Automation?
  8. Contributing
  9. License

πŸ“ Introduction

Greentic AI is an open-source platform designed to let you build, deploy, and manage agentic workflows at lightning speed.

  • Fastest runtime with zero cold-starts for WebAssembly tools.
  • Extendable architecture: plug in your own channels, tools, and processes.
  • Secure by design: sandboxed Wasm allows to securely run untrusted third-party MCP tools.
  • Observability via OpenTelemetry integrations

πŸ”‘ Key Concepts

Tools (MCP in Wasm)

  • MCP (Micro-Connector Process) modules compile to WebAssembly.
  • Each tool exposes a simple API:
    {
      "name": "weather_api",
      "action": "forecast_weather",
      "parameters": { "q": "London", "days": 3 }
    }
    
  • Tools run in a sandbox, ensuring resource limits and security.

Channels

  • Channels let your flows send and receive messages to the outside world.
  • Examples: Telegram, Slack, HTTP webhooks, databases.
  • Define a channel in your config:
    [[channels]]
    name = "telegram"
    type = "telegram_bot"
    token = "TELEGRAM_TOKEN"
    

Processes - (Coming Soon)

  • Processes encapsulate business logic and control flow (conditionals, retries, loops).

Agents (Coming Soon)

  • Agents will be LLM-driven β€œsuper-processes” that can plan, learn, and adapt.
  • Stay tuned for:
    • Prompt management
    • Memory & context handling
    • Autonomous decision loops

πŸš€ Getting Started

  1. Install Greentic CLI
    cargo install greentic
    
  2. **Initialize one time **
    greentic init
    
  3. Manage your flows (coming soon)
    greentic flow validate my_flow.greentic
    greentic flow deploy my_flow.greentic
    greentic flow start/stop my_flow.greentic
    greentic channel pull telegram
    greentic channel start/stop telegram
    greentic tool pull weather_api
    greentic tool start/stop weather_api 
    

πŸ›  Quick Flow Example

{
  "id": "sample-weather-flow",
  "description": "Fetch and relay weather forecasts",
  "channels": [
    {
      "name": "telegram",
      "config": {
        "token": "TELEGRAM_TOKEN"
      }
    }
  ],
  "tools": [
    {
      "name": "weather_api",
      "wasm": "weather_api.wasm"
    }
  ],
  "nodes": [
    {
      "id": "weather_in",
      "channel": "telegram",
      "in": true
    },
    {
      "id": "forecast",
      "tool": "weather_api.forecast_weather",
      "parameters": {
        "q": "{{weather_in.payload.location}}",
        "days": 3
      }
    },
    {
      "id": "weather_out",
      "channel": "telegram",
      "out": true
    }
  ],
  "connections": [
    {
      "from": "weather_in",
      "to": "forecast"
    },
    {
      "from": "forecast",
      "to": "weather_out"
    }
  ]
}

Start your flow: (coming soon)

# validate the flow is ok
greentic flow validate ./sample-weather-flow
# deploy the flow (only needs to happen one time)
greentic flow deploy ./sample-weather-flow
# start your flow
greentic flow start sample-weather-flow

Stop your flow:

greentic flow stop sample-weather-flow

βš™οΈ Controlling Flows, Channels & Tools (Coming soon)

Start / Stop a Flow

# Start
greentic flow start <flow-id>

# Stop
greentic flow stop <flow-id>

Start / Stop a Channel

#
# Start
greentic channel start <channel-name>

# Stop
greentic channel stop <channel-name>

πŸ”­ Coming Soon

  • Agents: autonomous LLM-backed actors

If there is demand:

  • Process Library: pre-built workflows (e.g., PR triage, sales outreach)
  • UI Dashboard: visual flow designer and monitor

πŸ“¬ Need Custom Agentic Automation?

Have a specific use-case or need expert help?
Please fill out our form: Agentic Automation Inquiry


🀝 Contributing

We welcome contributions of all kinds!

  • Bug reports 🐞
  • Feature requests πŸŽ‰
  • Code & documentation PRs πŸ“
  1. Fork the repo
  2. Create a feature branch
  3. Open a PR against main

See CONTRIBUTING.md for full guidelines.


πŸ“„ License

Distributed under the MIT License. See LICENSE for details.


Thank you for checking out Greentic AIβ€”let’s build the future of automation together! πŸš€

Dependencies

~83MB
~1.5M SLoC