Skip to content

Commit d313ae6

Browse files
committed
refactor: update project structure and naming conventions for casts, replace agent references with cast terminology, and configure environment settings
1 parent 088e853 commit d313ae6

35 files changed

Lines changed: 102 additions & 162 deletions

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# Langsmith Project Tracking
66
# LangSmith is a tool for monitoring and debugging
7-
LANGSMITH_PROJECT=pseudo-entertainment-company # Project name to be used by LangSmith.
8-
LANGSMITH_API_KEY=lsv2.... # LangSmith API key (must be replaced with real key)
7+
LANGSMITH_PROJECT=act... # Project name to be used by LangSmith.
8+
LANGSMITH_API_KEY=lsv2... # LangSmith API key (must be replaced with real key)
99

1010
# Depending on the configuration you choose, you will need the following environment variables.
1111

.github/ISSUE_TEMPLATE/backlog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
name: Backlog
33
about: 백로그 산정/추가 시 사용
4-
title: "[#Team Name] Feature Name"
4+
title: "[#Crew Name] Feature Name"
55
labels: enhancement
66
assignees: ''
77

88
---
9+
910
<!--
1011
해당 백로그에 대한 브랜치를 만들어주세요.
1112
백로그 이름은 "feat/[해당 기능에 대한 이름]"으로 만들어주세요.
@@ -25,4 +26,4 @@ assignees: ''
2526
완료된 사항은 꼭 체크해놓기
2627
<!--* "최소" 기능을 기준으로 백로그를 구분하기
2728
* 기능을 구현하기 위한 작업을 순차(단계)적으로 작성해놓기
28-
* 해당 팀의 Github Project랑 연동시켜놓기-->
29+
* 해당 팀의 Github Project랑 연동시켜놓기-->

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ assignees: ''
3535
- 에러가 발생한 라이브러리/프레임워크 버전: [e.g. torchvision>0.16]
3636

3737
**비고**
38-
<!--추가 설명이 필요한 경우 해당 란에 작성해주세요.-->
38+
<!--추가 설명이 필요한 경우 해당 란에 작성해주세요.-->

.github/ISSUE_TEMPLATE/error-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ assignees: ''
4040
- Version [e.g. 22]
4141

4242
**비고**
43-
<!--추가 설명이 필요한 경우 해당 란에 작성해주세요.-->
43+
<!--추가 설명이 필요한 경우 해당 란에 작성해주세요.-->

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ PR의 변경 사항을 구체적으로 설명해주세요.
3939
<!--
4040
이 PR과 관련된 이슈나 기존 PR이 있다면 번호를 언급하고, 필요 시 close할 이슈도 명시해주세요.
4141
예: 관련 이슈 - #33, close #27
42-
-->
42+
-->

.github/workflows/lint.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/ruff.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Ruff Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ruff:
7+
strategy:
8+
matrix:
9+
python-version: ["3.13"]
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Setup Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install Dependencies and Lint with Ruff
18+
run: |
19+
curl -LsSf https://astral.sh/uv/install.sh | sh
20+
export PATH="$HOME/.local/bin:$PATH"
21+
uv venv
22+
uv pip install -r pyproject.toml
23+
uv pip install ruff
24+
uv run ruff check .

.pre-commit-config.yaml

Lines changed: 9 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,11 @@
1-
exclude: '(^|/)(\.venv|venv|node_modules|__pycache__|migrations|static|templates|\.git|\.github|\.langgraph_api|media)(/|$)|\.(env(\.example)?|gitignore)$|LICENSE|README\.md|langgraph\.json|uv\.lock'
1+
exclude: '(^|/)(\.venv|venv|node_modules|__pycache__|migrations|static|templates|\.git|\.github|\.langgraph_api|media)(/|$)|^tests(/|$)|^unit_tests(/|$)|\.(env(\.example)?|gitignore)$|LICENSE|README\.md|langgraph\.json|uv\.lock'
22

