From install to your first strategy

Install the standalone CLI for your platform, then define the same two-agent workflow in TypeScript or JSON.

Step 1

Install CommaAgents

The installer downloads the standalone release, verifies its checksum, adds the comma command to your user PATH, and runs the initial setup.

The standalone build includes its runtime, the CLI, terminal interface, daemon, and Core.

curl -fsSL https://commaagents.com/install | bash
comma

Step 2

Define a simple review strategy

Both examples pass one prompt through an analyst and then a reviewer. They use openai/gpt-4o, so configure an OpenAI credential during setup or set OPENAI_API_KEY before running them.

Read the strategy guide
strategy.ts
import {
  createAgent,
  createSequentialFlow,
} from "@comma-agents/core";

const analyst = createAgent({
  name: "analyst",
  model: "openai/gpt-4o",
  systemPrompt: "Identify bugs and edge cases in the supplied code.",
});

const reviewer = createAgent({
  name: "reviewer",
  model: "openai/gpt-4o",
  systemPrompt: "Turn the analysis into concise, actionable fixes.",
});

const reviewStrategy = createSequentialFlow({
  name: "review-pipeline",
  steps: [analyst, reviewer],
});

const result = await reviewStrategy.call(
  "Review: function add(a, b) { return a + b; }",
);

console.log(result.text);
Install and run bun add @comma-agents/core@next bun run strategy.ts

Comma Agents At A Glance

Comma Agents is a dynamic platform designed to revolutionize the way we interact with AI. At its core, it offers an innovative suite of tools that empower users to create, customize, and deploy intelligent agents. These agents, equipped with advanced generative AI capabilities, are tailored to perform a diverse range of tasks, from engaging in natural conversations to devising strategic solutions. Ideal for both enthusiasts and professionals, Comma Agents stands as a testament to the exciting possibilities of AI, making it accessible, versatile, and user-friendly for a global community.

  • Enhanced AI Interactions

    Comma Agents facilitate more natural, intuitive AI conversations, improving user engagement and experience.

  • Customization and Flexibility

    Users can tailor agents to specific needs, allowing for greater flexibility in a variety of applications.

  • Community Collaboration

    The Comma Agents Hub encourages collaborative development, fostering a community of innovation and shared expertise.

  • State-of-the-Art Technology

    Access to the latest in generative AI and AGI technologies, ensuring cutting-edge solutions from Hub creators.

  • Scalability

    Comma Agents are designed to scale with your project's needs, from small tasks to large, complex systems.

  • Ease of Use

    User-friendly interfaces and framework tools make it simple for both beginners and experts to create and manage AI agents.