Agent Kit Generation is an AI-powered content generation system built with Lamatic.ai. It uses intelligent workflows to generate text, images, and JSON content through a modern Next.js interface with markdown rendering support.
Before running this project, you must build and deploy the flow in Lamatic, then wire its config into this codebase.
Pre: Build in Lamatic
- Sign in or sign up at https://lamatic.ai
- Create a project (if you don’t have one yet)
- Click “+ New Flow” and select "Templates"
- Select the 'Generation' agent kit
- Configure providers/tools/inputs as prompted
- Deploy the kit in Lamatic and obtain your .env keys
- Copy the keys from your studio
Post: Wire into this repo
- Create a .env file and set the keys
- Install and run locally:
- npm install
- npm run dev
- Deploy (Vercel recommended):
- Import your repo, set the project's Root Directory (if applicable)
- Add env vars in Vercel (same as your .env)
- Deploy and test your live URL
Notes
- Coming soon: single-click export and "Connect Git" in Lamatic to push config directly to your repo.
You’ll need these things to run this project locally:
- .env Keys → get it from your Lamatic account post kit deployment.
| Item | Purpose | Where to Get It |
|---|---|---|
| .env Key | Authentication for Lamatic AI APIs and Orchestration | lamatic.ai |
Create .env.local with:
# Lamatic
AGENTIC_GENERATE_CONTENT = "AGENTIC_GENERATE_CONTENT Flow ID"
LAMATIC_API_URL = "LAMATIC_API_URL"
LAMATIC_PROJECT_ID = "LAMATIC_PROJECT_ID"
LAMATIC_API_KEY = "LAMATIC_API_KEY"npm install
npm run dev
# Open http://localhost:3000/actions
└── orchestrate.ts # Lamatic workflow orchestration
/app
└── page.tsx # Main generation form UI
/components
├── header.tsx # Header component with navigation
└── ui # shadcn/ui components
/lib
└── lamatic-client.ts # Lamatic SDK client
/public
└── lamatic-logo.png # Lamatic branding
/flows
└── ... # Lamatic Flows
/package.json # Dependencies & scripts
We welcome contributions! Open an issue or PR in this repo.
MIT License – see LICENSE.