33
repos:
4-
- repo: https://github.com/astral-sh/uv-pre-commit
5-
rev: 0.6.13
6-
hooks:
7-
- id: uv-lock
8-
files: '^pyproject\.toml$'
9-
always_run: true
10-
11-
- repo: https://github.com/PyCQA/flake8
12-
rev: 7.2.0
13-
hooks:
14-
- id: flake8
15-
args:
16-
[
17-
"--max-line-length=120",
18-
"--ignore=E203,E302,W503",
19-
"--exclude=.venv,venv,node_modules,__pycache__,migrations,static,templates",
20-
]
21-
language_version: python3.13
22-
files: '^(?!.*(?:/\.venv/|/venv/|/node_modules/|/__pycache__/|/migrations/|/static/|/templates/)).*\.py$'
23-
always_run: true
24-
25-
- repo: https://github.com/psf/black
26-
rev: 25.1.0
27-
hooks:
28-
- id: black
29-
language_version: python3.13
30-
# 변경된 Python 파일에만 적용되도록 파일 필터를 지정합니다.
31-
files: '\.py$'
32-
33-
- repo: https://github.com/PyCQA/isort
34-
rev: 6.0.1
35-
hooks:
36-
- id: isort
37-
args: ["--profile=black"]
38-
language_version: python3.13
39-
# 변경된 Python 파일에만 적용되도록 파일 필터를 지정합니다.
40-
files: '\.py$'
4+
- repo: https://github.com/astral-sh/ruff-pre-commit
5+
rev: v0.12.0
6+
hooks:
7+
- id: ruff
8+
types_or: [python, pyi]
9+
args: [--fix]
10+
- id: ruff-format
11+
types_or: [python, pyi]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Pseudo Group
189+
Copyright 2025 Proact0
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Company Name
1+
# Act Name
22

33
LangGraph와 LangChain을 활용한 AI 기반 프로젝트 템플릿
44

@@ -18,17 +18,17 @@ LangGraph와 LangChain을 활용한 AI 기반 프로젝트 템플릿
1818

1919
### 시스템 요구사항
2020

21-
- Python 3.11 이상
21+
- Python 3.13 이상
2222
- uv (의존성 관리)
23-
- Flake8, Black, Isort (PEP8 스타일 포맷팅)
23+
- Ruff
2424

2525
### 설치 절차
2626

2727
#### 1. 저장소 클론
2828

2929
```bash
30-
$ git clone https://github.com/Pseudo-Group/Company-Name.git
31-
$ cd Company-Name
30+
$ git clone https://github.com/Proact0/Act-Name.git
31+
$ cd Act-Name
3232
```
3333

3434
#### 2. uv 설치 (아직 설치되지 않은 경우)
@@ -57,20 +57,20 @@ $ uv sync --all-packages
5757
$ uv sync --package <PACKAGE NAME>
5858
```
5959

60-
> ex) agent_name의 경우
60+
> ex) cast_name의 경우
6161
>
6262
> ```bash
63-
> $ uv sync --package agent_name
63+
> $ uv sync --package cast_name
6464
> ```
6565
66-
- langgraph.json에 노드 수정 (예: agent_name만 설치할 경우)
66+
- langgraph.json에 노드 수정 (예: cast_name만 설치할 경우)
6767
6868
```json
6969
{
7070
"dependencies": ["."],
7171
"graphs": {
72-
"main": "./agents/workflow.py:main_workflow",
73-
"agent_name": "./agents/agent_name/workflow.py:agent_name_workflow"
72+
"main": "./casts/workflow.py:main_workflow",
73+
"cast_name": "./casts/cast_name/workflow.py:cast_name_workflow"
7474
},
7575
"env": ".env"
7676
}
@@ -79,7 +79,7 @@ $ uv sync --package <PACKAGE NAME>
7979
#### 5. LangGraph 서버 실행
8080

8181
```bash
82-
$ uv run langgraph dev
82+
$ uvx --from "langgraph-cli[inmem]" --with-editable . langgraph dev
8383
```
8484

8585
### 서버가 실행되면 다음 URL에서 접근할 수 있습니다:
@@ -96,8 +96,8 @@ $ uv run langgraph dev
9696

9797
### 변수에 따른 값 입력 후 실행
9898

99-
-Agent`State`에 정의된 Attribute에 따라 변수를 입력합니다.
100-
- `GraphState``agents/{agent_type}/modules/state.py:{state_name}`에서 개별 관리됩니다.
99+
-cast`State`에 정의된 Attribute에 따라 변수를 입력합니다.
100+
- `GraphState``casts/{cast_type}/modules/state.py:{state_name}`에서 개별 관리됩니다.
101101

102102
**실행 화면**
103103
![](media/LangGraph_Studio_after_invoke.png)

0 commit comments

Comments
 (0)