Skip to content

0.4.0

Choose a tag to compare

@dot-agi dot-agi released this 13 Mar 11:23
· 196 commits to main since this release
ef381d2
[RELEASE] `v0.4.0`  (#820)

* agentops.start_session: accept **kwargs

Signed-off-by: Teo <[email protected]>

* tests: isolate session fixtures

Signed-off-by: Teo <[email protected]>

* tests: session fixture - introduce kwargs marker

Signed-off-by: Teo <[email protected]>

* session: add auto_start property

Signed-off-by: Teo <[email protected]>

* move default_config from session->config

Signed-off-by: Teo <[email protected]>

* session/state

Signed-off-by: Teo <[email protected]>

* session: dict() and json()

Signed-off-by: Teo <[email protected]>

* session: use slots

Signed-off-by: Teo <[email protected]>

* session: improve fields

Signed-off-by: Teo <[email protected]>

* session: general improvements

Signed-off-by: Teo <[email protected]>

* telemetry/helpers: dict_to_span_attributes

Signed-off-by: Teo <[email protected]>

* cleanup

Signed-off-by: Teo <[email protected]>

* test: add tests for Session serialization and encoding

* session._tracer -> session.telemetry

Signed-off-by: Teo <[email protected]>

* save

Signed-off-by: Teo <[email protected]>

* session: logger improvements, comments

Signed-off-by: Teo <[email protected]>

* Create auto instrumentation features

Signed-off-by: Teo <[email protected]>

* Move session_generator under tests/fixtures/session.py

Signed-off-by: Teo <[email protected]>

* ++context

Signed-off-by: Teo <[email protected]>

* integration tests refactor TOOD move

Signed-off-by: Teo <[email protected]>

* telemetry: -context

Signed-off-by: Teo <[email protected]>

* Move openai instrumentation to third_party/

Signed-off-by: Teo <[email protected]>

* cleanup test_session.py

Signed-off-by: Teo <[email protected]>

* chore(pyproject): add third_party

Signed-off-by: Teo <[email protected]>

* add logging to instrumentation/__init__.py

Signed-off-by: Teo <[email protected]>

* cleanup telemetry/mixin

Signed-off-by: Teo <[email protected]>

* test client instrumentation

Signed-off-by: Teo <[email protected]>

* _singleton.py

Signed-off-by: Teo <[email protected]>

* +exceptions.py

Signed-off-by: Teo <[email protected]>

* +fixtures/config.py

Signed-off-by: Teo <[email protected]>

* cleanup tests/fixtures/event,py

Signed-off-by: Teo <[email protected]>

* cleanup tests/unit/conftest.py

Signed-off-by: Teo <[email protected]>

* test_config.py: -test_invalid_parent_key

Signed-off-by: Teo <[email protected]>

* config: +auto_init

Signed-off-by: Teo <[email protected]>

* cleanup __init__.py

Signed-off-by: Teo <[email protected]>

* client: improvements, auto start, conditional_singleton

Signed-off-by: Teo <[email protected]>

* cleanups

Signed-off-by: Teo <[email protected]>

* config / logger setup improvements

Signed-off-by: Teo <[email protected]>

* save

Signed-off-by: Teo <[email protected]>

* Update instrumentation/README.md

Signed-off-by: Teo <[email protected]>

* instrumentation: use global tracer_provider

Signed-off-by: Teo <[email protected]>

* instrumentation/openai: add copyrights - NOTICE.md, LICENSE

Signed-off-by: Teo <[email protected]>

* tests/unit/test_client.py

Signed-off-by: Teo <[email protected]>

* tests/unit/test_client.py: add session-related tests

Signed-off-by: Teo <[email protected]>

* Added Anthropic Provider

* Added Cohere Provider

* Added Groq Provider

* Added Haystack Provider

* Added Mistralai Provider

* Added Ollama Provider

* Added Crewai Provider

* Added implementation

* Removed third_party

* use `mistralai<1.0.0` for instrumentation

* chore(pyproject.toml): update mistralai version constraint to >=0.2.0,<1.0.0 according to instrumentation/mistralai `_instruments`

* config: explode kwargs, add processor & exporter

Signed-off-by: Teo <[email protected]>

* agentops/telemetry/session: hook up with config params

Signed-off-by: Teo <[email protected]>

* test_client: +exporter, processor args tests

Signed-off-by: Teo <[email protected]>

* config: dict() and json() methods

Signed-off-by: Teo <[email protected]>

* refactor(session): update config serialization method

* tests: isolate reset_instrumentation fixture

Signed-off-by: Teo <[email protected]>

* cleanup tests

Signed-off-by: Teo <[email protected]>

* agentops.init(): add tags to **kwargs, merge with default_tags

* remove parent_key concept

Signed-off-by: Teo <[email protected]>

* config: use slots

Signed-off-by: Teo <[email protected]>

* cleanup tests

Signed-off-by: Teo <[email protected]>

* tests/fixtures/instrumentation: use InMemorySpanExporter

Signed-off-by: Teo <[email protected]>

* refactor(tests): simplify mock client implementation

* Squash merge redesign-client into redesign

Signed-off-by: Teo <[email protected]>

* feat(types): add ISOTimeStamp type annotation

* refactor(session_tracer): update timestamp type annotations

* refactor session+telemetry modules structure

Signed-off-by: Teo <[email protected]>

* refactor(session): rename telemetry to mixin and update code

* session/tracer: refactor and remove concept of nonrecordingspan

Signed-off-by: Teo <[email protected]>

* remove _ession_id fallback

Signed-off-by: Teo <[email protected]>

* merge Session w/ SessionTelemetryMixin

Signed-off-by: Teo <[email protected]>

* add test.py

Signed-off-by: Teo <[email protected]>

* save

Signed-off-by: Teo <[email protected]>

* Squash merge redesign-session-client-remove-signals into redesign-old

Signed-off-by: Teo <[email protected]>

* Client HTTP Module Refactoring and Test Fixes (#714)

Client HTTP Module Refactoring and Test Fixes #714

* tests_http_client: adapt mock call assertions to client redesign

Signed-off-by: Teo <[email protected]>

* session: remove signals

Signed-off-by: Teo <[email protected]>

* remove session complexities

Signed-off-by: Teo <[email protected]>

* Move session tracer init behavior

Signed-off-by: Teo <[email protected]>

* SessionTelemetryMixin._span

Signed-off-by: Teo <[email protected]>

* move client/exporters to session/exporters

Signed-off-by: Teo <[email protected]>

* feat(config): add exporter_endpoint to configuration options

* feat(tracer): update OTLP exporter endpoint configuration

* feat(config): set default exporter endpoint value

* build: update opentelemetry dependencies in pyproject.toml

* test: replace authentication test with OpenAI test

* test_session_config

Signed-off-by: Teo <[email protected]>

* session(config) param

* test

Signed-off-by: Teo <[email protected]>

* BatchSpanProcessor

Signed-off-by: Teo <[email protected]>

* x-alex

Signed-off-by: Teo <[email protected]>

* Update .cursor/rules

Signed-off-by: Teo <[email protected]>

* Improve agentops_config, introduce root tests

Signed-off-by: Teo <[email protected]>

* Consolidate initialization and kwargs passing for AgentOps client (#729)

* Consolidate initialization and kwargs passing for AgentOps client (#721)

- Add support for custom exporters and exporter endpoints in agentops.init()
- Ensure kwargs are correctly passed downstream to Session and its components
- Update SessionTracer to handle custom exporters and endpoints
- Add tests for custom exporter configuration

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* Fix syntax errors in agentops/__init__.py

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* Fix syntax errors and address PR feedback

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* Fix syntax errors and address PR feedback for custom exporter support

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* Add validation for configure() function to prevent silently ignoring misspelled parameters

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* Fix syntax errors in core modules

- Fix import error in client/__init__.py for SessionState
- Fix property decorator error in session/__init__.py
- Fix enum errors in session/state.py with custom StrEnum implementation

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* feat: add ClassPropertyDescriptor and classproperty function

* Session.current

Signed-off-by: Teo <[email protected]>

* -test_cusotm_exporter.py

Signed-off-by: Teo <[email protected]>

* test: add unit tests for agentops.init function

* save

Signed-off-by: Teo <[email protected]>

* raise NoApiKeyException if no api key

Signed-off-by: Teo <[email protected]>

* agentops.init() to call agentops._client.init()

Signed-off-by: Teo <[email protected]>

* +InvalidApiKeyException

Signed-off-by: Teo <[email protected]>

* config: only raise InvalidApiKey if not TESTING

Signed-off-by: Teo <[email protected]>

* upgrade tests/fixtures/client.py

Signed-off-by: Teo <[email protected]>

* tests/fixtures/config.py: +mock_env, etc | Improve clean Config

Signed-off-by: Teo <[email protected]>

* tests/fixtures/config.py: +marker

Signed-off-by: Teo <[email protected]>

* tests/fixtures/config.py | fix priority order issues

Signed-off-by: Teo <[email protected]>

* test_agentops_init

Signed-off-by: Teo <[email protected]>

---------

Signed-off-by: Teo <[email protected]>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Constantin-Doru Teodorescu <[email protected]>
Co-authored-by: Teo <[email protected]>

* Add CI python-tests from main

Signed-off-by: Teo <[email protected]>

* AgentOps Decorators Implementation (#747)

* Added semconv for Semantic Conventions for AgentOps-specific span types

* Implement decorators for agent, tool, and general span tracking

* Ensure spans are created as children of the current active span

* Refactor semantic conventions: Remove unused attributes and simplify semconv modules

* Remove unused Status and AgentStatus imports from semconv module

* test agentops.decorators (#748)

* Added semconv for Semantic Conventions for AgentOps-specific span types

* Implement decorators for agent, tool, and general span tracking

* Ensure spans are created as children of the current active span

* Added comprehensive decorators example and expanded decorator tests.

* Refactor semantic conventions: Remove unused attributes and simplify semconv modules

* Remove unused Status and AgentStatus imports from semconv module

* Remove hardcoded API key from comprehensive decorators example

* bye entelligence-ai-pr-reviews

Signed-off-by: Teo <[email protected]>

* Don't override endpoint URL on config init.

* Get tests passing (#750)

* Allow installing `test` and `dev` dependencies.

* Tox config. Preserve AGENTOPS_API_KEY in tests.

* Allow passing args to tox.

* Suppress otel shutdown log messages in testing.

* Make `test_no_api_key_raises_exception` pass.

* Make `test_invalid_api_key` pass.

* Revert "Allow installing `test` and `dev` dependencies."

This reverts commit 154f6d850b252630f29864838a0fd4116758d9f7.

* Add placholder API key (valid UUID) to unit test config.

* Remove tox.

* Revert "Suppress otel shutdown log messages in testing."

This reverts commit 8e0a95076ec5a17edbd1e2b23ee465c13c2ca884.

* feat: Session ending via `__del__` method and `LiveSpanProcessor` class to ensure span export during exits (#742)

* remove cursor rules

* add `inFlightSpanProcessor` to properly export spans

* add use of `InFlightSpanProcessor` to `SessionTracer` class

* add tests

* Simplify Session class by removing setters/getters for status checking

* flush span processor if available

* use thread lock in registry

* remove `force_export` method from processor

* end the span in session

* Integrate session lifecycle and span status tests into test_session.py

* Remove span property usage in favor of direct _span attribute access

* improve tests

* fix context management in multi-threaded scenarios using thread-local storage

* fix comments

* add some more tests

* fix imports

* revert to using `hasattr`

* revert old code

* remove unused code

* remove unused exception

* remove comments

* remove cursor rules

* add `inFlightSpanProcessor` to properly export spans

* add use of `InFlightSpanProcessor` to `SessionTracer` class

* add tests

* Simplify Session class by removing setters/getters for status checking

* flush span processor if available

* use thread lock in registry

* remove `force_export` method from processor

* end the span in session

* Integrate session lifecycle and span status tests into test_session.py

* Remove span property usage in favor of direct _span attribute access

* improve tests

* fix context management in multi-threaded scenarios using thread-local storage

* fix comments

* add some more tests

* fix imports

* revert to using `hasattr`

* revert old code

* remove unused code

* remove unused exception

* remove comments

* remove `hasattr` in `telemetry.py`

* modify to `LiveSpanProcessor`

* Revert "modify to `LiveSpanProcessor`"

This reverts commit 0b80d26befa4b38f8f713ec1424f954d32784414.

* modify to `LiveSpanProcessor`

* forward telemetry calls to mixin

* return none if span not present

* use try-except block for errors

* remove `hasattr` in `session.py`

* add global level module fixture

* rename test file

* Revert "remove cursor rules"

This reverts commit 9515be960f7dbf452a0a62902a6cf9643b17fe4f.

* reset .cursor/rules/testing.mdc

Signed-off-by: Teo <[email protected]>

* force_export -> force_flush

Signed-off-by: Teo <[email protected]>

* tests/unit/test_live_span_processor.py: fix isinstance @ threading.Lock

Signed-off-by: Teo <[email protected]>

---------

Signed-off-by: Teo <[email protected]>
Co-authored-by: Teo <[email protected]>

* fix minor test warning not passing

Signed-off-by: Teo <[email protected]>

* Redesign session registry mixin (#762)

* SessionRegistryMixin

Signed-off-by: Teo <[email protected]>

* agentops.session.session + SessionRegistryMixin, delegate actions to super [start | end]

Signed-off-by: Teo <[email protected]>

A

Signed-off-by: Teo <[email protected]>

* test_session_registry

Signed-off-by: Teo <[email protected]>

---------

Signed-off-by: Teo <[email protected]>

* Session: migrate telemetry lifecycle into mixin away from session impl

* StateSessionMixin

Signed-off-by: Teo <[email protected]>

* SessionBase: remove abstractmethod from start/end (linter)

Signed-off-by: Teo <[email protected]>

* save

Signed-off-by: Teo <[email protected]>

* SessionStateProperty

Signed-off-by: Teo <[email protected]>

* SessionStatemixin

Signed-off-by: Teo <[email protected]>

* Explicit calls to the super start/end methods is one way to make this clearer. Minor fixes. Tests pass.

* I think explicitly named methods is actually clearer.

* Allow passing arbitrary states to Client; parsing happens upstream.

* Mixin doesn't need to inherit from base class.

* Restore abstract decorators.

* Add docstrings

Signed-off-by: Teo <[email protected]>

* session/README.md

Signed-off-by: Teo <[email protected]>

* proposal

Signed-off-by: Teo <[email protected]>

* todos

Signed-off-by: Teo <[email protected]>

* SDK

Signed-off-by: Teo <[email protected]>

* +decorators, + spans

Signed-off-by: Teo <[email protected]>

* tests/unit/sdk

Signed-off-by: Teo <[email protected]>

* fix: span kind super call

Signed-off-by: Teo <[email protected]>

* Remove LLMSpan

Signed-off-by: Teo <[email protected]>

* Pass all tests

Signed-off-by: Teo <[email protected]>

* New Examples

Signed-off-by: Teo <[email protected]>

New Examples

Signed-off-by: Teo <[email protected]>

* delete irrelevant test file

Signed-off-by: Teo <[email protected]>

* Squash merge tracing-dev-instrumentor into tracing

Signed-off-by: Teo <[email protected]>

* refactoring tests

Signed-off-by: Teo <[email protected]>

* Squash merge tracing-use-ao-spanattrs into tracing

Signed-off-by: Teo <[email protected]>

* add pytest-inline

Signed-off-by: Teo <[email protected]>

* test_instrumentation: use semconv and better evaluation

Signed-off-by: Teo <[email protected]>

* Revert "add pytest-inline" - causes weird deps issue

This reverts commit 6e76e25c588918d479a82f5d9736292855698c2b.

* test_instrumentation_errors: use agentops.semconv

Signed-off-by: Teo <[email protected]>

* Remove legacy session, migrate towards new sdk

Signed-off-by: Teo <[email protected]>

sdk.context decl

Signed-off-by: Teo <[email protected]>

* config.auto_start_session = False

Signed-off-by: Teo <[email protected]>

* simplify config tests

Signed-off-by: Teo <[email protected]>

* remove init tests

Signed-off-by: Teo <[email protected]>

* Merge agentops/instrumentation/__init__.py from commit 191e057adba8e335976fb06b6a97f7a3148da26c

* decorators: correctly make use of session span context

Signed-off-by: Teo <[email protected]>

* test_decorators: +tests for context propagation

Signed-off-by: Teo <[email protected]>

* delete test_integration

Signed-off-by: Teo <[email protected]>

* feat: add authenticated exporter support for tracing core

* Make HttpClient store _project_id

Signed-off-by: Teo <[email protected]>

* agentops.semconv.resource

Signed-off-by: Teo <[email protected]>

* Client init() -> prefetch JWT -> TracingCore.init -> AuthenticatedOTLPExporter

* draft

Signed-off-by: Teo <[email protected]>

* fix decorators context mgmt

Signed-off-by: Teo <[email protected]>

* examples

Signed-off-by: Teo <[email protected]>

* examples 2

Signed-off-by: Teo <[email protected]>

* utils

Signed-off-by: Teo <[email protected]>

* ++ utils

Signed-off-by: Teo <[email protected]>

* + test span utils

Signed-off-by: Teo <[email protected]>

* Rewrite testing rules

Signed-off-by: Teo <[email protected]>

* + testing rule

Signed-off-by: Teo <[email protected]>

* refactor span tests

Signed-off-by: Teo <[email protected]>

* isolate instrumentation

Signed-off-by: Teo <[email protected]>

* reuse instrumentation fixture

Signed-off-by: Teo <[email protected]>

* cleanup span utils

Signed-off-by: Teo <[email protected]>

* Deprecate immediate span processor

Signed-off-by: Teo <[email protected]>

* agent: use semconv

Signed-off-by: Teo <[email protected]>

* test_spans: update semconv

Signed-off-by: Teo <[email protected]>

* cleanup test instrumentation

Signed-off-by: Teo <[email protected]>

* test decorators: move to pytest

Signed-off-by: Teo <[email protected]>

* migrate test_factory to pytest

Signed-off-by: Teo <[email protected]>

* test_core: migrate to pytest

Signed-off-by: Teo <[email protected]>

* test_spanned: migrate to pytest

Signed-off-by: Teo <[email protected]>

* test_spans: migrate to pytest

Signed-off-by: Teo <[email protected]>

* Fix "Overriding of current TracerProvider is not allowed"

Signed-off-by: Teo <[email protected]>

* update basic_usage with agentops.init()

Signed-off-by: Teo <[email protected]>

* TracingCore.initialize_from_config: accept **kwargs

* Have AgentOps' Client() initialize TracingCore

Signed-off-by: Teo <[email protected]>

* Remove grpc client

Signed-off-by: Teo <[email protected]>

* Consolidate auth manager

Signed-off-by: Teo <[email protected]>

* uv.lock

Signed-off-by: Teo <[email protected]>

* cleanup

Signed-off-by: Teo <[email protected]>

* BatchSpanProcessor instead of LiveSpanProcessor

Signed-off-by: Teo <[email protected]>

* Change test.py with agentops.init()

Signed-off-by: Teo <[email protected]>

* Improve exporter authentication method

Signed-off-by: Teo <[email protected]>

* Configure logging in init

Signed-off-by: Teo <[email protected]>

* flowchart

Signed-off-by: Teo <[email protected]>

* fix markdown

Signed-off-by: Teo <[email protected]>

* grouped components better

* semconv

Signed-off-by: Teo <[email protected]>

* Processor: use basic InFlight

Signed-off-by: Teo <[email protected]>

* Spanned: use semconv

Signed-off-by: Teo <[email protected]>

* processor: accept **kwargs

Signed-off-by: Teo <[email protected]>

* DEBUG logging in pytest

Signed-off-by: Teo <[email protected]>

* LiveSpanProcessor to use CoreAttribute

Signed-off-by: Teo <[email protected]>

* Merge spanned into traced

Signed-off-by: Teo <[email protected]>

* update imports

Signed-off-by: Teo <[email protected]>

* finalize readme and tests

Signed-off-by: Teo <[email protected]>

* merge test spanned -> traced

Signed-off-by: Teo <[email protected]>

* convert to pytest

Signed-off-by: Teo <[email protected]>

* Squash merge dev-ctx-attach: Improve decorators context management

Signed-off-by: Teo <[email protected]>

* test auth flow example

Signed-off-by: Teo <[email protected]>

* delete old examples

Signed-off-by: Teo <[email protected]>

* new examples

Signed-off-by: Teo <[email protected]>

* ADD FIXME warning

Signed-off-by: Teo <[email protected]>

* streamline project_id parsing in Client

Signed-off-by: Teo <[email protected]>

* Squash merge dev-no-reauth into dev

Signed-off-by: Teo <[email protected]>

* remove api key param from examples

Signed-off-by: Teo <[email protected]>

* converters: uuid <> int converters

Signed-off-by: Teo <[email protected]>

* trace_id: keep as int, add trace_uuid

Signed-off-by: Teo <[email protected]>

* spans: +logger.debug

Signed-off-by: Teo <[email protected]>

* remove import for livespanprocessor

Signed-off-by: Teo <[email protected]>

* remove test spans/traced

Signed-off-by: Teo <[email protected]>

* change default exporter endpoint

Signed-off-by: Teo <[email protected]>

* add load dotenv

Signed-off-by: Teo <[email protected]>

* Agents SDK (#800)

* Agents SDK

* Update OpenTelemetry instrumentation to use AgentOps semconv

* Added Agents SDK Examples

* update example adding openai trace

Signed-off-by: Teo <[email protected]>

* opentelemetry: setup metrics

Signed-off-by: Teo <[email protected]>

* feat(span_kinds): add SESSION span kind to SpanKind class

* ye (#803)

* delete alpha spanning

Signed-off-by: Teo <[email protected]>

* utility base

Signed-off-by: Teo <[email protected]>

Base util

Signed-off-by: Teo <[email protected]>

* add decorators

Signed-off-by: Teo <[email protected]>

* client.__instance

Signed-off-by: Teo <[email protected]>

* Chop down decorators to session, agents, operation

Signed-off-by: Teo <[email protected]>

* Remove old examples

Signed-off-by: Teo <[email protected]>

* examples

Signed-off-by: Teo <[email protected]>

* rename to record

Signed-off-by: Teo <[email protected]>

* simplify decos

Signed-off-by: Teo <[email protected]>

* basic

Signed-off-by: Teo <[email protected]>

* fix imports

Signed-off-by: Teo <[email protected]>

* basic test

Signed-off-by: Teo <[email protected]>

* draft

Signed-off-by: Teo <[email protected]>

* uv lock

Signed-off-by: Teo <[email protected]>

* set current span context to parent

Signed-off-by: Teo <[email protected]>

* Rename AgentOpsSpanKind -> SpanKind

Signed-off-by: Teo <[email protected]>

---------

Signed-off-by: Teo <[email protected]>

* fix imports

Signed-off-by: Teo <[email protected]>

* spankinds

Signed-off-by: Teo <[email protected]>

* Noops for compatibility with older implementations. (#801)

* Cleanup unused functions. (#804)

Co-authored-by: Pratyush Shukla <[email protected]>

* Intercept OTEL log messages and redirect to DEBUG. (#805)

Logging interception for otel messages.

Co-authored-by: Pratyush Shukla <[email protected]>

* CrewAI example. (#806)

* CrewAI example.

* Remove crew dep installation from crew example.

---------

Co-authored-by: Pratyush Shukla <[email protected]>

* Rename `compat`. Delete `end_all_sessions`.  Default log level.  (#808)

* Set default log level. Lower instrumenation log levels. Rename compat to _compat. Remove crew dep installation from crew example.

* Remove unimplemented end_all_sessions.

* Add Streaming support for AgentsInstrumentor and update SpanKind definitions (#810)

* Add AgentsInstrumentor and update SpanKind definitions

* Added support for Agents SDK streaming

* Remove monkey patching of shutdown method from AgentsInstrumentor

* Remove debug print statement from AgentsInstrumentor and clean up initialization code

* Refactor logging in AgentsInstrumentor to use warning level for error messages and remove debug statements. This change enhances log clarity by reducing verbosity and ensuring that important warnings are highlighted.

* Added Examples for OpenAI (#811)

* Added Examples for OpenAI

* Update OpenAI examples to reference 'trace url' instead of 'session url' for tracking runs in AgentOps.

---------

Co-authored-by: Pratyush Shukla <[email protected]>

* Added Examples for CrewAI (#812)

* Added Examples for CrewAI

* Update .gitignore to include .db files and remove obsolete SQLite and binary files from examples/crewai_examples/db directory.

---------

Co-authored-by: Pratyush Shukla <[email protected]>

* Remove instrumentor support for Ollama and Haystack (#814)

* remove haystack support

* Delete groq_examples directory

* removed ollama support

* commands (#813)

* commands mod

Signed-off-by: Teo <[email protected]>

* start_span, end_span commands

Signed-off-by: Teo <[email protected]>

* Move compat to legacy

Signed-off-by: Teo <[email protected]>

* legacy: start/end session

Signed-off-by: Teo <[email protected]>

* commands: move session-related to legacy

Signed-off-by: Teo <[email protected]>

* Move facade to context

Signed-off-by: Teo <[email protected]>

* Client: auto_start_session configured with legacy

Signed-off-by: Teo <[email protected]>

* commands: start_span to implement auto init

Signed-off-by: Teo <[email protected]>

* core: refactor, remove .start_session() methods, improve exceptions

Signed-off-by: Teo <[email protected]>

* adapt examples

Signed-off-by: Teo <[email protected]>

---------

Signed-off-by: Teo <[email protected]>

* refactor: rename uuid_to_hex_int to uuid_to_int16

* add InternalSpanProcessor

Signed-off-by: Teo <[email protected]>

* Squash merge dev-internal-processor into dev

Signed-off-by: Teo <[email protected]>

* Added Anthropic examples (#817)

* Added Examples for Anthropic

* Refactor Anthropic example notebook by removing verbose debug output and updating execution count to null for cleaner presentation.

---------

Co-authored-by: Pratyush Shukla <[email protected]>

* fix: checks for `dev` before release (#818)

* remove unnecessary instrumentations

* move `test_auth_flow` to `tests/integraiton`

* remove cursor rules

* remove incomplete instrumentations from the sdk

* ignore .cursorrules

* remove `autogen` instrumentation

* ruff format code

* ruff format examples

* Added Agents SDK Examples (#819)

* Added Agents Example

* remove init from agents examples

---------

Co-authored-by: Pratyush Shukla <[email protected]>

* clean the scripts to fix ruff formatting

* ruff format

---------

Co-authored-by: Dwij <[email protected]>

* add missing anthropic example

* remove test file

* update version

* update `vcrpy` dep version

* ruff ignore E731

* update `uv.lock`

* fix video rendering

---------

Signed-off-by: Teo <[email protected]>
Co-authored-by: Teo <[email protected]>
Co-authored-by: Dwij Patel <[email protected]>
Co-authored-by: teocns <[email protected]>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Constantin-Doru Teodorescu <[email protected]>
Co-authored-by: Dwij <[email protected]>
Co-authored-by: Travis Dent <[email protected]>