Skip to main content

Bardgent

A terminal coding agent with tools for files, shell, web, memory, skills, sub-agents, and scheduled tasks.

PyPI: https://pypi.org/project/bardgent/


Install

Requires Python 3.8+.

pip install bardgent

Or with pipx (recommended for CLI apps — isolated env + command on PATH):

pipx install bardgent

Upgrade later:

pip install --upgrade bardgent
# or
pipx upgrade bardgent

Configure API key

The env var name is historical (GEMINI_API_KEY). Any OpenAI-compatible key works with the configured base URL (default: NVIDIA).

Create a .env file in the Bardgent config directory.

macOS / Linux

mkdir -p ~/.bardgent
nano ~/.bardgent/.env

Windows (PowerShell)

New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.bardgent"
notepad "$env:USERPROFILE\.bardgent\.env"

Put this line in the file (no spaces around =):

GEMINI_API_KEY=your_key_here

Optional:

TELEGRAM_BOT_TOKEN=optional_telegram_bot_token
OS Config directory Env file
macOS / Linux ~/.bardgent/ ~/.bardgent/.env
Windows %USERPROFILE%\.bardgent\ %USERPROFILE%\.bardgent\.env

Alternative: environment variable

macOS / Linux

export GEMINI_API_KEY=your_key_here

Windows (PowerShell)

$env:GEMINI_API_KEY = "your_key_here"

Run

bardgent

If the command is not found after pip install, use:

python -m bardgent

On Windows, if python is not found, try:

py -m bardgent

Defaults

Setting Value
API base https://integrate.api.nvidia.com/v1
Model nvidia/nemotron-3-ultra-550b-a55b
Config dir ~/.bardgent/ (Windows: %USERPROFILE%\.bardgent\)

Modes

Mode Behavior
normal Approve Write/Edit/Bash (and similar) per action
auto Auto-approve non-dangerous actions; dangerous shell still prompts
plan Read-only tools only; agent proposes a plan, then you choose how to execute

Cycle with Shift+Tab or /normal, /auto, /plan.


Tools (high level)

  • Files: Read, Write, Edit, Undo, Glob, Grep
  • Shell: Bash (cwd persists), background jobs via ListJobs / Await
  • Web: WebSearch (DuckDuckGo), Fetch
  • Memory: save / list / delete long-term notes (~/.bardgent/Bardgent.md)
  • Skills: Claude Code–style SKILL.md packs; /skills, /skill install <github_url>
  • Delegation: Task / Tasks (parallel sub-agents)
  • Schedule: recurring or one-off tasks; /schedule, /schedules. A detached scheduler daemon keeps firing tasks after you close the terminal (auto-started with Bardgent). Manage with /schedule daemon status|start|stop. Log: ~/.bardgent/scheduler.log.

Project instructions

Place any of these in the project root (all that exist are loaded):

  • AGENTS.md
  • .bardgent/AGENTS.md, .bardgent/instructions.md, .bardgent/RULES.md

Skills locations

  1. ./.bardgent/skills/<name>/SKILL.md (project)
  2. ~/.bardgent/skills/<name>/SKILL.md (user)
  3. Package skills/ (optional bundled defaults)

Permissions

Per-project file: .bardgent/permissions.json

{
  "auto_approve_bash_prefixes": ["git status", "pytest"],
  "auto_approve_tools": ["Fetch", "Write", "Edit"],
  "extra_dangerous_patterns": []
}

Useful commands

Type /help in the REPL for the full list. Highlights: /resume, /checkpoints, /restore, /telegram, /summary, /clear.


Develop from source

git clone https://github.com/bardiaegz/BardGent.git
cd BardGent
python -m venv venv

# macOS / Linux
source venv/bin/activate

# Windows (PowerShell)
# .\venv\Scripts\Activate.ps1

pip install -e .
bardgent

License

MIT — use and modify as you like for personal / project use.

Metadata

Release files for bardgent 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bardgent 1.0.1
File Size Uploaded
bardgent-1.0.1.tar.gz 68.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bardgent 1.0.1
File Interpreter ABI Platform
bardgent-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 146.5 kB

Release files / bardgent-1.0.1.tar.gz

Download URL bardgent-1.0.1.tar.gz
Size 68.8 kB
Tags Source
SHA-256 checksum
How to use checksums
058c3a8980a9fc9c2c338b8a860ee034a332fb15e98126cb557fbc2cf58750ed
BLAKE2b-256 checksum
How to use checksums
10bd73c2662e633ae5ae8019319dbbf96b6b569dd8ff7d7d4352db159b7e59e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / bardgent-1.0.1-py3-none-any.whl

Download URL bardgent-1.0.1-py3-none-any.whl
Size 77.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e73969750e6fc6df3c201c9a9da2cd5a8b24e75e97aecfb3e9e2a01acc6bb8d2
BLAKE2b-256 checksum
How to use checksums
36835649224f3557c72b98367075edbe8d8c3ae275af5412b540ab400668e352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page