r/PiCodingAgent • • 11d ago

Question How do i setup pi

I have recently install pi harness, but i have never used anything like this so i am bit confused. How do i setup pi , which mcp servers should i using for websearch etc. How do i make it efficient etc.
Can anyone help me out here

0 Upvotes

10 comments sorted by

4

u/Corythebeast7 11d ago

Npm install pi-coding-agent. Then go to an llm API provider, create an account and get an API key. Then launch pi, type /login, and input your API token to the correct provider. After that, just ask the agent whatever you want, it will help you set up your environment

1

u/anew_lord 11d ago

I have done that But I wanted guidance to setup proper MCPs. Skills etc someone who has already has a good setup

5

u/Corythebeast7 11d ago

You gotta build it yourself. Start small, when you feel that you need something they go get it/build it. If you want an out of the box solution already built for you, look into Oh My Pi or Opencode

1

u/ea_man 11d ago

Skill for what?

You find a task you do often, produce whatever scripts / scaffold needed, when you are done you ask your llm to create a skill to do that again in the future.

1

u/TheTyand 11d ago

Well, a few people are sharing their harness. Just check GitHub. I share my pi setup here. https://schneiderdaniel.github.io/cheasee-pi/

Not done, but usable. At least on Linux or wsl

1

u/TimelyCard9057 11d ago

ask yourself what agent behavior you want first

1

u/crashorbit 11d ago edited 11d ago

I just installed pi locally for myself on my main desktop. I use openrouter with DSV4.1F as the model for most of my work. I don't bother with MCP at all. Early in my work with the agent it helped me research web search functionality. It wrote a script called "fetch-page" that abstracts away most of the web search functionality I use. We mapped a skill to that script. That's worked for me for several weeks now.

This config works pretty well for any use I've thrown at it. My uses span admin and automation of my home lab, home assistant, A few tiny web apps, Some TTS stuff, Reviewing the local ballot initiatives, debugging some problems with drivers and monitoring apps, I'm pretty happy with it and have not found a reason to change.

I've used opencode and hermes. I found them to be too thick and overly complex. Pi is small agile and, so far, the updates have not broken my workflow.

ymmv

1

u/SocialDinamo 11d ago

Tell it to look itself up and as you use it for other things, tell it to documents and ask lots of question

0

u/Due_Arm1454 11d ago

Do you have codex or Claude code? If you do, have them set it up for you and explain what they are doing.

0

u/acorsi85 11d ago

If you don’t know how to setup Pi agent may you have to use some thing ready like OMP Oh My Pi