Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🫡 Marvin #72

Merged
merged 5 commits into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/concepts/agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ An agent has the following key properties:
- `name` (str): The name of the agent, which serves as an identifier and is visible to other agents in the workflow.
- `description` (str, optional): A brief description of the agent's role or specialization, which is also visible to other agents.
- `instructions` (str, optional): Specific instructions or guidelines for the agent to follow during task execution. These instructions are private to the agent and not visible to other agents.
- `tools` (List[ToolType], optional): A list of tools available to the agent. Tools are Python functions that the agent can call to perform specific actions or computations.
- `tools` (List[Callable], optional): A list of tools available to the agent. Tools are Python functions that the agent can call to perform specific actions or computations.
- `user_access` (bool, default=False): Indicates whether the agent has access to user interactions. If set to `True`, the agent will be provided with the `talk_to_human` tool to communicate with users.

These properties help define the agent's characteristics, behavior, and capabilities within the flow.
Expand Down
3 changes: 1 addition & 2 deletions docs/guides/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ Here are recommendations for production settings:


```bash
# set log levels to INFO for CF and Marvin
# set log levels to INFO
CONTROLFLOW_LOGGING_LEVEL=INFO
MARVIN_LOGGING_LEVEL=INFO

# disable local (terminal) inputs for flows that take user inputs
CONTROLFLOW_ENABLE_LOCAL_INPUT=0
Expand Down
64 changes: 0 additions & 64 deletions examples/documentation.py

This file was deleted.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ authors = [
{ name = "Jeremiah Lowin", email = "153965+jlowin@users.noreply.github.com" },
]
dependencies = [
"marvin @ git+https://github.com/prefecthq/marvin@main",
"prefect[dev] @ git+https://github.com/prefecthq/prefect@main",
# can remove when prefect fully migrates to pydantic 2
"pydantic>=2",
"textual>=0.61.1",
"litellm>=1.37.17",
"jinja2>=3.1.4",
"pydantic-settings>=2.2.1",
]
readme = "README.md"
requires-python = ">= 3.9"
Expand Down Expand Up @@ -79,7 +80,7 @@ skip-magic-trailing-comma = false
"__init__.py" = ['I', 'F401', 'E402']
"conftest.py" = ["F401", "F403"]
'tests/fixtures/*.py' = ['F401', 'F403']
"src/controlflow/utilities/types.py" = ['F401']
# "src/controlflow/utilities/types.py" = ['F401']

[tool.pytest.ini_options]
timeout = 120
Expand Down
31 changes: 4 additions & 27 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ anyio==3.7.1
# via httpx
# via openai
# via prefect
# via starlette
# via watchfiles
apprise==1.7.5
# via prefect
Expand Down Expand Up @@ -50,7 +49,6 @@ bytecode==0.15.1
# via ddtrace
cachetools==5.3.3
# via google-auth
# via marvin
# via prefect
cairocffi==1.7.0
# via cairosvg
Expand Down Expand Up @@ -121,8 +119,6 @@ execnet==2.1.1
# via pytest-xdist
executing==2.0.1
# via stack-data
fastapi==0.110.0
# via marvin
filelock==3.13.3
# via huggingface-hub
# via virtualenv
Expand Down Expand Up @@ -154,7 +150,6 @@ httpcore==1.0.5
# via httpx
# via prefect
httpx==0.27.0
# via marvin
# via openai
# via prefect
# via respx
Expand Down Expand Up @@ -187,10 +182,10 @@ itsdangerous==2.1.2
# via prefect
jedi==0.19.1
# via ipython
jinja2==3.1.3
jinja2==3.1.4
# via controlflow
# via jinja2-humanize-extension
# via litellm
# via marvin
# via mike
# via mkdocs
# via mkdocs-material
Expand All @@ -203,7 +198,6 @@ jmespath==1.0.1
# via boto3
# via botocore
jsonpatch==1.33
# via marvin
# via prefect
jsonpointer==2.4
# via jsonpatch
Expand Down Expand Up @@ -237,8 +231,6 @@ markupsafe==2.1.5
# via mkdocs-autorefs
# via mkdocstrings
# via werkzeug
marvin @ git+https://github.com/prefecthq/marvin@9ff559318af3dd1185ab7d6a1e85b39967915b81
# via controlflow
matplotlib-inline==0.1.6
# via ipython
mdit-py-plugins==0.4.1
Expand Down Expand Up @@ -289,7 +281,6 @@ oauthlib==3.2.2
# via requests-oauthlib
openai==1.28.1
# via litellm
# via marvin
opentelemetry-api==1.24.0
# via ddtrace
orjson==3.10.0
Expand All @@ -304,8 +295,6 @@ paginate==0.5.6
# via mkdocs-material
parso==0.8.3
# via jedi
partialjson==0.0.7
# via marvin
pathspec==0.12.1
# via mkdocs
# via prefect
Expand All @@ -325,11 +314,10 @@ pluggy==1.4.0
# via pytest
pre-commit==3.7.0
# via prefect
prefect @ git+https://github.com/prefecthq/prefect@aad7f63ccfc7767729f65fe20b0defb208b2c451
prefect @ git+https://github.com/prefecthq/prefect@fa0ffc96b9740b6ab00a81b14b50b17285abdefb
# via controlflow
prompt-toolkit==3.0.43
# via ipython
# via marvin
protobuf==5.26.1
# via ddtrace
ptyprocess==0.7.0
Expand All @@ -347,16 +335,14 @@ pycparser==2.22
# via cffi
pydantic==2.6.4
# via controlflow
# via fastapi
# via marvin
# via openai
# via prefect
# via pydantic-settings
pydantic-core==2.16.3
# via prefect
# via pydantic
pydantic-settings==2.2.1
# via marvin
# via controlflow
pygments==2.17.2
# via ipython
# via mkdocs-material
Expand Down Expand Up @@ -458,7 +444,6 @@ respx==0.21.1
rfc3339-validator==0.1.4
# via prefect
rich==13.7.1
# via marvin
# via prefect
# via textual
# via typer-slim
Expand Down Expand Up @@ -502,15 +487,12 @@ sqlparse==0.5.0
# via ddtrace
stack-data==0.6.3
# via ipython
starlette==0.36.3
# via fastapi
text-unidecode==1.3
# via python-slugify
textual==0.61.1
# via controlflow
tiktoken==0.6.0
# via litellm
# via marvin
time-machine==2.14.1
# via pendulum
tinycss2==1.3.0
Expand All @@ -527,7 +509,6 @@ traitlets==5.14.2
# via ipython
# via matplotlib-inline
typer==0.12.0
# via marvin
# via prefect
typer-cli==0.12.0
# via typer
Expand All @@ -542,9 +523,7 @@ typing-extensions==4.10.0
# via aiosqlite
# via alembic
# via ddtrace
# via fastapi
# via huggingface-hub
# via marvin
# via mypy
# via openai
# via prefect
Expand All @@ -554,7 +533,6 @@ typing-extensions==4.10.0
# via textual
# via typer-slim
tzdata==2024.1
# via marvin
# via pendulum
tzlocal==5.2
# via dateparser
Expand All @@ -569,7 +547,6 @@ urllib3==2.2.1
# via requests
# via responses
uvicorn==0.28.1
# via marvin
# via prefect
vermin==1.6.0
# via prefect
Expand Down
Loading
Loading