Skip to main content

Multi-provider LLM CLI agent for editing Power BI reports

Project description

PBI Agent logo

PBI AGENT

Transform data into decisions.

Tests Publish Release Python License

pbi-agent is a local CLI agent that creates, edits, and audits Power BI PBIP reports through natural language.

Full documentation lives at nasirus.github.io/pbi-agent.

Demo

Watch the demo

Quick Start

pbi-agent works with PBIP projects, not .pbix files.

  1. Install the CLI:
uv tool install pbi-agent
  1. Set your API key:
export PBI_AGENT_API_KEY="sk-..."
  1. Open an existing PBIP project, or scaffold a new one:
# existing PBIP project
cd /path/to/my-report

# or create a new project
pbi-agent init --dest .
  1. Start the app:
pbi-agent

Running pbi-agent with no command launches the browser UI on http://localhost:8000.

Docs

Customization

pbi-agent supports a few workspace-level customization points:

  • INSTRUCTIONS.md replaces the default system prompt for the workspace.
  • AGENTS.md adds project-specific rules on top of the active prompt.
  • .agents/skills/<skill-name>/SKILL.md adds project-local skills that are advertised to the model.
  • .agents/<agent-name>.md adds project-local sub-agents that can be selected through the sub_agent tool.
  • .agents/mcp.json declares MCP servers whose tools are exposed to the model at startup.

See the full Customization guide for examples and behavior details.

Common Commands

pbi-agent
pbi-agent web
pbi-agent run --prompt "Summarize this PBIP project."
pbi-agent audit --report-dir .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pbi_agent-0.0.24.tar.gz (84.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pbi_agent-0.0.24-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file pbi_agent-0.0.24.tar.gz.

File metadata

  • Download URL: pbi_agent-0.0.24.tar.gz
  • Upload date:
  • Size: 84.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pbi_agent-0.0.24.tar.gz
Algorithm Hash digest
SHA256 d8efd18980a3f874dea2d3064d1ea8e292c8679645b2c11dd005b08f448442eb
MD5 bb1039fc3a9966007a0c5905ad0221f8
BLAKE2b-256 594e7ccf3b069f14f7f1581a97cf14b4cec25de001e2cddbb7d6b891566f4817

See more details on using hashes here.

File details

Details for the file pbi_agent-0.0.24-py3-none-any.whl.

File metadata

  • Download URL: pbi_agent-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pbi_agent-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f46563c905ef15ec0993cca220ffb36065da07a04561ba74504ecf9dad8e07
MD5 65629c895c91324f68e6e8b7988c8432
BLAKE2b-256 3d14007cdf83d85ff38d9d915e544f4785516cb760b5f0cd1b451d68362acc4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page