# Octrafic > Open source CLI tool for AI-powered API testing in plain English, straight from the terminal. No code required. Octrafic is an open source, AI-powered CLI tool that lets developers test REST APIs using natural language descriptions directly from the terminal. It acts as an AI agent that plans test scenarios, executes real HTTP requests, validates responses, and generates PDF reports — all from a single binary with no runtime dependencies. It supports multiple LLM providers including OpenAI, Anthropic, Ollama, and any OpenAI-compatible API, making it flexible for both cloud and local inference workflows. - **Natural Language API Testing** — *Describe what you want tested in plain English (e.g., "test /users endpoint") and the AI agent handles scenario planning, request execution, and response validation automatically.* - **Real API Requests** — *Tests run against your actual API with real status codes and real errors — no mocks or simulations.* - **PDF Report Export** — *Export test results to a styled PDF report with a single command, ideal for sharing with teams or stakeholders.* - **Multiple LLM Provider Support** — *Configure OpenAI, Anthropic (Claude), OpenRouter, Ollama, or llama.cpp as your backend; switch providers anytime via environment variable or project settings.* - **OpenAPI Spec Generation** — *Run `octrafic scan` to automatically generate an OpenAPI 3.1 spec from your source code when no spec exists.* - **Schema Validation** — *Automatically catch response mismatches against your OpenAPI spec, including missing required fields and type errors.* - **Headless / CI/CD Mode** — *Run tests in pipelines (GitHub Actions, GitLab CI, Jenkins) with no TUI or prompts — just exit codes for pass/fail.* - **Single Binary, No Dependencies** — *Written in Go; works on Linux, macOS, and Windows with a one-line install script.* - **Privacy First, No Telemetry** — *No usage data is collected; you bring your own LLM API key.* - **Postman Alternative** — *Lightweight terminal-first alternative to GUI tools like Postman, with no Electron app or heavy UI.* ## Features - Natural language API testing - AI agent test planning - Real HTTP request execution - PDF report generation - OpenAPI 3.1 spec generation via scan - Schema validation against OpenAPI specs - Headless/CI-CD mode with exit codes - Multiple LLM provider support (OpenAI, Anthropic, Ollama, llama.cpp) - Single binary, no runtime dependencies - No telemetry, privacy first - Postman spec import support - Interactive terminal UI (TUI) ## Integrations OpenAI, Anthropic Claude, OpenRouter, Ollama, llama.cpp, LM Studio, GitHub Actions, GitLab CI, Jenkins, OpenAPI / Swagger ## Platforms LINUX, MACOS, WINDOWS, API ## Pricing Open Source ## Links - Website: https://octrafic.com - Documentation: https://docs.octrafic.com/ - Repository: https://github.com/octrafic/octrafic-cli - EveryDev.ai: https://www.everydev.ai/tools/octrafic