Replies: 8 comments
|
@xxchan would the team be interested in this? There are a few ways it could be approached -- for example, changing behavior of existing |
|
Hi @stebbins
I just don't get why don't you use https://github.com/MoonshotAI/kimi-agent-sdk for orchestration? |
|
@xxchan one difference is that the SDK approach involves owning the Kimi Code CLI process, whereas this approach allows initiating a session without the "orchestration" process being tied to the lifespan of the Kimi Code CLI process. I explored this because it's the mechanism gastown uses to "orchestrate" sessions. I can work around it for gastown integration -- basically, you can use Either way, it makes sense to use SDK or ACP when the Kimi Code CLI process should be tied to the lifespan of the orchestrating process -- but here, the intention is to launch an untethered process. That said, I think one could get similar behavior by using SDK/ACP to create a session in some workdir, ending that process, then booting from shell with |
I'm curious in gastown orchestration, what happens when the agent finish the initial prompt? Do you use |
|
The direct answer to your question is, "you can use send-keys but it depends; there are multiple options" One of the interesting things about Gastown is that it's opinionated enough to provide orchestration structure -- but since it designs everything as "tmux sessions" -- it also gives interesting "hack" capabilities to the user which I've found to be very useful in practice, to keep agents on the rails. This is part of the power behind design choice to center around processes in tmux:
In practice, I'll frequently use both. Initial sessions are orchestrated with some agent calling I'm not sure if I'm articulating this very well. I've also been considering writing up my experience, workflow examples, and design thoughts after using Gastown a lot. I can send a link if you're interested after I finish writing, hopefully within a few days |
|
I ask this because if gastown already use
Would be interested! |
|
This flag would be useful for me to provide a starting prompt from a vim script and continue interactively on side window.
|
Uh oh!
There was an error while loading. Please reload this page.
What feature would you like to see?
--starting-prompt/-s-p/-cflags!-s, Kimi Code CLI does not exit the session after processing the promptAdditional information
No response
All reactions