Package Exports
- usda-code
- usda-code/dist/cli/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (usda-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Usda Code - Open Source AI Coding Agent
A powerful, model-agnostic AI coding agent with a terminal-first experience, designed for developer productivity, extensibility, and full transparency.
Features
- Terminal-First TUI: Keyboard-driven, fast, minimal latency interface
- Multi-Model Support: OpenAI, Anthropic, Google, NVIDIA, OpenRouter, Ollama, vLLM
- Dual Agent Modes: Full execution mode and planning (safe) mode
- Tool System: Filesystem, shell, git operations with structured validation
- Session Memory: Persistent context across conversations
- Plugin Architecture: Extensible via custom tools and providers
- Human-in-the-Loop: Explicit approval system for safe mode
- Cross-Platform: macOS, Windows, Linux support
Installation
npm i -g usda-codeQuick Start
usda
usda -aConfiguration
Create a usda.config.yaml in your project root:
provider: openai
model: gpt-4
apiKey: ${OPENAI_API_KEY}
baseUrl: https://api.openai.com/v1
temperature: 0.7
maxTokens: 4096
# Provider-specific settings
providers:
anthropic:
model: claude-3-opus-20240229
apiKey: ${ANTHROPIC_API_KEY}
openai:
model: gpt-4
apiKey: ${OPENAI_API_KEY}
ollama:
model: llama3
baseUrl: http://localhost:11434/v1Supported Providers
| Provider | Base URL | Models |
|---|---|---|
| OpenAI | https://api.openai.com/v1 | gpt-4, gpt-3.5-turbo |
| Anthropic | https://api.anthropic.com | claude-3-* |
| https://generativelanguage.googleapis.com | gemini-* | |
| NVIDIA | https://integrate.api.nvidia.com/v1 | llama-3.1-, mistral- |
| OpenRouter | https://openrouter.ai/api/v1 | Multiple |
| Ollama | http://localhost:11434/v1 | Local models |
| Custom | User-defined | Any OpenAI-compatible |
License
MIT