AGENTS.md · giselles-ai/giselle
AGENTS.md from giselles-ai/giselle: 414 lines covering Development Philosophy, Project Overview, Architecture, Development Workflow and more.
Template by giselles-ai
Chalk Labs
Need help deploying AGENTS.md · giselles-ai/giselle?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/giselles-ai/giselle/main/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documentation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 414 lines
- File
AGENTS.md
Sections
- Development Philosophy
- Project Overview
- Architecture
- Development Workflow
- Key Conventions
- Source Code Reference
First lines (shown under the repo's Apache-2.0 license)
# AGENTS.md - Giselle Development Guide
## Development Philosophy
### Core Principle: **Less is more**
Keep every implementation as small and obvious as possible.
### Guidelines
- **Simplicity first** – Prefer the simplest data structures and APIs that work
- **Avoid needless abstractions** – Refactor only when duplication hurts
- **Remove dead code early** – `pnpm tidy` scans for unused files/deps and lets you delete them in one command
- **Minimize dependencies** – Before adding a dependency, ask "Can we do this with what we already have?"
- **Consistency wins** – Follow existing naming and file-layout patterns; if you must diverge, document why
- **Explicit over implicit** – Favor clear, descriptive names and type annotations over clever tricks
- **Fail fast** – Validate inputs, throw early, and surface actionable errors
- **Let the code speak** – If you need a multi-paragraph comment, refactor until intent is obvious
## Project Overview
Giselle is built to design and run AI workflows beyond prompt chains. Not a chat. Not a chain. A system you can run.
### Key Features:
- Visual editor
- Instant execution
- No infra headaches
- Open source — focused on local use and self-hosting
## Architecture
### Monorepo Structure
Giselle uses a **Turborepo monorepo** with pnpm workspaces, organized into four main directories:
```
/workspace
├── apps/ # Deployable applications
│ ├── studio.giselles.ai/ # Giselle Studio application
│ └── ui.giselles.ai/ # UI component showcase
├── packages/ # Published SDK packages (@giselles-ai/*)
├── internal-packages/ # Internal shared packages (@giselle-internal/*)
└── tools/ # Development utilities
```
### Package Layers
**SDK Packages (`packages/@giselles-ai/*`):**
- `protocol` — Core domain types and schemas (Workspace, Node, Task, Generation)
- `giselle` — Engine implementation (tasks, generations, triggers, integrations)
- `react` — React hooks and components for client integration
- `nextjs` — Next.js integration with route handlers
- `language-model` — Language model abstractions and cost calculations
- `language-model-registry` — Provider-specific model implementations
- `rag` — RAG pipeline (chunking, embedding, querying)
- `github-tool` — GitHub integration utilities
**Internal Packages (`internal-packages/@giselle-internal/*`):**
- `workflow-designer-ui` — Visual workflow editor (React Flow-based)
- `ui` — Shared UI components (Radix-based)
### Technology Stack
| Layer | Technology |
|-------|------------|
| Runtime | Node.js 22+ |
| Package Manager | pnpm 10+ |
| Build System | Turborepo |
| Web Framework | Next.js 16 (App Router) |
| UI Library | React 19 |
| Styling | Tailwind CSS 4 |
| State Management | Zustand (editor), SWR (data fetching) |
| Validation | Zod v4 |
| Database | PostgreSQL with Drizzle ORM |
| Vector Store | pgvector |
| Formatting/Linting | Biome |
| Testing | Vitest |
| AI SDK | Vercel AI SDK |
### Data Flow
```
Workspace (JSON) → Protocol Types → Giselle Engine → Task Execution → Generation Output
↓
Language Model Registry → AI Provider APIs
```
### Key Domain Concepts
- **Workspace** — A visual workflow containing nodes and connections
- **Node** — Either an OperationNode (actions, text generation, triggers) or VariableNode (text, files, vector stores)
- **Task** — An executable instance of a workflow with sequences of generations
- **Generation** — A single step execution (created → queued → running → completed/failed)
- **App** — A published workflow entry point with parameters
## Development Workflow
TBD
### Initial Setup
```sh
pnpm install # Install all dependencies
pnpm build-sdk # Build SDK packages (required before running apps)
```
### Development Commands
```sh
# Development
pnpm dev:studio.giselles.ai # Start Giselle Studio
# Build
pnpm build-sdk # Build SDK packages
pnpm -F studio.giselles.ai build # Build Giselle Studio
# Quality Checks
pnpm format # Format code with Biome
pnpm check-types # Type-check all packages
pnpm test # Run all tests
pnpm tidy # Find unused files/dependencies
pnpm tidy --fix # Remove unused files/dependencies
```
### After Every Code Change
Run these commands in order:
1. `pnpm format` — Format code
2. `pnpm build-sdk` — Rebuild SDK packages
3. `pnpm check-types` — Verify types
4. `pnpm tidy` — Check for unused code
5. `pnpm test` — Run tests
### API addition rule (Giselle ↔ HTTP)
When adding a new **public API** to `packages/giselle/src/giselle.ts`, also add the corresponding routing entry to `packages/http/src/router.ts` (typically `jsonRoutes.<name>` using `giselle.<name>.inputSchema`) so the API is reachable through the HTTP layer (e.g., via `NextGiselle`).
### Testing
```sh
pnpm test # Run all tests
pnpm -F @giselles-ai/giselle test # Run tests for a specific package
cd packages/giselle && vitest # Run tests in watch mode
vitest run src/tasks/run-task.test.ts # Run a specific test file
```
Test files follow the `*.test.ts` naming pattern and use Vitest.
### Pull Request Guidelines
- Create PRs in **meaningful minimum units** — even 1 commit or ~20 lines is fine
- Feature flags protect unreleased features, so submit PRs for any meaningful work
- **~500 lines**: Consider wrapping up for a PR
- **1000 lines**: Maximum threshold — avoid exceeding this
## Key Conventions
### Naming
TBD
**File Names: kebab-case**
```Signals
- Stars
- 558
- Forks
- 123
- Open issues
- 2
- Last commit (this folder)
- Oct 22, 2026 (8 days ago)
- Last release
- Apr 27, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/giselles-ai/giselle
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from giselles-ai
- 0.577score
giselle
giselles-ai
Open-source visual AI agent studio with drag-and-drop agent building, multi-model support and a vector-backed knowledge store.
BuilderAFreshness: A★ 558 - 0.412score
react-coder
giselles-ai
Subagent "react-coder" from giselles-ai/giselle: Use this agent when you need to create or modify React components following the project's simplicity-first…
TemplateDFreshness: D★ 558Claude Code - 0.412score
ts-coder
giselles-ai
Subagent "ts-coder" from giselles-ai/giselle: Use this agent when you need to write or refactor TypeScript code following strict type safety and simplicity…
TemplateDFreshness: D★ 558Claude Code - 0.412score
ux-guardian
giselles-ai
Subagent "ux-guardian" from giselles-ai/giselle: Understands the essence of applications and discovers comprehensive test cases from the perspective of actual…
TemplateDFreshness: D★ 558Claude Code - 0.409score
proofreader
giselles-ai
Subagent "proofreader" from giselles-ai/giselle: Use this agent to proofread English text with a focus on formatting and word choice across the project.
TemplateDFreshness: D★ 558Claude Code - 0.399score
Cursor rules · giselles-ai/giselle
giselles-ai
8 Cursor rule files from giselles-ai/giselle: design-mode, development-guide, edit-workspace-tour, language-support, naming-guide and more.
TemplateDFreshness: D★ 558Cursor
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · giselles-ai/giselle running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · giselles-ai/giselle. Agent Mart. https://agentmart.dev/templates/giselles-ai-giselle-agents-md (last updated 2026-10-24)