Skip to content

Latest commit

Β 

History

History
88 lines (66 loc) Β· 2.41 KB

File metadata and controls

88 lines (66 loc) Β· 2.41 KB

Getting Started

Get started with Better Agents in 2 minutes! πŸš€

Installation

npm install -g @langwatch/better-agents

Or use npx (no installation):

npx @langwatch/better-agents init my-agent

Usage

better-agents init my-agent

Follow the prompts:

  1. Language: Python or TypeScript
  2. Framework: Agno (Python) or Mastra (TypeScript)
  3. Coding Assistant: Claude Code, Cursor, Antigravity, Kilocode CLI, or None
  4. LLM Provider: OpenAI, Anthropic, Gemini, Bedrock, OpenRouter, or Grok
  5. API Keys: Your chosen LLM Provider API key and LangWatch API key
  6. Project Goal: Describe what you want to build

What You Get

my-agent/
β”œβ”€β”€ app/ (or src/)           # Your agent code
β”œβ”€β”€ prompts/                 # Versioned prompts
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ evaluations/        # Performance evaluation notebooks
β”‚   └── scenarios/          # End-to-end scenario tests
β”œβ”€β”€ AGENTS.md               # Development guidelines
β”œβ”€β”€ CLAUDE.md               # References AGENTS.md for Claude Code
β”œβ”€β”€ .mcp.json               # MCP server configuration (universal)
└── .cursor/mcp.json        # Symlink to .mcp.json for Cursor

Next Steps

cd my-agent
# Launch your coding assistant (it will be auto-launched after setup)

Your coding assistant is now an expert in:

  • Your chosen framework (Agno/Mastra)
  • LangWatch best practices
  • Prompt management
  • Agent testing

Key Features

βœ… Agent Testing Pyramid - Unit tests + Evals + Simulations βœ… Prompt Management - Version controlled prompts βœ… MCP Integration - Expert guidance built-in βœ… Production Ready - Best practices from day one

Requirements

Resources


Questions? Open an issue on GitHub!