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.25.tar.gz (85.1 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.25-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pbi_agent-0.0.25.tar.gz
  • Upload date:
  • Size: 85.1 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.25.tar.gz
Algorithm Hash digest
SHA256 1399bed65e766e6f60c5683de32cc048417dbbbfd8ad01b73316148a7bf67c2d
MD5 0c038f8a6d0419792a1db51d22157daa
BLAKE2b-256 f6f07b295b188be878ff134719463e966ebda60f60f943322bda291989a5e355

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pbi_agent-0.0.25-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.25-py3-none-any.whl
Algorithm Hash digest
SHA256 c25ac68a9f66fedd56dfa752d102104a4a5b2b567cad97310375eae6d14720f0
MD5 0e088af68aedefe862fd40a341cfe49a
BLAKE2b-256 bd6e40acbc4fac49afc2d987a7cc48d5542e2313d8234c450893834a825d1667

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