Skip to main content

AI agent for installing tools and running projects.

Project description

Setup Agent

AI Agent responsible for installing all the necessary tools and dependencies and running the app, built with Python and LangGraph.

Getting started

Development environment

  1. Install uv according to the Astral docs
  2. In your terminal run the following commands:
uv sync # install all dependencies
uv run pre-commit install # install pre-commit hooks

For the testing purposes, run:

source .venv/bin/activate
python src/cli/app.py setup run

CLI

In order to install the CLI globally, use provided installation scripts:

uv build # or ./scripts/build.sh
./scripts/install.sh

Then you can use the tool globally by running:

setup-agent setup run

In order to uninstall the tool globally:

./scripts/uninstall.sh

Usage

Environment variables

To make the tool working you will need 2 API keys:

  • TAVILY_API_KEY - key for Tavily (web search layer for agents)
  • an API key for your LLM provider, e.g OPENAI_API_KEY for OpenAI models (i.e. gpt-4o) or ANTHROPIC_API_KEY for Anthropic models (i.e. claude-sonnet-4-5). For full list of possible integrations, please check out these Langchain docs (and make sure to install langchain package for given provider using uv if you're using provider other than OpenAI or Anthropic).

The easiest way to use the tool is to add these 2 API keys to the .env file located where the cli is used:

# .env
TAVILY_API_KEY=...
OPENAI_API_KEY=...
ANTHROPIC_API_KEY=...

For extended debugging and tool usage metrics, please consider adding these Langsmith related variables:

# .env
LANGSMITH_TRACING=...
LANGSMITH_ENDPOINT=...
LANGSMITH_API_KEY=...
LANGSMITH_PROJECT=...

Configuration options

The CLI runs an interactive script that allows user to configure everything and define the problem:

Option Type Description Default Required
Project root str Path to the root of the project (needs to be a valid directory) Current directory Yes
Guideline files List[str] Optional list of guideline files. If no guidelines files are specified at this point, agent will suggest all relevant files to the user. - No
Task str Predefined goal to achieve by the agent. If task is not defined, agent will suggest some tasks to the user. - No
Model str LLM model to be used as a core reasoning model. For a full list of available models check out these Langchain docs anthropic:claude-sonnet-4-5 No

The script allows for optional, extended model configuration as well:

Option Type Description Default Required
Temperature float Controls randomness of the model. Must be a number between 0.0 and 1.0 Model's default value No
Max output tokens int Max output tokens of the model. Model's default value No
Timeout int Timeout for LLM calls in seconds. Model's default value No
Max retries int Max number of retries for LLM calls. Model's default value No

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

setup_agent-0.2.0.tar.gz (89.2 kB view details)

Uploaded Source

Built Distribution

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

setup_agent-0.2.0-py3-none-any.whl (134.7 kB view details)

Uploaded Python 3

File details

Details for the file setup_agent-0.2.0.tar.gz.

File metadata

  • Download URL: setup_agent-0.2.0.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for setup_agent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2f153a545b88fa175c0995058f509cc0c0e42b2f96d1f5a70e39f3e5264883fb
MD5 1afaf7e200bb2f36e2f0f4cd34f02f2a
BLAKE2b-256 ecda1097b0a5fe8d58eb7807ccad0b3b0465240b6b38e6a9bf37fff74a7df607

See more details on using hashes here.

File details

Details for the file setup_agent-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for setup_agent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe4461fe8a167863df2c28c0e640c4203ca88a01bcb9103bf83d491272c5af83
MD5 80a921c38f214283a3db80de4841c146
BLAKE2b-256 18c9787c2027128a6ae1560f076f84256617c442b0846d128faaccb70b8cdb60

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