.gitignore
.mailmap
.pre-commit-config.yaml
.python-version
.secrets.allowlist
LICENSE
README.md
pyproject.toml
uv.lock
.github/renovate.json5
.github/workflows/codeflash.yml
.github/workflows/publish.yml
.github/workflows/tests.yml
ldp/__init__.py
ldp/data_structures.py
ldp/main.py
ldp/py.typed
ldp/shims.py
ldp/utils.py
ldp/version.py
ldp.egg-info/PKG-INFO
ldp.egg-info/SOURCES.txt
ldp.egg-info/dependency_links.txt
ldp.egg-info/requires.txt
ldp.egg-info/top_level.txt
ldp/agent/__init__.py
ldp/agent/agent.py
ldp/agent/agent_client.py
ldp/agent/interactive_agent.py
ldp/agent/memory_agent.py
ldp/agent/react_agent.py
ldp/agent/simple_agent.py
ldp/agent/tree_of_thoughts_agent.py
ldp/alg/__init__.py
ldp/alg/algorithms.py
ldp/alg/beam_search.py
ldp/alg/callbacks.py
ldp/alg/datasets.py
ldp/alg/rollout.py
ldp/alg/runners.py
ldp/alg/tree_search.py
ldp/alg/optimizer/__init__.py
ldp/alg/optimizer/ape.py
ldp/alg/optimizer/memory.py
ldp/alg/optimizer/opt.py
ldp/alg/optimizer/replay_buffers.py
ldp/graph/__init__.py
ldp/graph/async_torch.py
ldp/graph/common_ops.py
ldp/graph/gradient_estimators.py
ldp/graph/loss_ops.py
ldp/graph/memory.py
ldp/graph/op_utils.py
ldp/graph/ops.py
ldp/graph/torch_ops.py
ldp/graph/modules/__init__.py
ldp/graph/modules/llm_call.py
ldp/graph/modules/react.py
ldp/graph/modules/reflect.py
ldp/graph/modules/thought.py
ldp/llms/__init__.py
ldp/llms/chat.py
ldp/llms/embeddings.py
ldp/llms/prompts.py
tests/.gitignore
tests/__init__.py
tests/conftest.py
tests/test_agents.py
tests/test_algorithms.py
tests/test_buffers.py
tests/test_context_managers.py
tests/test_data_structures.py
tests/test_embeddings.py
tests/test_envs.py
tests/test_gradients.py
tests/test_llms.py
tests/test_loss_ops.py
tests/test_memory.py
tests/test_modules.py
tests/test_ops.py
tests/test_optimizer.py
tests/test_prompts.py
tests/test_rollouts.py
tests/test_runners.py
tests/test_shims.py
tests/test_torch_ops.py
tests/cassettes/TestAgentState.test_no_state_mutation[agent0].yaml
tests/cassettes/TestAgentState.test_no_state_mutation[agent1].yaml
tests/cassettes/TestAgentState.test_no_state_mutation[agent2].yaml
tests/cassettes/TestHTTPAgentClient.test_lifecycle.yaml
tests/cassettes/TestLLMCallOp.test_compute_logprob[0.0].yaml
tests/cassettes/TestLLMCallOp.test_compute_logprob[0.5].yaml
tests/cassettes/TestLLMCallOp.test_compute_logprob[1.0].yaml
tests/cassettes/TestLLMCallOp.test_cost_tracking.yaml
tests/cassettes/TestLLMCallOp.test_empty_tools.yaml
tests/cassettes/TestLLMModel.test_model[claude-3-haiku-20240307].yaml
tests/cassettes/TestLLMModel.test_model[gpt-3.5-turbo].yaml
tests/cassettes/TestLLMModel.test_output_schema.yaml
tests/cassettes/TestLLMModel.test_parameterizing_tool_from_arg_union.yaml
tests/cassettes/TestLLMModel.test_streaming[claude-3-haiku-20240307].yaml
tests/cassettes/TestLLMModel.test_streaming[gpt-3.5-turbo].yaml
tests/cassettes/TestLLMModel.test_text_image_message[claude-3-haiku-20240307].yaml
tests/cassettes/TestLLMModel.test_text_image_message[gpt-4-turbo].yaml
tests/cassettes/TestLLMModel.test_text_image_message[gpt-4o-mini-2024-07-18].yaml
tests/cassettes/TestLiteEmbeddingModel.test_caching.yaml
tests/cassettes/TestMemoryAgent.test_agent_grad.yaml
tests/cassettes/TestMemoryAgent.test_dummyenv[gpt-4o-mini-2024-07-18].yaml
tests/cassettes/TestMemoryOpt.test_lessons_memory_optimizer.yaml
tests/cassettes/TestMultipleCompletionLLMModel.test_model[gpt-3.5-turbo].yaml
tests/cassettes/TestMultipleCompletionLLMModel.test_output_schema.yaml
tests/cassettes/TestMultipleCompletionLLMModel.test_parameterizing_tool_from_arg_union.yaml
tests/cassettes/TestMultipleCompletionLLMModel.test_text_image_message[gpt-4o-mini-2024-07-18].yaml
tests/cassettes/TestParallelism.test_SimpleAgent_can_parallel_call.yaml
tests/cassettes/TestReActAgent.test_agent_grad[claude-3-haiku-20240307].yaml
tests/cassettes/TestReActAgent.test_agent_grad[gpt-4-turbo].yaml
tests/cassettes/TestReActAgent.test_react_dummyenv[claude-3-haiku-20240307].yaml
tests/cassettes/TestReActAgent.test_react_dummyenv[gpt-4-turbo].yaml
tests/cassettes/TestSimpleAgent.test_agent_grad[claude-3-haiku-20240307].yaml
tests/cassettes/TestSimpleAgent.test_agent_grad[gpt-4o-mini-2024-07-18].yaml
tests/cassettes/TestSimpleAgent.test_dummyenv[claude-3-haiku-20240307].yaml
tests/cassettes/TestSimpleAgent.test_dummyenv[gpt-4o-mini-2024-07-18].yaml
tests/cassettes/test_beam_search.yaml
tests/cassettes/test_embedding_op[text-embedding-3-large-0-256].yaml
tests/cassettes/test_embedding_op[text-embedding-3-large-0-512].yaml
tests/cassettes/test_embedding_op[text-embedding-3-large-32-256].yaml
tests/cassettes/test_embedding_op[text-embedding-3-large-32-512].yaml
tests/cassettes/test_embedding_op[text-embedding-3-large-64-256].yaml
tests/cassettes/test_embedding_op[text-embedding-3-large-64-512].yaml
tests/cassettes/test_embedding_op[text-embedding-3-small-0-256].yaml
tests/cassettes/test_embedding_op[text-embedding-3-small-0-512].yaml
tests/cassettes/test_embedding_op[text-embedding-3-small-32-256].yaml
tests/cassettes/test_embedding_op[text-embedding-3-small-32-512].yaml
tests/cassettes/test_embedding_op[text-embedding-3-small-64-256].yaml
tests/cassettes/test_embedding_op[text-embedding-3-small-64-512].yaml
tests/cassettes/test_llm_call_graph.yaml
tests/cassettes/test_offline_trainer[False].yaml
tests/cassettes/test_offline_trainer[True].yaml
tests/cassettes/test_online_trainer[False].yaml
tests/cassettes/test_online_trainer[True].yaml
tests/cassettes/test_reflect_module.yaml
tests/cassettes/test_rollout[False].yaml
tests/cassettes/test_rollout[True].yaml