Commit Graph

145 Commits

Author SHA1 Message Date
Roberto Rodriguez a475687445
Merge pull request #185 from sicoyle/tweak-da-workflow
fix(tracing): enable tracing on durable agent + add quickstart
2025-09-04 16:14:26 -04:00
Samantha Coyle 6e6ff447be
style: make linter happy
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-09-04 09:01:31 -05:00
Samantha Coyle dde2ab0d2c
fix: add method i missed
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-09-02 13:16:49 -05:00
Samantha Coyle 99defbabe1
Merge branch 'main' into tweak-da-workflow 2025-09-02 13:01:27 -05:00
Yaron Schneider fbb3bfd61f
change agents version in quickstarts (#190)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-08-31 12:06:26 -04:00
Yaron Schneider 224c61c6c2
Merge branch 'main' into tweak-da-workflow 2025-08-30 16:15:52 -07:00
Yaron Schneider d4e6c76353
Fix hang after multiple .run() calls (#189)
* fix hang after multiple .run() calls

Signed-off-by: yaron2 <schneider.yaron@live.com>

* linter

Signed-off-by: yaron2 <schneider.yaron@live.com>

---------

Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-08-30 18:56:16 -04:00
Samantha Coyle 423de2a7a1
fix: update for tests to pass
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-27 10:43:28 -04:00
Samantha Coyle 00e0863bef
style: add file i missed for formatting
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-27 08:04:44 -04:00
Samantha Coyle 4b081c6984
style: tox -e ruff
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-27 08:01:08 -04:00
Samantha Coyle e31484dde3
style: update readme with durable agent tracing quickstart too
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-27 07:54:04 -04:00
Samantha Coyle 54d40dbcdb
fix(tracing): enable tracing on durable agent + quickstart
Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-26 16:00:12 -04:00
Sam 649d45fa2e
docs: rm our repo dapr docs as in 1.16 preview now (#178)
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-08-13 15:56:38 -07:00
Sam e03dfefcc6
fix: speed up deps installed + handle errs in quickstarts better (#177)
* fix: speed up deps installed + handle errs in quickstarts better

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* docs: update docs to use uv too

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* docs: add mapping on cmds for myself

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-13 15:47:20 -07:00
Roberto Rodriguez 3ef87c28e6
fix: correct Pydantic type generation for anyOf/oneOf in MCP tool schemas (#176)
* fix: handle anyOf/oneOf in JSON Schema to generate correct Pydantic types for MCP tools

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* fix: Lint

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* fix: omit None values when serializing tool args to avoid sending nulls for non-nullable fields

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updated dependency

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
2025-08-13 12:10:26 -07:00
Roberto Rodriguez d325cc07de
Update Tool Execution Final Message and Dependencies (#175)
* Update final message when max iteration hits in durable agent

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update dependencies

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Fix lint

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update testenv deps to include vectorstore

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
2025-08-11 12:15:13 -07:00
Albert Callarisa 249ea5ec43
Add partition key to state operations (#173)
Signed-off-by: Albert Callarisa <albert@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-08-05 16:28:35 -07:00
Roberto Rodriguez dce6623150
Workflow App updates to Register Tasks and LLM client Fix (#172)
* Update quickstarts

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update stream parameter in LLM generation

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update initialization of LLM client for agent base

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Switch comment to debug logging

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Improve logic to handle api key and other parameters in openai clients

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Add Workflow register_task method

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Fix lint errors

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update version

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
2025-08-01 21:07:26 -07:00
Yaron Schneider ea0d33cb1a
Add observability quickstarts (#171)
* added tracing quickstart

Signed-off-by: yaron2 <schneider.yaron@live.com>

* add next steps

Signed-off-by: yaron2 <schneider.yaron@live.com>

* update versions

Signed-off-by: yaron2 <schneider.yaron@live.com>

* linter

Signed-off-by: yaron2 <schneider.yaron@live.com>

---------

Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-08-01 16:02:36 -07:00
Roberto Rodriguez 963cef6cb9
Observability Module with OpenTelemetry and Phoenix Integration (#168)
* add condition for opentelemetry import

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* feat: add observability optional dependencies and update lock file

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* feat: add observability dapr agents module

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* add and update quickstarts to show new observability module

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* style: fix ruff linting and formatting issues across codebase

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* style: fix flake8 linting issues

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* config: ignore mypy errors for optional observability module

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updtate Workflow Task to use Agent instances without a task description

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update tool_choice in Agent flow to not be part of chat completion request if not set

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Remove comments ;)

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update quickstarts README

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update tool_choice to not be added to chat completion request if not set

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Add quickstart to show agents as tasks with tracing and multi-model

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* style: fix ruff linting and formatting issues across codebase

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-08-01 11:44:55 -07:00
Sam 0a0dd31fc1
fix: bump us to numpy 2.X to fix user err on discord (#170)
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-08-01 08:32:35 -07:00
Sam 454b0c23ee
refactor: rm check on if dapr is running for durableagent (#169)
* style: clean up unused openapi stuff leftover

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: only warn if dapr is found unavailable on localhost

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: tox -e ruff

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: more clena up to rm it

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(tests): rm test deps on dapr

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-08-01 08:15:26 -07:00
Yaron Schneider d993f9090b
update quickstarts dependencies (#166)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-07-28 13:52:37 -07:00
Yaron Schneider f2d6831ea2
Refactor LLM Workflows and Orchestrators for Unified Response Handling and Iteration (#163) (#165)
* Refactor ChatClientBase: drop Pydantic inheritance and add typed generate() overloads



* Align all LLM chat clients with refactored base and unified response models



* Unify LLM utils across providers and delegate streaming/response to provider‑specific handlers



* Refactor LLM pipeline: add HuggingFace tool calls, unify chat client/response types, and switch DurableAgent to loop‑based workflow



* Refactor orchestrators with loops and unify LLM response handling using LLMChatResponse



* test remaining quickstarts after all changes



* run pytest after all changes



* Run linting and formatting checks to ensure code quality



* Update logging, Orchestrator Name and OTel module name



---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
Co-authored-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
2025-07-28 13:31:53 -07:00
Roberto Rodriguez 3e767e03fb
Refactor agent workflows, orchestrators, and integrations for reliability and modularity (#161)
* Remove cookbook to avoid confusion

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update Hugging Face integration and quickstart to use SmolLM3-3B model

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor Agent and AgentBase for improved tool execution, prompt handling, and message metadata

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor workflow features into mixins for messaging, pub/sub, state management, and service logic

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor DurableAgent for improved workflow state, tool execution, and message handling

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor workflow base and AgenticWorkflow to modularize Dapr integration and delegate service/state logic to mixins

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update text printer logic to flush messages

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Split Workflow decorators for better organization.

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor ConversationDaprStateMemory to return full message objects and improve logging.

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor VectorStoreBase to return document IDs

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Refactor orchestrators to standardize broadcast messages, unify decorator imports, and improve workflow robustness

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Test quickstarts to validate all changes and update main README

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Set broadcast_topic_name to None to disable broadcasting

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Improve package exports and clean up imports for linter compliance

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Fix code style and lint errors flagged by Ruff

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Fix mypy type errors and improve

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Fix lint errors and code style issues with ruff

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* fix mypy attr-defined and call-arg errors

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* fix lint errors and code style issues

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* mypy type errors

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updated test state class to DurableAgentWorkflowEntry

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Fix mypy errors

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Set DurableAgent to not broadcast messages by default and clarified dapr client private attribute in agentic workflow

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update tests with latest changes

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Minor updates identified while working on test files

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Clarify AgentTool use in docstrings

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Centralize tool_history and tool_choice in AgentBase and unify tool execution record schema for tool_history

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* fix mypy errors

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update dapr_agents/agents/base.py

Update default basic agent prompt

Co-authored-by: Sam <sam@diagrid.io>
Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Update quickstarts/03-durable-agent-tool-call/durable_weather_agent.py

Update durable weather agent with the right comments

Co-authored-by: Sam <sam@diagrid.io>
Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
Co-authored-by: Sam <sam@diagrid.io>
2025-07-28 07:40:58 -07:00
Bilgin Ibryam 1c832636eb
fix: dump to 0.6.1 and add missing requirements.txt files to fix streamablehttp quickstart (#156) (#160)
Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
2025-07-22 16:46:33 -07:00
Roberto Rodriguez 3bd6c99506
ElevenLabs Python SDK updates and advanced TTS support (#154)
* refactor: update ElevenLabsSpeechClient to use new SDK API and support advanced TTS features

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* chore: fix lint and style issues for ruff

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Added ElvenLabs client Test

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-07-20 19:29:28 -07:00
Bilgin Ibryam 6d9b26bce6
Fix #157: Upgrade quickstarts to dapr-agents 0.6.0 and apply minor fixes (#158)
* Fix #157: Upgrade quickstarts to dapr-agents 0.6.0 and apply minor fixes

* Fix failing build
2025-07-17 22:08:41 -07:00
Roberto Rodriguez 19e2caa25f
Enable Streamable HTTP Transport for MCP Client v2 (#153)
* Updated MCP support for stdio and sse and enabled Streamable HTTP

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* chore: fix lint and style issues for ruff

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updated MCP Cookbook README with suggestions

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updated Cookbook MCP Servers names for clarity

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updated Cookbook MCP code to reflect changes

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Updated Cookbook MCP server name

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Added initial MCP StreamableHTTP tests

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Apply ruff lint fixes to test_mcp_streamable_http.py

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

* Remove redundant inner import of json in mock_mcp_session to fix flake8 F811

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>

---------

Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
2025-07-11 20:07:56 -07:00
Sam 5b9e5385af
fix(bug): handle graceful shutdown signals across platforms (#152)
* fix(bug): handle graceful shutdown signals across platforms

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: test clean up for reliability

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): tox -e ruff fix

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): make tox -e type happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: actually fix tox type issues

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): properly quote lint results

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): prevent shadowed imports for tests

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: push file i missed oops

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* revert: allow the tests to be ran async again

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-07-09 14:23:19 -07:00
Sam caaad181ce
docs: unified agent types (#148)
* fix: see if this fixes the build

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* docs: document unified agent types

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: rm stray commit

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-07-09 13:27:05 -07:00
Sam 8f7b9f5df3
feat: provide type hints and better DX for new community members/users (#143)
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-07-07 08:35:32 -07:00
Sam 6d55c383b9
feat: unify agent types (#139)
* style: save my todo comments

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* feat: unify agent types and save my wip

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* feat: save as i got 03 poc quickstart working

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* feat: add durable agent examples and fixes

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(bug): support both template formats

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(bug): support our custom format with vars inline

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* feat: agent + durableagent types, new cfg class, updated quickstarts/docs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: some clean up

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: more clean up on things reviewing my pr

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: just more clean up of logs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: update docs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: actorAgent -> assistantAgent and rm actoragent

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* test: add init test setup and cases

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* feat: save an ex i created for what openapi agent looks like

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: rm up openapi react agent ex

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: more clean up for now

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* refactor: rm openapireact + react agents

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* refactor: mv durable agent with agent

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: update imports

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* refactor: make agent + durable agent use same base class + rm config for now

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* tests: add some init tests

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: use tcp conn instead of app layer

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* tests: add agent class tests + some clean up

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* tests: add durableagent class tests

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: acct for linter errs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: run ruff

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: address many tox -e type errs, fix class inheritance mvment, replace generic data types with specific types

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: final type fix

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: update docs on new quickstarts

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: tox -e ruff + clean up comments

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: update for tox -e flake8

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: clean up print outs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* tests: make things testable and fix some existing test errs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: clean up quickstarts, add tests i forgot earlier

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: last few fixes

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: tox -e ruff

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): acct for build errs

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: add tox ini file

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: fix linter

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: acct for posthog breaking change

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: address feedback

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: push test fixes

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: rm actor references

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: tox -e ruff

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(quickstart): use local agent updates

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: tox -e flake8 fixes

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: style dirs we want

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): install test deps properly

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: see if this fixes build err

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(cookbook): update one more reqs file to use local agent deps instead of old release tag

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: register agent properly in db

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: rm duplicate quickstart sample

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: ruff check --fix .

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-07-07 07:36:23 -07:00
Sam 6509906088
chore: add standard dapr comm and repo cfg files (#138)
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-07-01 07:09:13 -07:00
Sam cee485fbad
test: init test setup and some tests + dev docs and proper setup with pyproject.toml (#137)
* test: add init tests and setup for tests

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: clean up unused / autogen files now

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: ignore req files that we can now autogen

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): pin deps

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: update doc ordering

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): update imports

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-06-30 14:36:05 -07:00
Sam 9c8126bcb3
feat: add readme + imgs + todos + cleanup (#136)
* feat: add readme + imgs + todos + cleanup

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: lint things

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix: address feedback

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: rm comment

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: update comments

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* fix(build): tox -e ruff

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-06-30 14:32:40 -07:00
Filinto Duran c2eff2b971
use glob pattern for docs (#134)
* update, remove using library for mkdocs, use glob properly, do not run deploy on PR

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>

* simplify if

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>

---------

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
2025-06-12 13:45:31 -07:00
Sam c4b1f7c441
fix: some random quickstart issues (#127)
* fix(quickstarts): general fixes for DX on quickstarts

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: clean this up for now

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
2025-06-11 11:30:46 -07:00
Marc Duiker f87e27f450
Fix docs_any_changed (#123)
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-05-29 13:22:51 -07:00
Bilgin Ibryam 1e5275834d
Dapr university preparation (#122)
* Created an example with dapr-based conversation history agent

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>

* Added a new example with AssistantAgent

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>

* Fix for linting errors

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>

---------

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-05-29 13:19:28 -07:00
Bilgin Ibryam b7b4a9891e
Reorganize MCP quickstart examples and add SSE implementation (#120)
Updated references to align with namechange



Fix code formatting with ruff

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-05-29 13:16:16 -07:00
Yaron Schneider 2fd44b3ecc
fix code of conduct (#125)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2025-05-23 12:35:31 -07:00
Yaron Schneider 2757aab5b6
Revert "Reorganize quickstart examples and added MCP implementation" (#124) 2025-05-23 08:13:19 -07:00
Marc Duiker d86a4c5a70
Merge pull request #112 from dapr/mcp-quickstart
Reorganize quickstart examples and added MCP implementation
2025-05-23 16:25:23 +02:00
Bilgin Ibryam 83fc449e39 Fix code formatting with ruff 2025-05-20 16:55:20 +01:00
Yaron Schneider 94bf5d2a38
Merge branch 'main' into mcp-quickstart 2025-05-12 08:45:41 -07:00
Bilgin Ibryam 8741289e7d
Added brief MCP support explanation (#116)
* Added brief MCP support explanation

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>

* Update docs/concepts/agents.md

Co-authored-by: Casper Nielsen <scni@novonordisk.com>
Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>

---------

Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
Co-authored-by: Casper Nielsen <scni@novonordisk.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2025-05-12 08:44:19 -07:00
Casper Nielsen 41faa4f5b7
Chore: Bump mcp == 1.7.1 (#114)
Signed-off-by: Casper Guldbech Nielsen <scni@novonordisk.com>
2025-05-08 15:27:21 -07:00
Bilgin Ibryam 76ad962b69
Updated references to align with namechange
Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
2025-05-03 10:02:00 +01:00
Bilgin Ibryam 28ac198055
Reorganize MCP quickstart examples and add SSE implementation
Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
2025-05-02 21:53:57 +01:00