Quick Start
Quick Start
Section titled “Quick Start”Get from zero to a running AI agent in five steps.
Prerequisites
Section titled “Prerequisites”- Node.js 22+ (for @jbcom/agentic)
- Python 3.10+ (for agentic-crew, optional)
- Git with at least one configured remote
- GitHub Personal Access Token with
reposcope
1. Install
Section titled “1. Install”# Install the control package globallynpm install -g @jbcom/agentic
# Verifyagentic --versionFor Python crew orchestration:
pip install agentic-crew[crewai]2. Initialize
Section titled “2. Initialize”The agentic init command detects your environment — Git remotes, existing tokens, AI provider keys — and generates a config file:
agentic initThis creates agentic.config.json:
{ "tokens": { "organizations": { "my-org": { "name": "my-org", "tokenEnvVar": "GITHUB_MY_ORG_TOKEN" } }, "defaultTokenEnvVar": "GITHUB_TOKEN" }, "defaultRepository": "my-org/my-repo", "triage": { "provider": "anthropic", "model": "claude-sonnet-4-20250514", "apiKeyEnvVar": "ANTHROPIC_API_KEY" }}3. Set Environment Variables
Section titled “3. Set Environment Variables”# Required: GitHub tokenexport GITHUB_TOKEN="ghp_xxx"
# Optional: org-specific tokens (auto-routed by config)export GITHUB_MY_ORG_TOKEN="ghp_xxx"
# For AI triage features (pick one)export ANTHROPIC_API_KEY="sk-ant-xxx"# export OPENAI_API_KEY="sk-xxx"# export GOOGLE_API_KEY="xxx"Verify your tokens:
agentic tokens statusToken Status─────────────────────────────────────────────────✅ GITHUB_TOKEN (default) valid✅ GITHUB_MY_ORG_TOKEN (my-org) valid✅ ANTHROPIC_API_KEY (triage provider) valid4. Spawn Your First Agent
Section titled “4. Spawn Your First Agent”agentic fleet spawn "https://github.com/my-org/my-repo" \ "Review the README and add a Quick Start section" \ --auto-prThe agent will clone the repo, work on the task, and open a pull request.
Monitor progress:
# List running agentsagentic fleet list --running
# Get fleet summaryagentic fleet summary5. Try AI Triage
Section titled “5. Try AI Triage”For quick AI analysis without spawning a full agent:
# Quick triageagentic triage quick "Error: Cannot find module 'express'"
# Code reviewagentic triage review --base main --head HEADOr use the TypeScript API:
import { getTriageTools } from '@jbcom/agentic/tools';import { generateText } from 'ai';import { anthropic } from '@ai-sdk/anthropic';
const result = await generateText({ model: anthropic('claude-sonnet-4-20250514'), tools: getTriageTools(), prompt: 'List all open high-priority bugs',});What’s Next
Section titled “What’s Next”You’re up and running. Here’s where to go from here:
- Configuration — Multi-org tokens, fleet defaults, AI provider setup
- Agent Spawning — Advanced agent creation and monitoring
- Fleet Management — Coordinate multiple agents
- Orchestration Patterns — Diamond patterns, handoffs, coordination loops
- Python Crews — Framework-agnostic crew orchestration