automata
Automata: A self-coding agent
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.md
- feature_request.md
- on-pr-agent-config-validation.yml
- on-pr-check-black.yml
- on-pr-check-isort.yml
- on-pr-check-mypy.yml
- on-pr-pytest.yml
- on-push-build-docs.yml
- on-push-create-docker-image.yml
- on-push-nbconvert-examples.yml
- on-push-pytest-regression.yml
- test-with-codecov.yml
- .codecov.yml
- dependabot.yml
- FUNDING.yml
- __init__.py
- agent.py
- error.py
- openai_agent.py
- __init__.py
- run_agent.py
- run_agent_config_validation.py
- run_agent_eval.py
- run_code_embedding.py
- run_doc_embedding.py
- run_doc_post_process.py
- run_tool_eval.py
- __init__.py
- __main__.py
- cli_output_logger.py
- cli_utils.py
- commands.py
- env_operations.py
- install_indexing.py
- options.py
- __init__.py
- dotpath_map.py
- py_reader.py
- __init__.py
- directory.py
- __init__.py
- py_code_writer.py
- py_doc_writer.py
- __init__.py
- automata_main.yaml
- test.yaml
- __init__.py
- code_writing_payload.json
- de_duped_cleaned_single_target_search_payload.json
- demo_code_writing_payload.json
- demo_single_target_search_payload.json
- single_target_search_payload.json
- agent_introduction.yaml
- __init__.py
- agentified_search.py
- doc_generation.py
- wolfram_alpha.py
- __init__.py
- config_base.py
- formatter.py
- openai_config.py
- __init__.py
- symbol_synchronization_context.py
- __init__.py
- relational_database.py
- vector_database.py
- __init__.py
- observer.py
- singleton.py
- __init__.py
- base_error.py
- __init__.py
- ast_handlers.py
- run_handlers.py
- utils.py
- __init__.py
- embedding_base.py
- agent_eval.py
- agent_eval_composite.py
- agent_eval_database.py
- agent_eval_harness.py
- agent_eval_metrics.py
- code_writing_eval.py
- openai_function_eval.py
- __init__.py
- search_eval.py
- tool_eval.py
- tool_eval_harness.py
- tool_eval_metrics.py
- __init__.py
- eval_base.py
- eval_error.py
- __init__.py
- context_handler.py
- context_retriever.py
- context_utils.py
- __init__.py
- __init__.py
- __init__.py
- symbol_doc_embedding_handler.py
- __init__.py
- run_update_tool_eval.py
- __init__.py
- symbol_rank.py
- symbol_search.py
- __init__.py
- symbol_doc_embedding_builder.py
- __init__.py
- advanced_context_oracle_builder.py
- agentified_search_builder.py
- document_oracle_builder.py
- py_interpreter.py
- symbol_search_builder.py
- wolfram_alpha_oracle_builder.py
- __init__.py
- wolfram_alpha_oracle.py
- __init__.py
- __init__.py
- openai_llm.py
- __init__.py
- llm_base.py
- __init__.py
- conversation_database_providers.py
- symbol_code_embedding_handler.py
- __init__.py
- dependency_factory.py
- github_client.py
- py_module_loader.py
- toolkit_registry.py
- __init__.py
- graph_builder.py
- symbol_caller_callees.py
- symbol_graph.py
- symbol_graph_base.py
- symbol_graph_types.py
- symbol_navigator.py
- symbol_references.py
- symbol_relationships.py
- __init__.py
- scip_pb2.py
- symbol_base.py
- symbol_parser.py
- symbol_utils.py
- __init__.py
- symbol_embedding_base.py
- symbol_embedding_builders.py
- symbol_embedding_handler.py
- vector_databases.py
- __init__.py
- automata_task.py
- task_base.py
- task_database.py
- task_environment.py
- task_error.py
- task_executor.py
- task_registry.py
- test_agent_end_to_end.py
- test_dependencies.py
- test_symbol_searcher_regression.py
- __init__.py
- conftest.py
- test_agent_eval_actions_results.py
- test_agent_eval_database.py
- test_agent_eval_loader.py
- test_agent_eval_setup_and_execution.py
- test_agent_evaluation_harness_and_metrics.py
- test_eval_database.py
- test_payload.json
- test_agentified_search.py
- __init__.py
- test_ast_utils.py
- test_ast_utils_bounding_box.py
- __init__.py
- test_automata_agent.py
- test_automata_agent_builder.py
- test_automata_database.py
- __init__.py
- test_chroma_vector.py
- __init__.py
- test_cli_commands.py
- test_cli_env_operations.py
- test_cli_options.py
- test_cli_scripts_run_code_embedding.py
- test_cli_scripts_run_doc_embedding.py
- test_cli_scripts_run_doc_post_process.py
- test_cli_utils.py
- test_py_reader.py
- test_py_reader_tool.py
- test_py_doc_writer.py
- test_py_writer.py
- test_py_writer_tool.py
- __init__.py
- test_context_oracle_tool.py
- test_document_oracle_tool.py
- __init__.py
- test_context_handler.py
- test_context_retriever.py
- __init__.py
- test_conversation_database.py
- __init__.py
- test_database_sql.py
- test_database_vector.py
- __init__.py
- test_directory_manager.py
- test_github_client.py
- __init__.py
- test_module_loader.py
- test_py_interpreter.py
- __init__.py
- calculator3.py
- __init__.py
- calculator.py
- calculator2.py
- somefile.txt
- some_module.py
- __init__.py
- sample.py
- sample2.py
- sample3.py
- __init__.py
- test_singletons_dependency_factory.py
- test_singletons_github_client.py
- __init__.py
- test_symbol_base.py
- test_symbol_graph.py
- test_symbol_graph_static.py
- test_symbol_parser.py
- test_symbol_rank.py
- test_symbol_search.py
- test_symbol_search_tool.py
- test_symbol_similarity.py
- test_symbol_subgraph.py
- test_symbol_utils.py
- __init__.py
- test_persistent_symbol_embedding.py
- test_symbol_embedding.py
- __init__.py
- test_synchronizer.py
- __init__.py
- test_task.py
- test_task_database.py
- test_task_environment.py
- test_task_executor.py
- __init__.py
- test_tool.py
- __init__.py
- conftest.py
- test_symbol_search_eval.py
- test_tool_eval_harness_and_metrics.py
- test_tool_eval_loader.py
- test_tool_payload.json
- __init__.py
- __init__.py
- factories.py
- __init__.py
- conftest.py
- test.scip
- __init__.py
- py_reader_builder.py
- py_writer_builder.py
- __init__.py
- agent_tool_factory.py
- tool_base.py
- tool_error.py
- tool_executor.py
- __init__.py
- config.rst
- index.rst
- config.rst
- index.rst
- agent.rst
- agent_database_error.rst
- agent_general_error.rst
- agent_max_iter_error.rst
- agent_result_error.rst
- agent_stop_iteration.rst
- agent_stop_iteration_error.rst
- agent_task_general_error.rst
- agent_task_git_error.rst
- agent_task_instructions.rst
- agent_task_instructions_error.rst
- agent_task_state_error.rst
- agent_toolkit_builder.rst
- agent_toolkit_names.rst
- index.rst
- open_ai_agent_toolkit_builder.rst
- open_ai_automata_agent.rst
- open_ai_automata_agent_instance.rst
- unknown_tool_error.rst
- custom_logger.rst
- index.rst
- class_or_function_not_found.rst
- index.rst
- invalid_arguments.rst
- module_not_found.rst
- docstring_remover.rst
- index.rst
- py_doc_writer.rst
- py_reader.rst
- py_writer.rst
- index.rst
- context_component.rst
- index.rst
- py_context_handler.rst
- bounding_box.rst
- context_component.rst
- context_component_callable.rst
- docstring_remover.rst
- dot_path_map.rst
- index.rst
- line_item.rst
- py_context_retriever.rst
- py_reader.rst
- directory.rst
- directory_manager.rst
- file.rst
- index.rst
- node.rst
- index.rst
- invalid_arguments.rst
- module_not_found.rst
- statement_not_found.rst
- index.rst
- invalid_arguments.rst
- invalid_arguments_error.rst
- module_not_found.rst
- statement_not_found.rst
- statement_not_found_error.rst
- index.rst
- py_code_writer.rst
- py_doc_writer.rst
- index.rst
- config.rst
- index.rst
- config.rst
- index.rst
- config.rst
- index.rst
- template_formatter.rst
- agent_config.rst
- agent_config_builder.rst
- agent_config_name.rst
- config_category.rst
- embedding_data_category.rst
- index.rst
- instruction_config_version.rst
- llm_provider.rst
- model_information.rst
- open_ai_automata_agent_config.rst
- open_ai_automata_agent_config_builder.rst
- path_enum.rst
- serialized_data_category.rst
- template_formatter.rst
- index.rst
- symbol_provider_registry.rst
- symbol_provider_synchronization_context.rst
- index.rst
- null_connection.rst
- null_cursor.rst
- chroma_vector_database.rst
- index.rst
- json_vector_database.rst
- relational_database.rst
- sql_database.rst
- vector_database_provider.rst
- index.rst
- observer.rst
- singleton.rst
- automata_error.rst
- index.rst
- bounding_box.rst
- docstring_remover.rst
- handler_dict.rst
- import_remover.rst
- index.rst
- line_item.rst
- logging_config.rst
- root_dict.rst
- embedding.rst
- embedding_builder.rst
- embedding_handler.rst
- embedding_norm_type.rst
- embedding_similarity_calculator.rst
- embedding_vector_provider.rst
- index.rst
- agent_eval.rst
- agent_eval_composite.rst
- agent_eval_result.rst
- agent_eval_result_database.rst
- agent_eval_set_loader.rst
- agent_evaluation_harness.rst
- agent_evaluation_metrics.rst
- code_execution_error.rst
- code_writing_action.rst
- code_writing_eval.rst
- index.rst
- open_ai_function_call_action.rst
- open_ai_function_eval.rst
- variable_not_found_error.rst
- eval_execution_error.rst
- eval_loading_error.rst
- index.rst
- symbol_search_action.rst
- symbol_search_eval.rst
- symbol_search_eval_result.rst
- tool_eval.rst
- tool_eval_result.rst
- tool_eval_set_loader.rst
- tool_evaluation_harness.rst
- tool_evaluation_metrics.rst
- action.rst
- agent_eval.rst
- code_execution_error.rst
- eval.rst
- eval_execution_error.rst
- eval_loading_error.rst
- eval_result.rst
- index.rst
- variable_not_found_error.rst
- base_context_component.rst
- context_component.rst
- headline_context_component.rst
- index.rst
- interface_context_component.rst
- py_context_handler.rst
- py_context_handler_config.rst
- source_code_context_component.rst
- index.rst
- index.rst
- index.rst
- symbol_doc_embedding_handler.rst
- index.rst
- symbol_rank.rst
- symbol_rank_config.rst
- symbol_search.rst
- index.rst
- symbol_doc_embedding_builder.rst
- advanced_context_oracle_open_ai_toolkit_builder.rst
- advanced_context_oracle_toolkit_builder.rst
- agentified_search_open_ai_toolkit_builder.rst
- agentified_search_toolkit_builder.rst
- document_oracle_open_ai_toolkit_builder.rst
- document_oracle_toolkit_builder.rst
- index.rst
- search_tool.rst
- symbol_search_open_ai_toolkit_builder.rst
- symbol_search_toolkit_builder.rst
- index.rst
- index.rst
- git_hub_client.rst
- index.rst
- repository_client.rst
- action.rst
- code_execution_error.rst
- code_writing_eval.rst
- eval_result_writer.rst
- evaluation_harness.rst
- index.rst
- open_ai_code_writing_eval.rst
- open_ai_function_eval.rst
- variable_not_found_error.rst
- index.rst
- llm_empty_conversation_error.rst
- index.rst
- llm_empty_conversation_error.rst
- function_call.rst
- index.rst
- open_ai_chat_completion_provider.rst
- open_ai_chat_completion_result.rst
- open_ai_chat_message.rst
- open_ai_conversation.rst
- open_ai_embedding_provider.rst
- open_ai_function.rst
- open_ai_incorrect_message_type_error.rst
- open_ai_tool.rst
- index.rst
- llm_chat_completion_provider.rst
- llm_chat_message.rst
- llm_completion_result.rst
- llm_conversation.rst
- llm_conversation_database_provider.rst
- agent_conversation_database.rst
- index.rst
- open_ai_automata_conversation_database.rst
- symbol_code_embedding_handler.rst
- symbol_doc_embedding_handler.rst
- bounding_box.rst
- dot_path_map.rst
- index.rst
- line_item.rst
- directory.rst
- directory_manager.rst
- file.rst
- index.rst
- node.rst
- indent_manager.rst
- index.rst
- index.rst
- py_context_retriever.rst
- py_context_retriever_config.rst
- index.rst
- dependency_factory.rst
- git_hub_client.rst
- index.rst
- open_ai_automata_agent_toolkit_registry.rst
- parsing_strategy.rst
- py_module_loader.rst
- repository_client.rst
- index.rst
- py_kind.rst
- caller_callee_processor.rst
- graph_builder.rst
- graph_processor.rst
- index.rst
- reference_processor.rst
- relationship_processor.rst
- symbol_graph.rst
- symbol_graph_navigator.rst
- symbol_graph_type.rst
- index.rst
- py_kind.rst
- graph_builder.rst
- graph_processor.rst
- i_symbol_provider.rst
- index.rst
- symbol.rst
- symbol_descriptor.rst
- symbol_graph.rst
- symbol_package.rst
- symbol_reference.rst
- chroma_symbol_embedding_vector_database.rst
- i_embedding_lookup_provider.rst
- index.rst
- json_symbol_embedding_vector_database.rst
- symbol_code_embedding.rst
- symbol_code_embedding_builder.rst
- symbol_doc_embedding.rst
- symbol_doc_embedding_builder.rst
- symbol_embedding.rst
- symbol_embedding_handler.rst
- automata_agent_task_database.rst
- automata_task.rst
- automata_task_environment.rst
- automata_task_executor.rst
- automata_task_registry.rst
- environment_mode.rst
- i_automata_task_execution.rst
- i_task_execution.rst
- index.rst
- task.rst
- task_environment.rst
- task_general_error.rst
- task_instructions_error.rst
- task_state_error.rst
- task_status.rst
- index.rst
- mock_code_generator.rst
- test_execute_behavior.rst
- test_tool.rst
- test_url.rst
- index.rst
- mock_repository_client.rst
- config.rst
- index.rst
- context_oracle_open_ai_toolkit_builder.rst
- context_oracle_toolkit_builder.rst
- index.rst
- py_code_writer_open_ai_toolkit_builder.rst
- py_code_writer_toolkit_builder.rst
- py_reader_open_ai_toolkit.rst
- py_reader_open_ai_toolkit_builder.rst
- py_reader_toolkit_builder.rst
- py_writer_open_ai_toolkit_builder.rst
- py_writer_toolkit_builder.rst
- search_tool.rst
- symbol_search_open_ai_toolkit_builder.rst
- symbol_search_toolkit_builder.rst
- config.rst
- index.rst
- agent_tool_factory.rst
- i_tool_execution.rst
- index.rst
- tool.rst
- tool_execution.rst
- tool_executor.rst
- unknown_tool_error.rst
- agent_guide.rst
- conf.py
- embedding_guide.rst
- faq.json
- faq.rst
- generate_faq.py
- index.rst
- make.bat
- Makefile
- requirements.txt
- setup_guide.rst
- demo_context_oracle.ipynb
- demo_run_agent.ipynb
- demo_search.ipynb
- demo_similarity_simple.ipynb
- attention_is_all_you_need.pdf
- codebert.pdf
- codesearchnet.pdf
- codet5plus.pdf
- codexglue.pdf
- contrastive_embeddings.pdf
- cot.pdf
- evalplus.pdf
- longcoder.pdf
- react.pdf
- reflexion.pdf
- test_human_eval_model_eq_gpt-3.5-turbo-0301_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_advanced-agent-return-only_solutions.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_advanced-agent-return-only_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_advanced-agent-with-interpreter_solutions.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_advanced-agent-with-interpreter_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_bad-agent-return-only_solutions.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_bad-agent-return-only_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_vanilla-agent-return-only_solutions.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_vanilla-agent-return-only_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- test_human_eval_model_eq_gpt-4-0314_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- test_human_eval_model_eq_gpt-4-0314_temp_eq_0.7_run_mode_eq_vanilla_solutions_raw.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_advanced-agent-return-only_solutions.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_advanced-agent-return-only_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_advanced-agent-with-interpreter_solutions.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_advanced-agent-with-interpreter_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_vanilla-agent-return-only_solutions.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_vanilla-agent-return-only_solutions_imputed.jsonl
- test_human_eval_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- __init__.py
- basic_agency_study.py
- completion_provider.py
- constants.py
- human_eval_results.md
- leetcode-hard-py-40-uncontaminated_tests._reflexion_5_gpt-4-0314_pass_at_k_1_py.jsonl
- leetcode-hard-py-40-uncontaminated_tests._reflexion_5_gpt-4_0613_pass_at_k_1_py.jsonl
- leetcode-hard-py-40-uncontaminated_tests._simple_1_gpt-4-0314_pass_at_k_1_py.jsonl
- leetcode-hard-py-40-uncontaminated_tests._simple_1_gpt-4-0613_pass_at_k_1_py.jsonl
- test_leetcode_model_eq_gpt-3.5-turbo-0301_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- test_leetcode_model_eq_gpt-3.5-turbo-0613_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- test_leetcode_model_eq_gpt-4-0314_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- test_leetcode_model_eq_gpt-4-0613_temp_eq_0.7_run_mode_eq_vanilla_solutions.jsonl
- __init__.py
- agentified_solution_oracle.py
- leetcode_constants.py
- leetcode_eval_results.md
- leetcode_problem_solver.py
- leetcode_problems_loader.py
- leetcode_results.md
- leetcode_solutions_finder.py
- leetcode_test_stand.py
- run_automata_problem_solver.py
- run_embed_leetcode_problems.py
- run_replay_leetcode_responses.py
- run_vanilla_problem_solver.py
- __init__.py
- search_results.md
- similarity_search_results.jsonl
- __init__.py
- evalplus
- leetcode_hard_gym
- summaries.md
- install_indexing.sh
- regenerate_docs.sh
- regenerate_local_data.sh
- .env.example
- .envrc
- .flake8
- .gitattributes
- .gitignore
- .gitmodules
- .isort.cfg
- .nvmrc
- .pre-commit-config.yaml
- .readthedocs.yaml
- .sourcery.yaml
- automata-embedding-data
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- Dockerfile
- LICENSE
- poetry.lock
- pyproject.toml
- README.md
- scip-python
- setup.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/emrgnt-cmplxty/automata
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd automata
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
- APT (Debian/Ubuntu 계열) Debian/Ubuntu 계열 리눅스에 기본 내장된 패키지 매니저입니다.
pip3 install poetry && poetry install
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
sudo apt install gcc-11 g++-11
APT 패키지 저장소에서 바로 설치합니다 (Debian/Ubuntu 계열).
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Docker
쉬움사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
$ docker pull ghcr.io/emrgnt-cmplxty/automata:latest
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ docker run --name automata_container -it --rm -e OPENAI_API_KEY=<your_openai_key> -e GITHUB_API_KEY=<your_github_key> ghcr.io/emrgnt-cmplxty/automata:latest
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Python
쉬움사전 준비물
pip3 install poetry && poetry install
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
poetry run automata configure
이 명령어를 터미널에 그대로 입력해 실행하세요.
poetry run automata install-indexing
이 명령어를 터미널에 그대로 입력해 실행하세요.
poetry run automata run-code-embedding
이 명령어를 터미널에 그대로 입력해 실행하세요.
poetry run automata run-doc-embedding --embedding-level=2
이 명령어를 터미널에 그대로 입력해 실행하세요.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
