Thank you for your interest in improving AgentKit! This guide walks you through building flows in Lamatic, exporting them, and contributing kits, bundles, or templates to the repository.
- Quick Start (TL;DR)
- Prerequisites
- Step 1: Fork the Repository
- Step 2: Build Your Flow in Lamatic
- Step 3: Export Your Flow
- Choose Your Contribution Type
- Examples & References
- Troubleshooting
- General Guidelines
- Community & Support
- Fork the AgentKit repository
- Build & Deploy your flow in Lamatic Studio
- Export your flow files and API keys
- Follow the guide for your contribution type: Kit · Bundle · Template
- Test your contribution, then submit a PR
| Tool | Version | Installation |
|---|---|---|
| Node.js | 18+ | nodejs.org |
| npm | 9+ | Comes with Node.js |
| Git | Latest | git-scm.com |
| GitHub Account | - | github.com |
| Lamatic Account | - | lamatic.ai |
| Vercel Account | - | vercel.com (optional, for kit deployment) |
Node.js and npm are only required for kit contributions. Bundles and templates are flow-only.
This is the standard first step for any open source contribution.
- Go to github.com/Lamatic/AgentKit
- Click the Fork button in the top-right corner
git clone https://github.com/YOUR-USERNAME/AgentKit.git
cd AgentKitgit remote add upstream https://github.com/Lamatic/AgentKit.git- Go to studio.lamatic.ai
- Sign in or create a free account
- From the dashboard, click "Create Project +"
- Enter a project name (e.g., "My Content Generator") and particulars

- Click "Create"
Choose your starting point:
- Templates: Select a pre-built template to customize
- Flow: Build a flow on the blank canvas
- Add nodes for your workflow (triggers, LLM, conditions, etc.)
- Configure providers and API integrations
- Set up input/output schemas
- Click the "Deploy" button in the top-right corner
- Select flows to deploy and wait for deployment to complete
- You'll see a green "Deployed" status when ready
Navigate: Settings → API Keys (in the left sidebar)

You'll need these values:
| Key | Where to Find It | Screenshot |
|---|---|---|
LAMATIC_API_KEY |
Settings → API Keys → Copy | ![]() |
LAMATIC_PROJECT_ID |
Settings → Project → Project ID | ![]() |
LAMATIC_API_URL |
Settings → API Docs Button → API → Endpoint | ![]() |
- Open your deployed flow
- Look at the URL or the flow details panel (three-dot menu)
- Copy the Flow ID (e.g.,
agentic-generate-content)
Navigate: Flow → Details Panel → Flow ID

- Open your flow in the editor
- Click the three-dot menu (⋮) → "Export"
- Download the exported
.jsonfiles
You should receive files like:
config.json- Flow configurationinputs.json- Input schemameta.json- Flow metadataREADME.md- Auto-generated documentation
Now that you've forked the repo, built your flow, and exported your files, follow the guide for your contribution type.
Not sure which type to choose? Read the Quickstart Guide for a detailed comparison and decision guide.
| Type | What it is | When to Use | Guide |
|---|---|---|---|
| Kit | Full project with UI + flows | You built a complete Next.js app with one or more Lamatic flows | Kit Contribution Guide |
| Bundle | Multiple related flows | You have several flows that work together (no web app) | Bundle Contribution Guide |
| Template | Single flow export | You have one flow to share with the community | Template Contribution Guide |
Each guide covers folder structure, required files, configuration, and PR checklists specific to that contribution type.
| Resource | Description |
|---|---|
| Sample Kit Folder | Complete working kit example |
| Kit config.json | Kit metadata format |
| .env.example | Environment variables template |
| orchestrate.ts | Flow orchestration example |
| Resource | Description |
|---|---|
| Sample Bundle Folder | Complete working bundle example |
| Bundle config.json | Bundle metadata with step types |
| Resource | Description |
|---|---|
| Get Started Template | Basic single-flow example |
| Template meta.json | Flow metadata format |
| Problem | Solution |
|---|---|
npm run dev fails |
Check Node.js version: node --version (needs 18+) |
| Flow not responding | Verify .env values match your deployed flow |
| "API key invalid" error | Check LAMATIC_API_KEY is correct |
| Missing flows folder | Re-export flows from Lamatic Studio |
| Vercel build fails | Ensure root directory is set correctly |
- Check existing issues
- Ask in GitHub Discussions
- Review Lamatic Docs
- Write clear, maintainable code
- Use TypeScript where possible
- Follow patterns from the sample kit
- Keep dependencies minimal
- Add comments for complex logic
- Check if a similar kit/bundle/template already exists
- Search open issues to avoid duplicates
- Review this guide completely
Include:
- Steps to reproduce
- Expected vs. actual behavior
- Environment (Node.js version, OS)
- Relevant logs or screenshots
- GitHub Discussions: github.com/Lamatic/AgentKit/discussions
- Issues: github.com/Lamatic/AgentKit/issues
- Lamatic Docs: lamatic.ai/docs
We appreciate your contributions to Lamatic AgentKit!











