2 releases
Uses new Rust 2024
0.1.1 | May 30, 2025 |
---|---|
0.1.0 | May 30, 2025 |
#261 in WebAssembly
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
- Introduction
- Key Concepts
- Getting Started
- Quick Flow Example
- Controlling Flows, Channels & Tools (Coming Soon)
- Coming Soon
- Need Custom Agentic Automation?
- Contributing
- 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
- Install Greentic CLI
cargo install greentic
- **Initialize one time **
greentic init
- 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 π
- Fork the repo
- Create a feature branch
- 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