You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] default dependencies still not installed on init #241
initializing a new project still requires the user to run uv pip install 'agentstack[<framework>]' for it to work. some people are getting very stuck on this
Just tried this with a fresh venv and I'm not able to reproduce. We write the version of agentstack to be installed to the pyproject.toml file inside the project directory (agentstack[<framework>]), and then call packaging.install_project() during agentstack init.
Is this perhaps a platform (Windows) thing?
(AgentStack) SLOMP-3:~/Work% mkdir agentstack_released
(AgentStack) SLOMP-3:~/Work% cd agentstack_released
(AgentStack) SLOMP-3:~/Work/agentstack_released% uv venv
Using CPython 3.12.7 interpreter at: /opt/homebrew/opt/python@3.12/bin/python3.12
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
(AgentStack) SLOMP-3:~/Work/agentstack_released% source .venv/bin/activate
(agentstack_released) SLOMP-3:~/Work/agentstack_released% uv pip install agentstack
Resolved 63 packages in 399ms
Prepared 8 packages in 379ms
Installed 63 packages in 61ms
+ agentops==0.3.26
+ agentstack==0.3.0
+ annotated-types==0.7.0
+ appdirs==1.4.4
+ arrow==1.3.0
+ art==6.4
+ astor==0.8.1
+ asttokens==3.0.0
+ binaryornot==0.4.4
+ blessed==1.20.0
+ certifi==2024.12.14
+ chardet==5.2.0
+ charset-normalizer==3.4.1
+ click==8.1.8
+ cookiecutter==2.6.0
+ deprecated==1.2.18
+ editor==1.6.6
+ googleapis-common-protos==1.66.0
+ idna==3.10
+ importlib-metadata==8.5.0
+ inquirer==3.4.0
+ jinja2==3.1.5
+ markdown-it-py==3.0.0
+ markupsafe==3.0.2
+ mdurl==0.1.2
+ opentelemetry-api==1.29.0
+ opentelemetry-exporter-otlp-proto-common==1.29.0
+ opentelemetry-exporter-otlp-proto-http==1.29.0
+ opentelemetry-proto==1.29.0
+ opentelemetry-sdk==1.29.0
+ opentelemetry-semantic-conventions==0.50b0
+ packaging==24.2
+ protobuf==5.29.3
+ psutil==5.9.8
+ pydantic==2.10.6
+ pydantic-core==2.27.2
+ pygments==2.19.1
+ python-dateutil==2.9.0.post0
+ python-dotenv==1.0.1
+ python-slugify==8.0.4
+ pyyaml==6.0.2
+ readchar==4.2.1
+ requests==2.32.3
+ rich==13.9.4
+ ruamel-yaml==0.18.10
+ ruamel-yaml-base==0.3.2
+ ruamel-yaml-clib==0.2.12
+ runs==1.2.2
+ shellingham==1.5.4
+ six==1.17.0
+ termcolor==2.4.0
+ text-unidecode==1.3
+ toml==0.10.2
+ tomli==2.2.1
+ typer==0.15.1
+ types-python-dateutil==2.9.0.20241206
+ typing-extensions==4.12.2
+ urllib3==2.3.0
+ uv==0.5.24
+ wcwidth==0.2.13
+ wrapt==1.17.2
+ xmod==1.8.1
+ zipp==3.21.0
(agentstack_released) SLOMP-3:~/Work/agentstack_released% agentstack init test_project --framework=langgraph
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
/\ \ /\ \ /\ \ /\__\ /\ \ /\ \ /\ \ /\ \ /\ \ /\__\
/::\ \ /::\ \ /::\ \ /:| _|_ \:\ \ /::\ \ \:\ \ /::\ \ /::\ \ /:/ _/_
/::\:\__\ /:/\:\__\ /::\:\__\ /::|/\__\ /::\__\ /\:\:\__\ /::\__\ /::\:\__\ /:/\:\__\ /::-"\__\
\/\::/ / \:\:\/__/ \:\:\/ / \/|::/ / /:/\/__/ \:\:\/__/ /:/\/__/ \/\::/ / \:\ \/__/ \;:;-",-"
/:/ / \::/ / \:\/ / |:/ / \/__/ \::/ / \/__/ /:/ / \:\__\ |:| |
\/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \|__|
----------------------------------------------------
The easiest way to build a robust agent application!
----------------------------------------------------
🦾 Creating a new AgentStack project...
Using project directory: /Users/tcdent/Work/agentstack_released/test_project
Using framework: langgraph
Creating virtual environment...
Using CPython 3.12.7 interpreter at: /opt/homebrew/opt/python@3.12/bin/python3.12
Creating virtual environment at: .venv
Installing dependencies...
Resolved 93 packages in 148ms
Prepared 1 package in 800ms
Installed 93 packages in 202ms
Added task "hello_world" to your AgentStack project successfully!
Resolved 109 packages in 113ms
Prepared 1 package in 63ms
Installed 7 packages in 7ms
Added agent "alex" to your AgentStack project successfully!
Adding tool file_read to agent alex
🔨 Tool file_read added to agentstack project successfully
🚀 AgentStack project generated successfully!
To get started, activate the virtual environment with:
cd test_project
source .venv/bin/activate
Run your new agent with:
agentstack run
Or, run `agentstack quickstart` or `agentstack docs` for more next steps.
(agentstack_released) SLOMP-3:~/Work/agentstack_released% cd test_project
(agentstack_released) SLOMP-3:~/Work/agentstack_released/test_project% source .venv/bin/activate
(test_project) SLOMP-3:~/Work/agentstack_released/test_project% agentstack run
Running your agent...
🖇 AgentOps: Session Replay: https://app.agentops.ai/drilldown?session_id=e192e2a0-c23c-45db-aad8-f2f7d68fefb8
hello_world:
This is the expect criteria for your final answer: The sentence Hello, World! followed by two things the user should try to customize their agent further.
you MUST return the actual complete content as the final answer, not a summary.
Current Task: As is tradition in software, let's start by saying 'Hello, World!'. Then, pick one or two tasks that they should try to do next with AgentStack.
[truncated]
Activity
tcdent commentedon Jan 28, 2025
Just tried this with a fresh venv and I'm not able to reproduce. We write the version of agentstack to be installed to the
pyproject.tomlfile inside the project directory (agentstack[<framework>]), and then callpackaging.install_project()duringagentstack init.Is this perhaps a platform (Windows) thing?
tcdent commentedon Jan 28, 2025
Are people not running
source .venv/bin/activateafter creating a project? That would cause this issue.braelyn-ai commentedon Jan 28, 2025
ive got it replicated! working on a solution now and will upgrade the dependencies at the same time
tcdent commentedon Feb 5, 2025
This is resolved, right?