Everything you need to build, deploy, and operate multi-agent financial workflows on Stellar.
Install StellarFlow, fund a testnet account, and run your first workflow in under 5 minutes.
Learn the YAML workflow definition language — steps, agents, transitions, and parameters.
Build custom agents by extending BaseAgent and register them with the orchestrator.
Full REST API documentation with request/response schemas and curl examples.
git clone https://github.com/your-org/stellarflow
cd stellarflow
npm installcp .env.example .env
# Edit .env with your Stellar testnet keypairnpm run dev
# Visit http://localhost:3000curl -X POST http://localhost:3000/api/workflows/run \
-H "Content-Type: application/json" \
-d '{"workflow": "vendor-payment-pipeline", "inputs": {"invoice_id": "INV-001", "amount": "100", "vendor_stellar_address": "GTEST...", "currency": "USDC"}}'curl -X POST https://your-app.vercel.app/api/workflows/run \
-H "Content-Type: application/json" \
-d '{
"workflow": "vendor-payment-pipeline",
"inputs": {
"invoice_id": "INV-2025-001",
"vendor_stellar_address": "GVENDOR...",
"amount": "4500.00",
"currency": "USDC"
}
}'curl https://your-app.vercel.app/api/workflows/run_01J2XZ8K.../statuscurl https://your-app.vercel.app/api/workflows/run_01J2XZ8K.../auditcurl https://your-app.vercel.app/api/agentsimport { BaseAgent, StepContext, StepResult, registerAgent } from "@stellarflow/sdk"
export class SlackNotificationAgent extends BaseAgent {
constructor() {
super("SlackNotificationAgent")
}
async execute(ctx: StepContext): Promise<StepResult> {
const webhookUrl = ctx.params.slackWebhookUrl as string
await fetch(webhookUrl, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
text: `✅ Workflow ${ctx.workflowName} step ${ctx.stepId} completed`,
}),
})
return {
status: "success",
metadata: { notifiedAt: new Date().toISOString() },
}
}
}
// Register once at startup
registerAgent("SlackNotificationAgent", SlackNotificationAgent)StellarFlow is a Drips Wave maintainer on the Stellar ecosystem. There are 100 open issues — Trivial, Medium, and High complexity — each with a point bounty. Resolve issues, merge PRs, and earn USDC rewards from the Stellar Development Foundation.