Skip to content

Commit dfc02a2

Browse files
committed
docs: noted some ideas and TODOs
1 parent b6d2b78 commit dfc02a2

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

nerve/cli/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
cli.add_typer(replay_cli)
2020
cli.add_typer(namespaces_cli)
2121

22+
# TODO Workflows 2.0: shared events bus (IPC and network) for multiple agents (one input variable = one event).
23+
# Tools:
24+
# advertise: ask the agent to advertise itself on the events bus
25+
# request: allow the agent to request something from another agent
26+
# respond: allow the agent to respond to a request
27+
# at every step the agent goes requests = bus.query()
28+
# TODO: browser-use: each interactable html generates tools at runtime.
29+
2230

2331
@cli.command(
2432
context_settings={"help_option_names": ["-h", "--help"]},

nerve/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ class Configuration(BaseModel):
6464
# legacy field used to detect if the user is loading a legacy file
6565
system_prompt: str | None = Field(default=None, exclude=True)
6666

67+
# TODO: add optional generator and use -g as override (or if generator not set in yaml)
68+
6769
# used for versioning the agents
6870
version: str = "1.0.0"
6971
# the system prompt, the agent identity

nerve/runtime/state.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def on_event(name: str, data: t.Any | None = None) -> None:
8080
_events.append(event)
8181

8282
for listener in _listeners:
83+
# TODO: IMPORTANT: make this asynchronous (thread pool?)
8384
listener(event)
8485

8586
if _trace_file:

0 commit comments

Comments
 (0)