Skip to main content

Grid

Build powerful AI agents with TypeScript

🤖

AI-Powered Agents

Build intelligent agents with TypeScript. Grid provides a comprehensive framework for creating conversational AI with tool-calling capabilities and complex workflows.

🔧

Powerful Tool System

Extend your agents with custom tools using Zod schemas. Seamlessly integrate with external APIs, databases, and services. Full MCP support included.

📊

Built-in Observability

Monitor everything with Langfuse integration. Track costs, performance, errors, and user interactions. Session-based tracing with automatic cost calculation.

🏗️

Layered Architecture

From atomic services to complex orchestration. Build on a solid foundation with our closure-based functional architecture and composition patterns.

🚀

Production Ready

Error handling, retries, streaming, and progress tracking built-in. Deploy with confidence using battle-tested patterns and comprehensive error boundaries.

💡

Developer Experience

TypeScript-first with excellent type inference. Comprehensive docs, examples, and a growing community. Works with your favorite tools and frameworks.

Get Started in Seconds

import { createConfigurableAgent, calculatorTool } from "@mrck-labs/grid-core";

// Create an intelligent agent
const agent = createConfigurableAgent({
llmConfig: {
model: "gpt-4",
provider: "openai",
},
systemPrompt: "You are a helpful math tutor.",
tools: [calculatorTool],
});

// Use the agent
const response = await agent.act("What's 15% of 200?");
console.log(response.content);
// "To calculate 15% of 200, I'll help you with that calculation..."
// "15% of 200 is 30"